backup: skip source paths that cannot be accessed (#21852)

This commit is contained in:
Eyüp Can Akman authored and GitHub committed 2026-06-21 17:16:16 +02:00
1 parent d9dd1b7534
commit 8d7679c831
3 files changed
+40 -4

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
Bugfix: Skip inaccessible `backup` source paths
The `backup` command only skipped source paths that did not exist. A path that
could not be accessed for another reason, such as a malformed path on Windows,
was kept and produced an empty snapshot. Restic now skips any such path and
aborts if none remain.
https://github.com/restic/restic/issues/5667
https://github.com/restic/restic/pull/21852