tar.rst 593 B

123456789101112131415161718
  1. .. include:: export-tar.rst.inc
  2. Examples
  3. ~~~~~~~~
  4. ::
  5. # export as uncompressed tar
  6. $ borg export-tar /path/to/repo::Monday Monday.tar
  7. # exclude some types, compress using gzip
  8. $ borg export-tar /path/to/repo::Monday Monday.tar.gz --exclude '*.so'
  9. # use higher compression level with gzip
  10. $ borg export-tar testrepo::linux --tar-filter="gzip -9" Monday.tar.gz
  11. # export a gzipped tar, but instead of storing it on disk,
  12. # upload it to a remote site using curl.
  13. $ borg export-tar ... --tar-filter="gzip" - | curl --data-binary @- https://somewhere/to/POST