Merge pull request #2881 from enkore/docs/tarpipe

docs: tar: tarpipe example
This commit is contained in:
enkore 2017-07-26 10:41:10 +02:00 committed by GitHub
commit 153da8a9e6
1 changed files with 3 additions and 0 deletions

View File

@ -16,3 +16,6 @@ Examples
# export a gzipped tar, but instead of storing it on disk, # export a gzipped tar, but instead of storing it on disk,
# upload it to a remote site using curl. # upload it to a remote site using curl.
$ borg export-tar ... --tar-filter="gzip" - | curl --data-binary @- https://somewhere/to/POST $ borg export-tar ... --tar-filter="gzip" - | curl --data-binary @- https://somewhere/to/POST
# remote extraction via "tarpipe"
$ borg export-tar /path/to/repo::Monday - | ssh somewhere "cd extracted; tar x"