borgmatic

check

πŸ”

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 check [--repository REPOSITORY] [--progress] [--repair]
                       [--max-duration SECONDS] [-a PATTERN] [--only CHECK]
                       [--force] [-h]

Check archives for consistency

check arguments:
  --repository REPOSITORY
                        Path of specific existing repository to check (must be
                        already specified in a borgmatic configuration file),
                        quoted globs supported
  --progress            Display progress for each file as it is checked
  --repair              Attempt to repair any inconsistencies found (for
                        interactive use)
  --max-duration SECONDS
                        How long to check the repository before interrupting
                        the check, defaults to no interruption
  -a PATTERN, --match-archives PATTERN, --glob-archives PATTERN
                        Only check archives with names, hashes, or series
                        matching this pattern
  --only CHECK          Run a particular consistency check (repository,
                        archives, data, extract, or spot) instead of
                        configured checks (subject to configured frequency,
                        can specify flag multiple times)
  --force               Ignore configured check frequencies and run checks
                        unconditionally
  -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!