Return helpful error if subfolder syntax fails on Windows (#21813)

This commit is contained in:
Michael Eischer
2026-05-20 22:55:01 +02:00
committed by GitHub
parent dd4f1f06a1
commit f000da3b35
9 changed files with 33 additions and 11 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ Metadata comparison will likely not work if a backup was created using the
To only compare files in specific subfolders, you can use the
"snapshotID:subfolder" syntax, where "subfolder" is a path within the
snapshot.
snapshot tree as shown by "restic ls".
EXIT STATUS
===========
+1 -1
View File
@@ -35,7 +35,7 @@ repository.
To include the folder content at the root of the archive, you can use the
"snapshotID:subfolder" syntax, where "subfolder" is a path within the
snapshot.
snapshot tree as shown by "restic ls".
EXIT STATUS
===========
+2 -1
View File
@@ -34,7 +34,8 @@ The special snapshotID "latest" can be used to restore the latest snapshot in th
repository.
To only restore a specific subfolder, you can use the "snapshotID:subfolder"
syntax, where "subfolder" is a path within the snapshot.
syntax, where "subfolder" is a path within the snapshot tree as shown by
"restic ls".
POSIX ACLs are always restored by their numeric value, while file ownership can optionally be restored by name instead of numeric value.