Browse Source

Add a "rename" option to "extra_borg_options" to support passing arbitrary flags to "borg rename".

Dan Helfman 2 weeks ago
parent
commit
51d2ce7963
2 changed files with 7 additions and 0 deletions
  1. 2 0
      NEWS
  2. 5 0
      borgmatic/config/schema.yaml

+ 2 - 0
NEWS

@@ -3,6 +3,8 @@
    contain multiple paths.
  * #1168: Fix for the "list", "info", and "delete" options in "extra_borg_options" being ignored
    when "--archive" is omitted with Borg 1.x.
+ * Add a "rename" option to "extra_borg_options" to support passing arbitrary flags to "borg
+   rename".
 
 2.0.10
  * #427: Expand the "extra_borg_options" option to support passing arbitrary Borg flags to every

+ 5 - 0
borgmatic/config/schema.yaml

@@ -607,6 +607,11 @@ properties:
                 description: |
                   Extra command-line options to pass to "borg recreate".
                 example: "--extra-option"
+            rename:
+                type: string
+                description: |
+                  Extra command-line options to pass to "borg rename".
+                example: "--extra-option"
             repo_create:
                 type: string
                 description: |