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

This commit is contained in:
Eyüp Can Akman
2026-06-21 17:16:16 +02:00
committed by GitHub
parent d9dd1b7534
commit 8d7679c831
3 changed files with 40 additions and 4 deletions
+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