How to restore multiple VMs at once?

sirlaser

New Member
Jun 21, 2012
4
0
1
Is there a way to restore multiple KVM VMs from backup at once, possible though a script?

My current understanding (from this page: https://pve.proxmox.com/wiki/Backup_and_Restore) for restores is you must create a placeholder (empty) VM with the same VMID as the backup, then restore to that with the backup. Do this for each VM you wish to restore.

Any help is appreciated. Thank you.
 
Hi,
take a look at
Code:
man qmrestore

The restore method described in the Wiki is meant for the GUI, you should be able to create a script with this command.
Simply loop all backup files and use a unique new VMID on every loop iteration.
 
I think it's not to hard to implement a simple "hold shift to select multiple items".
It looks like the developers don't have any interest in implementing multiple selection anyway.
 
Last edited: