dump: update docs for --target option
This commit is contained in:
parent
80db02fc35
commit
15d6fa1f83
2 changed files with 2 additions and 2 deletions
|
@ -5,3 +5,4 @@ Restic `dump` always printed to the standard output. It now permits to select a
|
|||
|
||||
https://github.com/restic/restic/issues/4678
|
||||
https://github.com/restic/restic/pull/4682
|
||||
https://github.com/restic/restic/pull/4692
|
||||
|
|
|
@ -176,8 +176,7 @@ To include the folder content at the root of the archive, you can use the ``<sna
|
|||
$ restic -r /srv/restic-repo dump latest:/home/other/work / > restore.tar
|
||||
|
||||
It is also possible to ``dump`` the contents of a selected snapshot and folder
|
||||
structure to a file using the ``--target`` flag. The ``dump`` command will fail
|
||||
if the already file exists.
|
||||
structure to a file using the ``--target`` flag.
|
||||
|
||||
.. code-block:: console
|
||||
$ restic -r /srv/restic-repo dump latest / --target /home/linux.user/output.tar -a tar
|
Loading…
Reference in a new issue