forked from TrueCloudLab/restic
dump: Update docs and changelog
This commit is contained in:
parent
2ca76afc2b
commit
ef1aeb8724
2 changed files with 12 additions and 1 deletions
8
changelog/unreleased/pull-3081
Normal file
8
changelog/unreleased/pull-3081
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
Enhancement: Allow whole folder dump in ZIP format
|
||||||
|
|
||||||
|
Previously, restic can dump the contents of a whole folder structure only
|
||||||
|
in the tar format. The `dump` command now have a new flag to change output
|
||||||
|
format to zip. Just pass `--archive zip` as an option to `restic dump`.
|
||||||
|
|
||||||
|
https://github.com/restic/restic/pull/2433
|
||||||
|
https://github.com/restic/restic/pull/3081
|
|
@ -128,10 +128,13 @@ e.g.:
|
||||||
|
|
||||||
It is also possible to ``dump`` the contents of a whole folder structure to
|
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
|
stdout. To retain the information about the files and folders Restic will
|
||||||
output the contents in the tar format:
|
output the contents in the tar (default) or zip formats:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ restic -r /srv/restic-repo dump latest /home/other/work > restore.tar
|
$ restic -r /srv/restic-repo dump latest /home/other/work > restore.tar
|
||||||
|
|
||||||
|
.. code-block:: console
|
||||||
|
|
||||||
|
$ restic -r /srv/restic-repo dump -a zip latest /home/other/work > restore.zip
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue