diff --git a/changelog/unreleased/pull-3081 b/changelog/unreleased/pull-3081 new file mode 100644 index 000000000..89de8a728 --- /dev/null +++ b/changelog/unreleased/pull-3081 @@ -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 diff --git a/doc/050_restore.rst b/doc/050_restore.rst index 1f5996ccc..2a636c317 100644 --- a/doc/050_restore.rst +++ b/doc/050_restore.rst @@ -128,10 +128,13 @@ e.g.: 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: +output the contents in the tar (default) or zip formats: .. code-block:: console $ 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