2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-12 22:27:51 +00:00
restic/changelog/0.14.0_2022-08-25/pull-3742

20 lines
828 B
Plaintext
Raw Normal View History

2022-08-23 23:21:01 +00:00
Change: Replace `--repo2` option used by `init`/`copy` with `--from-repo`
2022-08-23 23:21:01 +00:00
The `init` and `copy` commands can read data from another repository.
However, confusingly `--repo2` referred to the repository *from* which the
`init` command copies parameters, but for the `copy` command `--repo2`
2022-08-23 23:21:01 +00:00
referred to the copy *destination*.
2022-08-23 23:21:01 +00:00
We've introduced a new option, `--from-repo`, which always refers to the
source repository for both commands. The old parameter names have been
deprecated but still work. To create a new repository and copy all snapshots
to it, the commands are now as follows:
```
restic -r /srv/restic-repo-copy init --from-repo /srv/restic-repo --copy-chunker-params
restic -r /srv/restic-repo-copy copy --from-repo /srv/restic-repo
```
https://github.com/restic/restic/pull/3742
2022-08-23 23:21:01 +00:00
https://forum.restic.net/t/5017