From d114e483c4449f81bebbc4583c4b0cb71185a739 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sun, 25 Sep 2022 11:42:53 +0200 Subject: [PATCH] Add changelog for corrupt data downloads --- changelog/unreleased/issue-2533 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 changelog/unreleased/issue-2533 diff --git a/changelog/unreleased/issue-2533 b/changelog/unreleased/issue-2533 new file mode 100644 index 000000000..710241bcc --- /dev/null +++ b/changelog/unreleased/issue-2533 @@ -0,0 +1,13 @@ +Enhancement: Redownload cached data if invalid + +In rare situations, like for example after a system crash, the data stored +in the cache might be corrupted. This could cause restic to fail and +required manually deleting the cache. + +Restic now automatically removes broken data from the cache, allowing it +to recover from such a situation without user intervention. In addition, +restic retries downloads which return corrupt data in order to handle +temporary download problems. + +https://github.com/restic/restic/issues/2533 +https://github.com/restic/restic/pull/3521