2024-10-22 17:47:44 +00:00
|
|
|
Bugfix: Exclude irregular files from backups
|
2024-10-16 18:46:58 +00:00
|
|
|
|
2024-10-22 18:00:39 +00:00
|
|
|
Since restic 0.17.1, files with the type `irregular` could mistakenly be included
|
2024-10-22 17:47:44 +00:00
|
|
|
in snapshots, especially when backing up special file types on Windows that
|
2024-10-22 18:00:39 +00:00
|
|
|
restic cannot process. This issue has now been fixed.
|
2024-10-16 18:46:58 +00:00
|
|
|
|
2024-10-22 17:47:44 +00:00
|
|
|
Previously, this bug caused the `check` command to report errors like the
|
|
|
|
following one:
|
2024-10-16 18:46:58 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
tree 12345678[...]: node "example.zip" with invalid type "irregular"
|
|
|
|
```
|
|
|
|
|
2024-10-22 17:47:44 +00:00
|
|
|
To repair affected snapshots, upgrade to restic 0.17.2 and run:
|
|
|
|
|
|
|
|
```
|
|
|
|
restic repair snapshots --forget
|
|
|
|
```
|
|
|
|
|
2024-10-22 18:00:39 +00:00
|
|
|
This will remove the `irregular` files from the snapshots (creating
|
|
|
|
a new snapshot ID for each of the affected snapshots).
|
2024-10-16 18:46:58 +00:00
|
|
|
|
|
|
|
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
|