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 (or the action may be missing entirely). You should instead run the action with --help to see the flags and actions specific to your borgmatic version.

usage: borgmatic diff [--repository REPOSITORY] --archive ARCHIVE
                      --second-archive SECOND_ARCHIVE [--same-chunker-params]
                      [--sort-by KEY] [--content-only] [--only-patterns] [-h]

Find differences (file contents, user/group/mode) between archives

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)
  -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!