- Jan 31, 2022
of course there is
you can use the CLI tool
qmrestore. so if you've made a backup and the archive is called
vzdump-qemu-666-2022_02_02-12_25_00.vma.zstthen you can restore it to a new VMID:
qmrestore vzdump-qemu-666-2022_02_02-12_25_00.vma.zst 999
and it should make a new VM with the ID 999.
you can also do it over the GUI too.
instead of clicking the VM and restoring the backup there, you can click on the storage where you made the backup and restore it to an arbitrary VMID
hope this helps!
Edit: ok I just tried this to test it and works all Backups are still in my backup drive.
Just needed to change my backup scheduler for the new VM ID and all works great thanks
If you do this via backup as mentioned. What happens to all the other VM backups?
are they still going to be associated with the new VM ID you changed it too ?
Obviously scheduler must be changed to new VM ID. But old backups are still accessible after you delete old VM ?