backup: optimize restore and backup-compact

fix comments and typos, enable the `restore` progress bar
This commit is contained in:
Simon Vrouwe
2021-08-13 11:29:09 +03:00
committed by Christian Decker
parent 1f968b247c
commit 44cf6ecaea
2 changed files with 10 additions and 9 deletions

View File

@@ -153,6 +153,7 @@ class FileBackend(Backend):
if change.transaction is not None:
self._restore_transaction(change.transaction)
self.db.commit()
# If this assertion fails we are in a degenerate state: we
# have less than two changes in the backup (starting