-
-
Notifications
You must be signed in to change notification settings - Fork 733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to trigger compaction with borg 1.1.x #5665
Comments
https://borgbackup.readthedocs.io/en/1.2.0b3/usage/notes.html#separate-compaction claims that P.S. Relevant 1.2.0 documentation for the benefit of readers other then me and ThomasWaldmann: https://borgbackup.readthedocs.io/en/1.2.0b3/usage/compact.html |
Hmm, iirc there was some user asking this, but i don't remember WHY. |
I am wondering what to do with this. Create a new FAQ how to trigger compaction for the 1.1.x docs? Or we could backport the "separate compaction" article to 1.1.x, stating that this is a feature of 1.2 and compaction can be triggered in 1.1.x by doing this trick. |
I don't think we need to extend the docs. The usual way is to just write to the repo with borg 1.1.x and it will implicitly compact at the end of this (as it ever did, nothing new here, even if the borg server is running borg 1.2.x already). |
(the docs label here is rather meant as "this issue documents something") |
one can do the following locally on the repo server:
that will lead to
compact_segments()
being invoked IF one uses borg 1.1.x (due to an implementation detail).instead of "true" one could also invoke any other command.
using
with-lock
has these advantages:The text was updated successfully, but these errors were encountered: