From 4589da7eb9bc9037c9dc3b85ee0ced0569aeb2bf Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sun, 4 Feb 2024 15:48:11 +0100 Subject: [PATCH] add data verification changelog entry --- changelog/unreleased/issue-4529 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 changelog/unreleased/issue-4529 diff --git a/changelog/unreleased/issue-4529 b/changelog/unreleased/issue-4529 new file mode 100644 index 000000000..2e8bbbed7 --- /dev/null +++ b/changelog/unreleased/issue-4529 @@ -0,0 +1,14 @@ +Enhancement: Verify data integrity before upload + +Hardware issues or a bug in restic could cause restic to create corrupted files +that were then uploaded to the repository. Detecting such corruption usually +required explicitly running the `check --read-data` command. + +To prevent the upload of corrupted data to the repository, restic now +additionally verifies that files can be decoded and contain the correct data +beforehand. This increases the CPU usage during backups. If absolutely +necessary, you can disable the verification using the option +`--no-verify-pack`. + +https://github.com/restic/restic/issues/4529 +https://github.com/restic/restic/pull/4681