-
Even though the copy command can transfer snapshots between arbitrary repositories, deduplication between snapshots from the source and destination repository may not work. Restic solves this with How to do this in rustic? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Instead of pre-initializing the repos you want to copy snapshots into, just use Note that rustic currently refuses to copy to a repository with different chunker parameters - IMO the right way to implement this action would be to re-chunk the data contained in the snapshot (which is not yet implemented). |
Beta Was this translation helpful? Give feedback.
-
This took me forever to figure out, though it makes total sense in hindsight. I think a prominent reference in the documentation would be helpful, as looking for "--copy-chunker-params" only pointed to the comparison page that says we don't need it anymore with rustic. I was missing the Thank you for rustic. It's a pleasure to use. |
Beta Was this translation helpful? Give feedback.
Instead of pre-initializing the repos you want to copy snapshots into, just use
rustic copy --init
for the first run - this will set the correct chunker parameters.Note that rustic currently refuses to copy to a repository with different chunker parameters - IMO the right way to implement this action would be to re-chunk the data contained in the snapshot (which is not yet implemented).