Skip to content

Large-scale repack after switching from restic? #647

Answered by aawsome
lephyrus asked this question in Q&A
Discussion options

You must be logged in to vote

There is actually a somewhat hidden feature in rustic that the packsize can be configured for the repository and depends on a fixed size plus a growfactor which increases the packsize depending on the actual repository size.
You can tweak this for the repository using the rustic config command.

Another effect is that prune can be configured to repack packs which are too small or too large. The thresholds can also be configured using rustic config. Defaults are to repack too small packs but to keep too large packs.

TL;DR: I think in your case rustic prune computes a larger targeted pack size as restic used to use and the prune command wants to repack the too-small packs.

About --max-repack:…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@lephyrus
Comment options

@aawsome
Comment options

Answer selected by lephyrus
Comment options

You must be logged in to vote
0 replies
Comment options

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

@rmsc
Comment options

@aawsome
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
3 participants