mirror of
https://github.com/restic/restic.git
synced 2025-08-27 09:50:24 +00:00
tweak snapshot:subfolder docs
This commit is contained in:
@@ -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`
|
||||
|
Reference in New Issue
Block a user