vzrestore command not available

mjuchli

New Member
Aug 15, 2015
3
0
1
Hi all,

I'm new to Proxmox and managed to install the VE successfully on Debian Jessie by using the guide: http://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Jessie
Now I'd like to restore a vzdump from an old OpenVZ environment. The thing is, that vzrestore is not available and when I try to install vzdump (by apt-get install vzdump, which would include vzrestore) it the pve-tools would have to be deleted?!

Besides, I uploaded the tar (uncompressed) from the old vzdump to /var/lib/vz/dump directory. From what I've read the WebUI should list the this in Storage section, but for me it does not. Any idea why not?

Thanks
Marc
 
First, do not install old version of vzdump. There is no OpenVZ on Proxmox VE 4.0, because we switched to LXC.

But you can try to import the old OpenVZ container with:

# pct restore <vmid> ...

This require newest version from git, so you may want to wait a few days until we upload latest code to pvetest.
 
Thank you for the quick and efficient reply.
First, do not install old version of vzdump. There is no OpenVZ on Proxmox VE 4.0, because we switched to LXC.

Well I missed this in the first place. Makes sense the command is not available.

But you can try to import the old OpenVZ container with:

# pct restore <vmid> ...

This require newest version from git, so you may want to wait a few days until we upload latest code to pvetest.

Great!, this worked for me out of the box. Do you think this will be fine or are there any amendments to be done since you mentioned "wat a few days"?...
 
Great!, this worked for me out of the box. Do you think this will be fine or are there any amendments to be done since you mentioned "wat a few days"?...

No need to wait if it already works. We will upload updates in a few days, where we change the config format for LXC. But we already include
a script to automatically convert the config to the new format...