Understanding borg-diff output #7870
-
I wanted to try out Invoking
What do these +/- numbers mean? Does this mean for example that the Is this output explained somewhere or should I call borg-diff with different arguments to get better answer my question? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The +/- refers to the overall size of the content chunks of the current file which were added or removed. |
Beta Was this translation helpful? Give feedback.
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).