mirror of
https://github.com/restic/restic.git
synced 2025-08-15 03:47:28 +00:00
Merge pull request #2124 from Kidswiss/tar
Ability to dump folders to tar via stdout
This commit is contained in:
@@ -124,3 +124,13 @@ e.g.:
|
||||
.. code-block:: console
|
||||
|
||||
$ restic -r /srv/restic-repo dump --path /production.sql latest production.sql | mysql
|
||||
|
||||
It is also possible to ``dump`` the contents of a whole folder structure to
|
||||
stdout. To retain the information about the files and folders Restic will
|
||||
output the contents in the tar format:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ restic -r /srv/restic-repo dump /home/other/work latest > restore.tar
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user