We're using backup / restore scripts to move our VMs to a hot spare Proxmox box each day in case our main cluster goes down - in that case, we would simply start the restored VMs on the backup server and carry on.
Here's a typical restore script we use:
We know have a requirement to backup a VM with two attached disks, where we need to restore each one to two different storage targets. Is this possible with qmrestore?
Here's a typical restore script we use:
Code:
/sbin/lvremove -f /dev/pve/vm-151-disk-1 # Remove the existing disk
/usr/sbin/qmrestore /mnt/sdc-6tb/backups/vzdump-qemu-141-*.vma.lzo 141 -force 1 -storage local-lvm # Replace with new image
/usr/sbin/qm set 141 -onboot 0 # make sure it doesn't autoboot on server startup
We know have a requirement to backup a VM with two attached disks, where we need to restore each one to two different storage targets. Is this possible with qmrestore?