ERROR: restore openvz backup

mateofix

Member
Jan 14, 2017
8
0
6
26
Hello,

i backup a VM with Proxmox on my server Dedibox de Online.net, but when i restore the VM on my new server Kimsufi (OVH), i this error, an solution :

Error
ERROR: restore openvz backup 'vzdump-lxc-100-2017_01_14-21_27_57.tar.gz' failed - command 'sed -e 's/VE_ROOT=.*/VE_ROOT=\"\/var\/lib\/vz\/root\/$VEID\"/' -e 's/VE_PRIVATE=.*/VE_PRIVATE=\"\/var\/lib\/vz\/private\/$VEID\"/' <'/var/lib/vz/private/100/etc/vzdump/vps.conf' >'/etc/vz/conf/100.conf'' failed with exit code 1

Commandes
Dedibox Online.net :

vzdump 100 --dumpdir /var/lib/vz/dump/ --maxfiles 2 --mode suspend --compress gzip --exclude-path /home/static/content

Kimsufi OVH :

vzrestore mybackup.tar.gz 100
 
Seems you try to restore a new lxc container to an old openvz box! This will not work (use Proxmox VE 4.X instead).
 

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!