borgmatic

diff

πŸ”

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 diff [-h] [--repository REPOSITORY] --archive ARCHIVE
                      --second-archive SECOND_ARCHIVE [--same-chunker-params]
                      [--sort-by KEY] [--content-only] [--only-patterns]

This command finds differences (file contents, user/group/mode) between
archives

options:
  -h, --help            show this help message and exit

diff arguments:
  --repository REPOSITORY
                        Path of repository containing archive to diff,
                        defaults to the configured repository if there is only
                        one, quoted globs supported
  --archive ARCHIVE     Archive name, hash, or series to diff
  --second-archive SECOND_ARCHIVE
                        Second archive name, hash, or series to diff
  --same-chunker-params
                        Override check of chunker parameters
  --sort-by KEY         Advanced sorting: specify field(s) to sort by. Prefix
                        with > for descending or < for ascending (default)
  --content-only        Only compare differences in content (exclude metadata
                        differences)
  --only-patterns       Run the diff according to borgmatic configured
                        patterns (ie do not diff entire archives)

Improve this documentation

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