Bläddra i källkod

Add borgmatic minimum version to compact docs (#624).

Reviewed-on: https://projects.torsion.org/borgmatic-collective/borgmatic/pulls/625
Dan Helfman 2 år sedan
förälder
incheckning
4838f5e810
2 ändrade filer med 3 tillägg och 3 borttagningar
  1. 2 2
      borgmatic/commands/arguments.py
  2. 1 1
      docs/how-to/set-up-backups.md

+ 2 - 2
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')

+ 1 - 1
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: