From 7dcb4e3c3a425e1caa7e79ca4ba34775bc5716a8 Mon Sep 17 00:00:00 2001 From: slantsh Date: Mon, 23 Feb 2026 06:03:06 +0530 Subject: [PATCH] added BORG_MSGPACK_VERSION_CHECK, no test --- borgmatic/borg/environment.py | 1 + borgmatic/config/schema.yaml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/borgmatic/borg/environment.py b/borgmatic/borg/environment.py index bdadcc30..90f79cbd 100644 --- a/borgmatic/borg/environment.py +++ b/borgmatic/borg/environment.py @@ -13,6 +13,7 @@ OPTION_TO_ENVIRONMENT_VARIABLE = { 'borg_key_file': 'BORG_KEY_FILE', 'ssh_command': 'BORG_RSH', 'temporary_directory': 'TMPDIR', + 'msgpack_version_check': 'BORG_MSGPACK_VERSION_CHECK', } DEFAULT_BOOL_OPTION_TO_UNCONDITIONAL_ENVIRONMENT_VARIABLE = { diff --git a/borgmatic/config/schema.yaml b/borgmatic/config/schema.yaml index f339ce0d..75e9a7a8 100644 --- a/borgmatic/config/schema.yaml +++ b/borgmatic/config/schema.yaml @@ -570,6 +570,12 @@ properties: Bypass Borg confirmation about check with repair option. Defaults to false and an interactive prompt from Borg. example: true + msgpack_version_check: + type: string + description: | + optionally disable the msgpack version check. + Default is “yes”; use at your own risk. + example: yes extra_borg_options: type: object additionalProperties: false