-
-
Notifications
You must be signed in to change notification settings - Fork 837
Open
Labels
Milestone
Description
On IRC, a anon borg user had an interesting idea:
There could be a combination of backup and integrity check: if the backup run detects a duplicate chunk, it would read the chunk from the repo and check its integrity. If integrity check fails, it would delete the chunk from the repo and store the current data (of same id_hash) into the repo, healing the defect.
Issues with that:
- of course that this is super-slow compared to how borg normally operates as it would read the whole backup volume from the repo (it usually only transfers new data to the repo)
- a simple implementation might check the same chunk multiple times if it appears in input data multiple times.
- when using the files cache, data of unchanged files is usually NOT read from disk, but could be in case of an integrity error in the repo
Reactions are currently unavailable