Reset disks list
So it dumps the correct disks when you backup several VM in one run Patch by Diego Rondini <diego.rondini@kynetics.it>
This commit is contained in:
parent
c596ec15db
commit
9eb10f07d0
|
@ -287,6 +287,9 @@ sub prepare_backup{
|
|||
# Stop here if the lock file is present, another dump might be running
|
||||
die "Another backup is running\n" if ( -e "$lockdir/$vm.lock" );
|
||||
|
||||
# Reset disks list
|
||||
@disks = ();
|
||||
|
||||
# Lock VM: Create a lock file so only one dump process can run
|
||||
lock_vm();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user