Skip to content

Understanding borg-diff output #7870

Answered by ThomasWaldmann
mbwgh asked this question in Q&A
Discussion options

You must be logged in to vote

For simplicity, imagine using a fixed chunk size of 1MB and a file consisting of 2 chunks, 1MB each.
First chunk is all 0x11, second chunk is all 0x22.

You back up that file into archive A.

Then you change that file: you would modify the second MB of the file to be 1MB of 0x33.

You back up that file into archive B.

borg diff A B would tell you that there is -1MB (because second chunk, 1MB of 0x22 removed) and +1MB (because there is a new different second chunk of 1MB 0x33).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mbwgh
Comment options

@ThomasWaldmann
Comment options

Answer selected by mbwgh
@mbwgh
Comment options

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