diff --git a/qubes/backup.py b/qubes/backup.py index 1acd0b75..ba927386 100644 --- a/qubes/backup.py +++ b/qubes/backup.py @@ -642,6 +642,11 @@ class Backup(object): pass raise + yield from tar_sparse.wait() + if tar_sparse.returncode: + raise qubes.exc.QubesException( + 'Failed to archive {} file'.format(file_info.path)) + # This VM done, update progress self._done_vms_bytes += vm_info.size