borgmatic

extract

πŸ”

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 extract [--repository REPOSITORY] --archive ARCHIVE
                         [--path PATH] [--destination PATH]
                         [--strip-components NUMBER] [--progress] [-h]

Extract a named archive to the current directory

extract arguments:
  --repository REPOSITORY
                        Path of repository to extract, defaults to the
                        configured repository if there is only one, quoted
                        globs supported
  --archive ARCHIVE     Name or hash of a single archive to extract (or
                        "latest")
  --path PATH, --restore-path PATH
                        Path to extract from archive, can specify flag
                        multiple times, defaults to the entire archive
  --destination PATH    Directory to extract files into, defaults to the
                        current directory
  --strip-components NUMBER
                        Number of leading path components to remove from each
                        extracted path or "all" to strip all leading path
                        components. Skip paths with fewer elements
  --progress            Display progress for each file as it is extracted
  -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!