Skip to content

Q: about bad chunks #7912

Answered by ThomasWaldmann
boelle asked this question in Q&A
Nov 5, 2023 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

borg check (repository part) might find defect chunks based on a crc32 mismatch - in such a case it will tell you the chunkid and the segment/offset where it happened.

borg check (archives part) will read all archives and check whether all referred chunks exist - if you add --verify-data it will also do a cryptographic verification of the chunk contents (which is much slower, but more thorough).

borg check --repair will delete defect chunks and change all references to them to refer to all-zero replacement chunks of same size. it will still remember the chunkid of the correct/missing chunk inside the archive metadata.

if you then do another backup and that backup creates the missing chunk…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@boelle
Comment options

@ThomasWaldmann
Comment options

@boelle
Comment options

@ThomasWaldmann
Comment options

Answer selected by boelle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants