From 55c150054dad987f9d61c22182a276a9b48abdbb Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Wed, 16 Oct 2024 20:46:58 +0200 Subject: [PATCH] add irregular files bug changelog --- changelog/unreleased/pull-5057 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 changelog/unreleased/pull-5057 diff --git a/changelog/unreleased/pull-5057 b/changelog/unreleased/pull-5057 new file mode 100644 index 000000000..c34436044 --- /dev/null +++ b/changelog/unreleased/pull-5057 @@ -0,0 +1,21 @@ +Bugfix: Do not include irregular files in backup + +Since restic 0.17.1, files with type `irregular` could incorrectly be included +in snapshots. This is most likely to occur when backing up special file types +on Windows that cannot be handled by restic. + +This has been fixed. + +When running the `check` command this bug resulted in an error like the +following: + +``` + tree 12345678[...]: node "example.zip" with invalid type "irregular" +``` + +Repairing the affected snapshots requires upgrading to restic 0.17.2 and then +manually running `restic repair snapshots --forget`. This will remove the +`irregular` files from the snapshots. + +https://github.com/restic/restic/pull/5057 +https://forum.restic.net/t/errors-found-by-check-1-invalid-type-irregular-2-ciphertext-verification-failed/8447/2