borgmatic

repo-list

πŸ”

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 repo-list [--repository REPOSITORY] [--short]
                           [--format FORMAT] [--json] [-P PREFIX] [-a PATTERN]
                           [--sort-by KEYS] [--first N] [--last N]
                           [--oldest TIMESPAN] [--newest TIMESPAN]
                           [--older TIMESPAN] [--newer TIMESPAN] [--deleted]
                           [-h]

List the archives in a repository

repo-list arguments:
  --repository REPOSITORY
                        Path of repository to list, defaults to the configured
                        repositories, quoted globs supported
  --short               Output only archive names
  --format FORMAT       Borg format for the archive listing
  --json                Output results as JSON
  -P PREFIX, --prefix PREFIX
                        Deprecated. Only list archive names starting with this
                        prefix
  -a PATTERN, --match-archives PATTERN, --glob-archives PATTERN
                        Only list archive names, hashes, or series matching
                        this pattern
  --sort-by KEYS        Comma-separated list of sorting keys
  --first N             List first N archives after other filters are applied
  --last N              List last N archives after other filters are applied
  --oldest TIMESPAN     List archives within a specified time range starting
                        from the timestamp of the oldest archive (e.g. 7d or
                        12m) [Borg 2.x+ only]
  --newest TIMESPAN     List archives within a time range that ends at
                        timestamp of the newest archive and starts a specified
                        time range ago (e.g. 7d or 12m) [Borg 2.x+ only]
  --older TIMESPAN      List archives that are older than the specified time
                        range (e.g. 7d or 12m) from the current time [Borg
                        2.x+ only]
  --newer TIMESPAN      List archives that are newer than the specified time
                        range (e.g. 7d or 12m) from the current time [Borg
                        2.x+ only]
  --deleted             List only deleted archives that haven't yet been
                        compacted [Borg 2.x+ only]
  -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!