mirror of
https://github.com/restic/restic.git
synced 2026-10-12 21:17:12 +00:00
dump: add --target option
This commit is contained in:
1 parent
0f09a8870c
commit
175c14b5c9
3 files changed
+37
-6
No files matched your search
@@ -174,3 +174,10 @@ To include the folder content at the root of the archive, you can use the ``<sna
|
||||
.. code-block:: console
|
||||
|
||||
$ 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`` will fail if the
|
||||
file exists.
|
||||
|
||||
.. code-block:: console
|
||||
$ restic -r /srv/restic-repo dump latest / --target /home/linux.user/output.tar -a tar
|
||||
Reference in new issue
Block a user