Skip to content

Impl. backup rotation scheme keeping at least 1 copy of all files #8068

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

You must be logged in to vote

borg2 is still in beta testing, so I assume this is not your only backup.

A1: if you use delete or prune, borg logically deletes chunks if their refcount reaches 0, so it is not just removing the references. this might change in future though, see the breaking tickets.

A2: presence checks are done for chunks, not for files. of course, small files might be just 1 chunk.

A3: compact physically removes the already deleted chunks (see A1) from the segment files. it takes an old segment file with such "holes" and writes all non-deleted chunks to a new, compact, smaller segment file.

If you keep some archive, you will have all files that you put into it at the time you created that archive. Log…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@ThomasWaldmann
Comment options

Answer selected by getreu
Comment options

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

@getreu
Comment options

@ThomasWaldmann
Comment options

@getreu
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