backups: fix handling incomplete restore

We do not cancel the whole restore at first error.
This commit is contained in:
Marek Marczykowski-Górecki 2014-09-28 02:52:46 +02:00
parent b6e60f9aa4
commit 77da00e3ca

View File

@ -1454,7 +1454,6 @@ def restore_vm_dirs (backup_source, restore_tmpdir, passphrase, vms_dirs, vms,
except:
to_extract.put("ERROR")
extract_proc.join()
running_backup_operation = None
raise
else:
to_extract.put("FINISHED")