mirror of
https://github.com/restic/restic.git
synced 2025-12-16 00:42:46 +00:00
backup: Only return a warning for duplicate directory entries
The backup command failed if a directory contains duplicate entries. Downgrade the severity of this problem from fatal error to a warning. This allows users to still create a backup.
This commit is contained in:
12
changelog/unreleased/issue-1866
Normal file
12
changelog/unreleased/issue-1866
Normal file
@@ -0,0 +1,12 @@
|
||||
Enhancement: Improve handling of directories with duplicate entries
|
||||
|
||||
If for some reason a directory contains a duplicate entry, this caused the
|
||||
backup command to fail with a `node "path/to/file" already present` or `nodes
|
||||
are not ordered got "path/to/file", last "path/to/file"` error.
|
||||
|
||||
The error handling has been changed to only report a warning in this case. Make
|
||||
sure to check that the filesystem in question is not damaged!
|
||||
|
||||
https://github.com/restic/restic/issues/1866
|
||||
https://github.com/restic/restic/issues/3937
|
||||
https://github.com/restic/restic/pull/3880
|
||||
Reference in New Issue
Block a user