dump: Update docs and changelog

This commit is contained in:
DRON-666 2020-11-10 04:56:21 +03:00
parent 2ca76afc2b
commit ef1aeb8724
2 changed files with 12 additions and 1 deletions

View 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

View file

@ -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