From 116f1ab989abe9e3c662e977d2256152569eaca7 Mon Sep 17 00:00:00 2001 From: Macguire Rintoul Date: Fri, 23 Dec 2022 13:32:01 -0800 Subject: [PATCH] add borgmatic minimum version to compact docs --- borgmatic/commands/arguments.py | 4 ++-- docs/how-to/set-up-backups.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/borgmatic/commands/arguments.py b/borgmatic/commands/arguments.py index 60e3274..5078fab 100644 --- a/borgmatic/commands/arguments.py +++ b/borgmatic/commands/arguments.py @@ -337,8 +337,8 @@ def make_parsers(): compact_parser = subparsers.add_parser( 'compact', aliases=SUBPARSER_ALIASES['compact'], - help='Compact segments to free space (Borg 1.2+ only)', - description='Compact segments to free space (Borg 1.2+ only)', + help='Compact segments to free space (Borg 1.2+, Borgmatic 1.5.23+ only)', + description='Compact segments to free space (Borg 1.2+, Borgmatic 1.5.23+ only)', add_help=False, ) compact_group = compact_parser.add_argument_group('compact arguments') diff --git a/docs/how-to/set-up-backups.md b/docs/how-to/set-up-backups.md index 1f43bd9..526c003 100644 --- a/docs/how-to/set-up-backups.md +++ b/docs/how-to/set-up-backups.md @@ -257,7 +257,7 @@ See `borgmatic --help` and `borgmatic create --help` for more information. If you omit `create` and other actions, borgmatic runs through a set of default actions: `prune` any old backups as per the configured retention -policy, `compact` segments to free up space (with Borg 1.2+), `create` a +policy, `compact` segments to free up space (with Borg 1.2+, Borgmatic 1.5.23+), `create` a backup, *and* `check` backups for consistency problems due to things like file damage. For instance: