Restore KVM and OpenVZ backups from PVE 2.1to PVE 5

ppo

Renowned Member
Aug 6, 2012
49
0
71
Hi, I have pve-manager: 2.1-1 (pve-manager/2.1/f9b0f63a) with KVM and OpenVZ based VMs.
Code:
root@proxmox:~# uptime
 10:46:12 up 670 days, 13:05,  1 user,  load average: 0.39, 0.23, 0.17
I'd like to upgrade this server to the newest PVE 5.
Is it possible to restore backups that were created on PVE 2.1 onto PVE 5?
Backups look like:
Code:
vzdump-openvz-122-2015_03_21-02_39_38.tar.gz
vzdump-qemu-107-2015_07_09-03_25_37.tar.gz
 
OpenVZ is no longer supported. We switched to LXC with 4.0. There exists an import tool, that allows to restore OpenVZ backups to LXC. You will probably have to adjust the config manually.
As for the VMs, the restore might just work. Back then the defaults were different and some settings could not be adjusted. So it entirely depends on the guest settings and operating system, whether the guest starts after the restore.
So in theory it should be possible. In practice you may have to intervene.