Skip to content

Commit

Permalink
docs: Add instructions for copying to a repository with different chu…
Browse files Browse the repository at this point in the history
…nker parameters

Fixes #79

Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
  • Loading branch information
simonsan committed Oct 11, 2024
1 parent 45da678 commit 1c42193
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/commands/misc/copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ by later copy runs.
the entire snapshot(s) due to the different encryption keys used in the source
and destination repository. This *may incur higher bandwidth usage and costs*
than expected during normal backup runs.

## Copying to a repository with different chunker parameters

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**: rustic currently refuses to copy to a repository with different
chunker parameters. If you want to copy to a repository with different chunker
parameters, you have to set the chunker parameters of the target repository to
the same values as the source repository.

0 comments on commit 1c42193

Please sign in to comment.