[Borgbackup] Further development idea/proposal: Heal the damaged repository by replacing damaged blocks from other repositories created from same sources

Thomas Waldmann tw at waldmann-edv.de
Wed Apr 3 08:11:15 EDT 2019


> So borg clears damaged blocks to zero but keeps the original hash
> calculated from the original content.
> 
> Could it be possible to "heal" the damaged repository by replacing these
> damaged blocks from other repositories created from same sources?

That's not possible because the chunker seed and id-hash/mac secret will
be different for another repo. So chunks are cut differently and even if
they would be cut in the same way (small files), the id is computed
differently, so does not match.

What you could do though is to extract stuff from a good repo and back
it up into the repo that needs healing.

-- 

GPG ID: 9F88FB52FAF7B393
GPG FP: 6D5B EF9A DD20 7580 5747 B70F 9F88 FB52 FAF7 B393


More information about the Borgbackup mailing list