tweak snapshot:subfolder docs

This commit is contained in:
Michael Eischer
2023-07-16 21:43:56 +02:00
parent 8154f6a77a
commit 55b440b520
3 changed files with 7 additions and 7 deletions

View File

@@ -6,10 +6,10 @@ did not allow comparing only a specific subfolder or only restoring that folder
directories included in `subfolder`).
The commands `diff`, `dump`, `ls`, `restore` now support the
`<snapshot>:<subfolder>` syntax, where `snapshot` is the ID of a snapshot or
`latest` and `subfolder` is a path within the snapshot. The commands will then
only work with the specified path of the snapshot. The `subfolder` must be a
path to a folder as returned by `ls`.
`<snapshot>:<subfolder>` syntax, where `snapshot` is the ID of a snapshot (or
the string `latest`) and `subfolder` is a path within the snapshot. The
commands will then only work with the specified path of the snapshot. The
`subfolder` must be a path to a folder as returned by `ls`.
`restic restore -t target latest:/some/path`
`restic diff 12345678:/some/path 90abcef:/some/path`