From 51d2ce7963030c132c440419a5a2bb6aa6a127df Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 24 Oct 2025 23:02:46 -0700 Subject: [PATCH] Add a "rename" option to "extra_borg_options" to support passing arbitrary flags to "borg rename". --- NEWS | 2 ++ borgmatic/config/schema.yaml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/NEWS b/NEWS index c9d195c8..e4578faf 100644 --- a/NEWS +++ b/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 diff --git a/borgmatic/config/schema.yaml b/borgmatic/config/schema.yaml index 42aa985b..b954e0d1 100644 --- a/borgmatic/config/schema.yaml +++ b/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: |