diff --git a/changelog/unreleased/issue-3428 b/changelog/unreleased/issue-3428 new file mode 100644 index 000000000..6d2b055c8 --- /dev/null +++ b/changelog/unreleased/issue-3428 @@ -0,0 +1,14 @@ +Bugfix: List snapshots in backend at most once to resolve snapshot ids + +Many commands support specifying a list of snapshot ids which are then used to +determine the snapshot accessed by the command. To resolve snapshot ids or +"latest" and check that these exist, restic listed all snapshots stored in the +repository. Depending on the backend this can be a slow and/or expensive +operation. + +Restic now lists the snapshots only once and remembers the result to resolve +all further snapshot ids. + +https://github.com/restic/restic/issues/3428 +https://github.com/restic/restic/pull/3570 +https://github.com/restic/restic/pull/3395 diff --git a/changelog/unreleased/issue-3432 b/changelog/unreleased/issue-3432 new file mode 100644 index 000000000..b874e7da6 --- /dev/null +++ b/changelog/unreleased/issue-3432 @@ -0,0 +1,14 @@ +Bugfix: Fix rare 'not found in repository' error for copy command + +In rare cases copy (and other commands) could report that LoadTree(...) +returned a `id [...] not found in repository` error. This could be caused by a +backup or copy command running concurrently. The error is only temporary, +running the failed restic command a second time as a workaround solves the +error. + +This issue has been fixed by correcting the order in which restic reads data +from the repository. It is now guaranteed that restic only loads snapshots for +which all necessary data is already available. + +https://github.com/restic/restic/issues/3432 +https://github.com/restic/restic/pull/3570