mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 17:27:31 +00:00
19 lines
593 B
ReStructuredText
19 lines
593 B
ReStructuredText
|
.. include:: export-tar.rst.inc
|
||
|
|
||
|
Examples
|
||
|
~~~~~~~~
|
||
|
::
|
||
|
|
||
|
# export as uncompressed tar
|
||
|
$ borg export-tar /path/to/repo::Monday Monday.tar
|
||
|
|
||
|
# exclude some types, compress using gzip
|
||
|
$ borg export-tar /path/to/repo::Monday Monday.tar.gz --exclude '*.so'
|
||
|
|
||
|
# use higher compression level with gzip
|
||
|
$ borg export-tar testrepo::linux --tar-filter="gzip -9" Monday.tar.gz
|
||
|
|
||
|
# export a gzipped tar, but instead of storing it on disk,
|
||
|
# upload it to a remote site using curl.
|
||
|
$ borg export-tar ... --tar-filter="gzip" - | curl --data-binary @- https://somewhere/to/POST
|