[Borgbackup] Repo sync efficiency

Thomas Waldmann tw at waldmann-edv.de
Mon Oct 30 20:03:03 EDT 2017


> Can I clarify something?
> 
> append-only more repo would still delete unused segment files once the
> last archive that references then is pruned, would it not?

A append-only mode repo looks like doing everything normally from the
outside, so you can create and delete repos as usual.

borg always appends new stuff (PUT, DELETE, COMMIT tags) at the end.

The difference is that in append-only mode, there is no compact_segments
that removes deleted / superceded PUT entries and rewrites non-compact
segments into compact ones.

So, the previous repo state is always conserved also when you only look
at the first N segment files.


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



More information about the Borgbackup mailing list