From 60107f1ee897f5dd07da3e5f03358e92f7135a59 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sun, 3 Mar 2024 14:32:49 -0800 Subject: [PATCH] Add custom dump/restore command options for MySQL and MariaDB (#311). --- NEWS | 1 + borgmatic/config/schema.yaml | 25 +++++++++++-------------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/NEWS b/NEWS index e89cce60..40d0ce43 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,5 @@ 1.8.9.dev0 + * #311: Add custom dump/restore command options for MySQL and MariaDB. * #827: When the "--json" flag is given, suppress console escape codes so as not to interfere with JSON output. * #829: Fix "--override" values containing deprecated section headers not actually overriding diff --git a/borgmatic/config/schema.yaml b/borgmatic/config/schema.yaml index 6aee3361..032f9789 100644 --- a/borgmatic/config/schema.yaml +++ b/borgmatic/config/schema.yaml @@ -974,18 +974,16 @@ properties: mariadb_dump_command: type: string description: | - Command to use instead of "mariadb-dump". This can - be used to run a specific mariadb_dump version - (e.g., one inside a running container). - Defaults to "mariadb-dump". + Command to use instead of "mariadb-dump". This can be + used to run a specific mariadb_dump version (e.g., one + inside a running container). Defaults to "mariadb-dump". example: docker exec mariadb_container mariadb-dump mariadb_command: type: string description: | - Command to run instead of "mariadb". This - can be used to run a specific mariadb - version (e.g., one inside a running container). - Defaults to "mariadb". + Command to run instead of "mariadb". This can be used to + run a specific mariadb version (e.g., one inside a + running container). Defaults to "mariadb". example: docker exec mariadb_container mariadb restore_password: type: string @@ -1107,16 +1105,15 @@ properties: type: string description: | Command to use instead of "mysqldump". This can be used - to run a specific mysql_dump version (e.g., one inside - a running container). Defaults to "mysqldump". + to run a specific mysql_dump version (e.g., one inside a + running container). Defaults to "mysqldump". example: docker exec mysql_container mysqldump mysql_command: type: string description: | - Command to run instead of "mysql". This - can be used to run a specific mysql - version (e.g., one inside a running container). - Defaults to "mysql". + Command to run instead of "mysql". This can be used to + run a specific mysql version (e.g., one inside a running + container). Defaults to "mysql". example: docker exec mysql_container mysql format: type: string