From 1c421934855014ee262469ca19ea976828ee42a1 Mon Sep 17 00:00:00 2001 From: simonsan <14062932+simonsan@users.noreply.github.com> Date: Fri, 11 Oct 2024 05:13:25 +0200 Subject: [PATCH] docs: Add instructions for copying to a repository with different chunker parameters Fixes #79 Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com> --- src/commands/misc/copy.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/commands/misc/copy.md b/src/commands/misc/copy.md index c197bf6..1e5e873 100644 --- a/src/commands/misc/copy.md +++ b/src/commands/misc/copy.md @@ -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.