align docs

This commit is contained in:
Michael Eischer
2025-11-23 17:51:07 +01:00
parent cf409b7c66
commit 7d08c9282a
2 changed files with 5 additions and 15 deletions
-8
View File
@@ -216,14 +216,6 @@ example from a local to a remote repository, you can use the ``copy`` command:
snapshot 4e5d5487 of [/home/user/work] at 2020-05-01 22:44:07.012113 +0200 CEST by user@kasimir
skipping snapshot 4e5d5487, was already copied to snapshot 50eb62b7
In case you want to copy a repository which contains many backups with little changes
between ``restic backup`` runs, you can use the option ``--batch`` to make full use of
the ``--pack-size`` option. Newly created packfiles are saved when the ``copy``
operation for one snapshot finishes. The option ``--batch`` disregards these snapshot boundaries
and creates optimally filled packfiles. You can always always achieve the same effect
by running ``restic prune`` after a ``restic copy`` operation, but this involves the extra
``prune`` step.
The example command copies all snapshots from the source repository
``/srv/restic-repo`` to the destination repository ``/srv/restic-repo-copy``.
Snapshots which have previously been copied between repositories will