borgmatic

info

πŸ”

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 info [--repository REPOSITORY] [--archive ARCHIVE] [--json]
                      [-P PREFIX] [-a PATTERN] [--sort-by KEYS] [--first N]
                      [--last N] [--oldest TIMESPAN] [--newest TIMESPAN]
                      [--older TIMESPAN] [--newer TIMESPAN] [-h]

Show archive summary information such as disk space used

info arguments:
  --repository REPOSITORY
                        Path of repository containing archive to show info
                        for, defaults to the configured repository if there is
                        only one, quoted globs supported
  --archive ARCHIVE     Archive name, hash, or series to show info for (or
                        "latest")
  --json                Output results as JSON
  -P PREFIX, --prefix PREFIX
                        Deprecated. Only show info for archive names starting
                        with this prefix
  -a PATTERN, --match-archives PATTERN, --glob-archives PATTERN
                        Only show info for archive names, hashes, or series
                        matching this pattern
  --sort-by KEYS        Comma-separated list of sorting keys
  --first N             Show info for first N archives after other filters are
                        applied
  --last N              Show info for last N archives after other filters are
                        applied
  --oldest TIMESPAN     Show info for 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     Show info for 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      Show info for archives that are older than the
                        specified time range (e.g. 7d or 12m) from the current
                        time [Borg 2.x+ only]
  --newer TIMESPAN      Show info for archives that are newer than the
                        specified time range (e.g. 7d or 12m) from the current
                        time [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!