Skip to content

How to repack complete repository with defined pack size #1169

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

You must be logged in to vote

Hi and welcome @elgatobavaria!

Thanks for your question! Can you tell me why you thing that the repository size would be (significantly) reduced by changing the pack size? IMO it should only differ marginally.

Besides this, changing the pack size of an existing repo can be done by:

  • changing the repository target packsize using rustic config using the --set-datapack-size* options and --set-*-packsize-tolerate-percent options (read rustic config -h for information about the options)
  • the next prune run will automatically repack non-fitting packs. You may want to use --instant-delete if you can ensure that you repo is not accessed in parallel.

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by elgatobavaria
Comment options

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

@aawsome
Comment options

@elgatobavaria
Comment options

Comment options

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

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