mirror of
https://github.com/octoleo/restic.git
synced 2024-11-29 00:06:32 +00:00
diff/dump/restore: describe snapshot:subfolder syntax in help text
This commit is contained in:
parent
82e6e28781
commit
9a7704fa2b
@ -29,6 +29,10 @@ directory:
|
|||||||
* M The file's content was modified
|
* M The file's content was modified
|
||||||
* T The type was changed, e.g. a file was made a symlink
|
* T The type was changed, e.g. a file was made a symlink
|
||||||
|
|
||||||
|
To only compare files in specific subfolders, you can use the
|
||||||
|
"<snapshotID>:<subfolder>" syntax, where "subfolder" is a path within the
|
||||||
|
snapshot.
|
||||||
|
|
||||||
EXIT STATUS
|
EXIT STATUS
|
||||||
===========
|
===========
|
||||||
|
|
||||||
|
@ -27,6 +27,10 @@ Pass "/" as file name to dump the whole snapshot as an archive file.
|
|||||||
The special snapshot "latest" can be used to use the latest snapshot in the
|
The special snapshot "latest" can be used to use the latest snapshot in the
|
||||||
repository.
|
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.
|
||||||
|
|
||||||
EXIT STATUS
|
EXIT STATUS
|
||||||
===========
|
===========
|
||||||
|
|
||||||
|
@ -28,6 +28,9 @@ a directory.
|
|||||||
The special snapshot "latest" can be used to restore the latest snapshot in the
|
The special snapshot "latest" can be used to restore the latest snapshot in the
|
||||||
repository.
|
repository.
|
||||||
|
|
||||||
|
To only restore a specific subfolder, you can use the "<snapshotID>:<subfolder>"
|
||||||
|
syntax, where "subfolder" is a path within the snapshot.
|
||||||
|
|
||||||
EXIT STATUS
|
EXIT STATUS
|
||||||
===========
|
===========
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user