Restore whole folder to sdtout as tar

With this change it is possible to dump a folder to stdout as a tar. The

It can be used just like the normal dump command:

`./restic dump fa97e6e1 "/data/test/" > test.tar`

Where `/data/test/` is a a folder instead of a file.
This commit is contained in:
Simon Beck
2018-12-20 16:39:48 +01:00
committed by Alexander Neumann
parent 870e7583a1
commit cc8b690b52
6 changed files with 401 additions and 39 deletions

View File

@@ -0,0 +1,8 @@
Enhancement: Ability to dump folders to tar via stdout
We've added the ability to dump whole folders to stdout via the `dump` command.
Restic now requires at least Go 1.10 due to a limitation of the standard
library for Go <= 1.9.
https://github.com/restic/restic/pull/2124
https://github.com/restic/restic/issues/2123