Skip to content

Commit

Permalink
dump: update docs for --target option
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelEischer committed Feb 10, 2024
1 parent 80db02f commit 15d6fa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog/unreleased/issue-4678
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 1 addition & 2 deletions doc/050_restore.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 15d6fa1

Please sign in to comment.