From e09f6f540fd7c9c0d0a9e9487e5800113ffafc63 Mon Sep 17 00:00:00 2001 From: Refutable4890 <107740882+Refutable4890@users.noreply.github.com> Date: Tue, 8 Aug 2023 12:51:40 +0800 Subject: [PATCH 1/2] Add a description of the resumption of `copy` --- doc/045_working_with_repos.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/045_working_with_repos.rst b/doc/045_working_with_repos.rst index 82a20bac4..4f0e62074 100644 --- a/doc/045_working_with_repos.rst +++ b/doc/045_working_with_repos.rst @@ -136,6 +136,11 @@ or the environment variable ``$RESTIC_FROM_KEY_HINT``. repository. You can avoid this limitation by using the rclone backend along with remotes which are configured in rclone. +.. note:: You may lose up to 10 minutes of progress if the ``copy`` command is + aborted, because the repository index is only updated from time to time. + If you don't want to lose 10 minutes, you can run ``rebuild-index`` after your + ``copy`` command has aborted. + .. _copy-filtering-snapshots: Filtering snapshots to copy From aa86c76aab566b9bdc7f82f91bf1e176f3fa4e08 Mon Sep 17 00:00:00 2001 From: Refutable4890 <107740882+Refutable4890@users.noreply.github.com> Date: Sun, 8 Oct 2023 12:07:40 +0800 Subject: [PATCH 2/2] Add a description of the resumption of `copy` --- doc/045_working_with_repos.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/045_working_with_repos.rst b/doc/045_working_with_repos.rst index 4f0e62074..55f17bfc9 100644 --- a/doc/045_working_with_repos.rst +++ b/doc/045_working_with_repos.rst @@ -136,10 +136,7 @@ or the environment variable ``$RESTIC_FROM_KEY_HINT``. repository. You can avoid this limitation by using the rclone backend along with remotes which are configured in rclone. -.. note:: You may lose up to 10 minutes of progress if the ``copy`` command is - aborted, because the repository index is only updated from time to time. - If you don't want to lose 10 minutes, you can run ``rebuild-index`` after your - ``copy`` command has aborted. +.. note:: If `copy` is aborted, `copy` will resume the interrupted copying when it is run again. It's possible that up to 10 minutes of progress can be lost because the repository index is only updated from time to time. .. _copy-filtering-snapshots: