backups: fix handling incomplete restore
We do not cancel the whole restore at first error.
This commit is contained in:
parent
b6e60f9aa4
commit
77da00e3ca
@ -1454,7 +1454,6 @@ def restore_vm_dirs (backup_source, restore_tmpdir, passphrase, vms_dirs, vms,
|
|||||||
except:
|
except:
|
||||||
to_extract.put("ERROR")
|
to_extract.put("ERROR")
|
||||||
extract_proc.join()
|
extract_proc.join()
|
||||||
running_backup_operation = None
|
|
||||||
raise
|
raise
|
||||||
else:
|
else:
|
||||||
to_extract.put("FINISHED")
|
to_extract.put("FINISHED")
|
||||||
|
Loading…
Reference in New Issue
Block a user