forked from TrueCloudLab/restic
dump: Mention tar output in command help text
This commit is contained in:
parent
dcf9ded977
commit
81dcfea11a
1 changed files with 4 additions and 2 deletions
|
@ -19,8 +19,10 @@ var cmdDump = &cobra.Command{
|
||||||
Use: "dump [flags] snapshotID file",
|
Use: "dump [flags] snapshotID file",
|
||||||
Short: "Print a backed-up file to stdout",
|
Short: "Print a backed-up file to stdout",
|
||||||
Long: `
|
Long: `
|
||||||
The "dump" command extracts a single file from a snapshot from the repository and
|
The "dump" command extracts files from a snapshot from the repository. If a
|
||||||
prints its contents to stdout.
|
single file is selected, it prints its contents to stdout. Folders are output
|
||||||
|
as a tar file containing the contents of the specified folder. Pass "/" as
|
||||||
|
file name to dump the whole snapshot as a tar 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.
|
||||||
|
|
Loading…
Reference in a new issue