Doubt on copying snapshot among repositories

Hi, I have a question about replicating snapshots to remote repository.

Currently I am creating backups on a USB disk that has been initialized as a restic repository. I am splitting my backup in 5 snapshots, divided by “topic”: database dumps, files, configurations, etc.

Now, I would like to copy these snapshots to a remote repository, which was already initialized some time ago.

I read that, to optimize the transfer, it is necessary to use the --copy-chunker-params option. My question is: should this option be applied to the source repository (in my case, the USB disk), to the remote one, or to both?
Thank you!

You should use that when initializing the target repository.

1 Like