Backup proxmox configuration and restore

lince

Member
Apr 10, 2015
78
3
8
Hi there,

I have a proxmox server installed in a hard drive. I want to make a backup of my server's configuration, then install proxmox in a different device and then load this configuration into the new proxmox installation. As a result, the current proxmox would be replaced by the new one.

Is this possible ?

Thanks.
 
Hi there,

I have a proxmox server installed in a hard drive. I want to make a backup of my server's configuration, then install proxmox in a different device and then load this configuration into the new proxmox installation. As a result, the current proxmox would be replaced by the new one.

Is this possible ?

Thanks.

Look at the bottom of the wiki page http://pve.proxmox.com/wiki/Upgrade_from_3.x_to_4.0
Basically, backup /etc/pve
backup all vms
On New machine, copy the /etc/pve.storeage.cfg (I've never done this part, I just redo it)
restore the vms. Easy on kvm guest to qmrestore name-of-backup-file 120 (or whatever id number you want)

Also handy to have the /etc/hosts /etc/network/interfaces /etc/resolv.conf files..
 
Thank you for your replies.

By reading them, I understand that exporting and importing the configuration is not possible. In this case, let me ask you something else.

If I have a hard drive with a few VMs (pve-data partition) and I attach this hard drive to a newly installed proxmox, will I be able to import all this VMs without having to backup and restore each of them ?

I have both types, kvm and openvz and I'll keep using proxmox 3.4 for now.

Also, will they keep the same id numbers ?

Thanks.
 
I guess by /pve you meant /etc/pve.

I'm gonna give it a go and see how it works :)

I turned off all the openvz container because they create a "virtual" file system in /var/lib/vz/root/ID/ that I believe is not necessary.

I guess I could have ignored the root folder but I had to switch them off anyway to reboot the node.