borgmatic

export-tar

πŸ”

Here's the command-line help for this action in the most recent version of borgmatic. If you're using an older version, some of these flags may not work, and you should instead run the action with --help to see the flags specific to your borgmatic version.

usage: borgmatic export-tar [--repository REPOSITORY] --archive ARCHIVE
                            [--path PATH] --destination PATH
                            [--tar-filter TAR_FILTER] [--list]
                            [--strip-components NUMBER] [-h]

Export an archive to a tar-formatted file or stream

export-tar arguments:
  --repository REPOSITORY
                        Path of repository to export from, defaults to the
                        configured repository if there is only one, quoted
                        globs supported
  --archive ARCHIVE     Name or hash of a single archive to export (or
                        "latest")
  --path PATH           Path to export from archive, can specify flag multiple
                        times, defaults to the entire archive
  --destination PATH    Path to destination export tar file, or "-" for stdout
                        (but be careful about dirtying output with --verbosity
                        or --list)
  --tar-filter TAR_FILTER
                        Name of filter program to pipe data through
  --list, --files       Show per-file details
  --strip-components NUMBER
                        Number of leading path components to remove from each
                        exported path. Skip paths with fewer elements
  -h, --help            Show this help message and exit

Improve this documentation

Have an idea on how to make this documentation even better? Use our issue tracker to send your feedback!