Queuing Restore

masteryoda

Active Member
Jun 28, 2020
52
4
28
55
I had a server crash on me and I am trying to restore 10+ VMs & CTs on a new server. I got everything up and running and I'm able to do a restore. But I'm unable to do a restore of multiple VMs as it errors out with

Code:
trying to acquire lock...
error before or during data restore, some or all disks were not completely restored. VM 103 state is NOT cleaned up.
TASK ERROR: can't lock file '/var/lock/pve-manager/pve-storage-local-zfs' - got timeout

I am restoring all the VMs on a same storage.

Is there a way to queue these restores in such a way that the start after the previous one stops OR is there a way to do this?


NM: Figured it out. just create a command line restore script with qmrestore
 
Last edited: