diff --git a/virt-backup b/virt-backup index 219564a..100ae3e 100644 --- a/virt-backup +++ b/virt-backup @@ -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();