Move VM from 1.9 to 2.1

sunghost

Active Member
May 27, 2011
168
1
38
Hello,
i have an proxmox 1.9 with 2vm one kvm and one openvz machine. i also have a new machine with proxmox 2.1 and now i must migrate the vms from 1.9 to 2.1 but how?
 
Last edited:
Thanks for that. I now make a vzdump und a vzrestore which was create in /etc/pve/nodes with the hostname of the 1.9 proxmox machine which is not the same name as the vm. i also think, sorry i am a beginner, that the directory is not the real one, or? what have i to do to rename the vm and what must i do and where to move the vm to the original directory?
 
Last edited:
sorry, do not understand your question.
 
Sorry, i make a dump with vzdum and restore the dump on the new machine, but the vm was created in /etc/pve/nodes, where no other machine exists. have i move the vm to the correct directory or is this correct? another thing is the name of the directory. it is the name of the old proxmox host. can i simply rename the directory?
 
Hi sunghost...

I've the same problem, but I can't make a vzrestore sucesfully... The error i'ts "tar : write error"

Coul'd you help me please?

Thanks
 
Hello Quix,
iam not an expert at proxmox. i have same problems too ;). Least it works on my system, but some things, like the directory above are still unclear. i created one more openvz container and two for kvm, but no one is in /etc/pve/nodes. however. i will try to help. Which OS do you use? What have you done until now? From which version and which virtualisation kvm or openvz do you cam and want go to?
 
hi sunghost, first of all, thanks you very much for you help..

Let's we see....

I have a KVM whit Win2003 server enterprise edition running on a Proxmox 1.9, and i must migrate it to a Proxmox 2.1 in other hardware...

So... I make a vzdump of the KVM in Proxmox 1.9 and then i copied the backup to the Proxmox 2.1 (Other hardware) on directory /var/lib/vz. Then, I try to restore the backup (TGZ )whit qmrestore vzdump... But don't work it... :(

What i doing wrong???'

PD: Sorry for my inglish.. :S
 
hi sunghost, first of all, thanks you very much for you help..

Let's we see....

I have a KVM whit Win2003 server enterprise edition running on a Proxmox 1.9, and i must migrate it to a Proxmox 2.1 in other hardware...

So... I make a vzdump of the KVM in Proxmox 1.9 and then i copied the backup to the Proxmox 2.1 (Other hardware) on directory /var/lib/vz. Then, I try to restore the backup (TGZ )whit qmrestore vzdump... But don't work it... :(

What i doing wrong???'

PD: Sorry for my inglish.. :S

I use the command line : "vzdump --snapshot --compress --storage USB-Backup 102", where the storage is an mounted usb-disk and 102 the vm. on the new machine i enter "vzrestore vzdump-openvz-102-2012_05_14-22_37_34.tgz 102", and all will done automaticly. Do you speak german?
 
Ok, but... on the new machine, you mount the USB-Disk? You copy the backup to some folder??? In that case what folder?

I'm sorry, i not speak german, i would like it but... :S

Spanish?
 
Ok, but... on the new machine, you mount the USB-Disk? You copy the backup to some folder??? In that case what folder?

I'm sorry, i not speak german, i would like it but... :S

Spanish?

Ok, no problem, but my english is also not good ;) and i would like to speak spanish ;) <ole>. Yes i mounted the usb-disk and didnt copy anything. i restore directly from the usb-disk. the restore routine know what to copy where to and after a few seconds or one minute or so, the vm will shown in the proxmox gui. thats the way i did and without any problems and simply fast. But the way dragoon descripte could work too.
 
I agree with Quix. Just run the backup on the 1.9 host. SCP the backup over to the 2.1 server's backup directory and make sure you change the .gz file extension to .tar.gz. Then, simply restore the VM on the new machine. It's definitely the easiest and quickest way.
 
I agree with Quix. Just run the backup on the 1.9 host. SCP the backup over to the 2.1 server's backup directory and make sure you change the .gz file extension to .tar.gz. Then, simply restore the VM on the new machine. It's definitely the easiest and quickest way.

I think my way is simple too ;) instead of backup up on usb-disk, you can copy it t by scp, same way and you dont have to rename it, but if your way works its ok. you use the gui and not the command line. i think the gui do the same commands and therefor both ways are identicaly. i just descripted my working way. Any news from quix?
 
Solved ..

I do not know exactly what was the problem. It seems that the problem was the installation of Proxmox 2.1. Reinstall and repeat the operation qmrestore and it worked.

Thanks for the help ...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!