mirror of https://github.com/borgbackup/borg.git
Merge pull request #2881 from enkore/docs/tarpipe
docs: tar: tarpipe example
This commit is contained in:
commit
153da8a9e6
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue