Merge pull request #2928 from MichaelEischer/init-copy-chunker

init: Add `--copy-chunker-parameters` option
This commit is contained in:
Alexander Neumann
2020-09-19 17:32:13 +02:00
committed by GitHub
7 changed files with 172 additions and 44 deletions

View File

@@ -9,5 +9,12 @@ and destination repository. Also, the transferred files are not re-chunked,
which may break deduplication between files already stored in the
destination repo and files copied there using this command.
To fully support deduplication between repositories when the copy command is
used, the init command now supports the `--copy-chunker-params` option,
which initializes the new repository with identical parameters for splitting
files into chunks as an already existing repository. This allows copied
snapshots to be equally deduplicated in both repositories.
https://github.com/restic/restic/issues/323
https://github.com/restic/restic/pull/2606
https://github.com/restic/restic/pull/2928