mirror of
https://github.com/restic/restic.git
synced 2025-10-27 12:58:34 +00:00
backup: store but warn if extended metadata for item is incomplete
Files were not included in the backup if the extended metadata for the file could not be read. This is rather drastic. Instead settle on returning a warning but still including the file in the backup.
This commit is contained in:
15
changelog/unreleased/pull-4977
Normal file
15
changelog/unreleased/pull-4977
Normal file
@@ -0,0 +1,15 @@
|
||||
Change: let `backup` store files with incomplete metadata
|
||||
|
||||
If restic failed to read the extended metadata for a file or folder while
|
||||
creating a backup, then the file or folder was not included in the resulting
|
||||
snapshot. Instead, only a warning message was printed along with exiting
|
||||
with exit code 3.
|
||||
|
||||
Now, restic also includes items for which the extended metadata could not
|
||||
be read in a snapshot. The warning message has been changed to read
|
||||
```
|
||||
incomplete metadata for /path/to/file: details on error
|
||||
```
|
||||
|
||||
https://github.com/restic/restic/issues/4953
|
||||
https://github.com/restic/restic/pull/4977
|
||||
Reference in New Issue
Block a user