borgmatic

compact

πŸ”

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 compact [--repository REPOSITORY] [--progress]
                         [--cleanup-commits] [--threshold COMPACT_THRESHOLD]
                         [-h]

Compact segments to free space [Borg 1.2+, borgmatic 1.5.23+ only]

compact arguments:
  --repository REPOSITORY
                        Path of specific existing repository to compact (must
                        be already specified in a borgmatic configuration
                        file), quoted globs supported
  --progress            Display progress as each segment is compacted
  --cleanup-commits     Cleanup commit-only 17-byte segment files left behind
                        by Borg 1.1 [flag in Borg 1.2 only]
  --threshold COMPACT_THRESHOLD
                        Minimum saved space percentage threshold for
                        compacting a segment, defaults to 10
  -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!