Add custom dump/restore command options for MySQL and MariaDB (#311).

This commit is contained in:
Dan Helfman 2024-03-03 14:32:49 -08:00
parent a1153a21fa
commit 60107f1ee8
2 changed files with 12 additions and 14 deletions

1
NEWS
View file

@ -1,4 +1,5 @@
1.8.9.dev0 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 * #827: When the "--json" flag is given, suppress console escape codes so as not to
interfere with JSON output. interfere with JSON output.
* #829: Fix "--override" values containing deprecated section headers not actually overriding * #829: Fix "--override" values containing deprecated section headers not actually overriding

View file

@ -974,18 +974,16 @@ properties:
mariadb_dump_command: mariadb_dump_command:
type: string type: string
description: | description: |
Command to use instead of "mariadb-dump". This can Command to use instead of "mariadb-dump". This can be
be used to run a specific mariadb_dump version used to run a specific mariadb_dump version (e.g., one
(e.g., one inside a running container). inside a running container). Defaults to "mariadb-dump".
Defaults to "mariadb-dump".
example: docker exec mariadb_container mariadb-dump example: docker exec mariadb_container mariadb-dump
mariadb_command: mariadb_command:
type: string type: string
description: | description: |
Command to run instead of "mariadb". This Command to run instead of "mariadb". This can be used to
can be used to run a specific mariadb run a specific mariadb version (e.g., one inside a
version (e.g., one inside a running container). running container). Defaults to "mariadb".
Defaults to "mariadb".
example: docker exec mariadb_container mariadb example: docker exec mariadb_container mariadb
restore_password: restore_password:
type: string type: string
@ -1107,16 +1105,15 @@ properties:
type: string type: string
description: | description: |
Command to use instead of "mysqldump". This can be used Command to use instead of "mysqldump". This can be used
to run a specific mysql_dump version (e.g., one inside to run a specific mysql_dump version (e.g., one inside a
a running container). Defaults to "mysqldump". running container). Defaults to "mysqldump".
example: docker exec mysql_container mysqldump example: docker exec mysql_container mysqldump
mysql_command: mysql_command:
type: string type: string
description: | description: |
Command to run instead of "mysql". This Command to run instead of "mysql". This can be used to
can be used to run a specific mysql run a specific mysql version (e.g., one inside a running
version (e.g., one inside a running container). container). Defaults to "mysql".
Defaults to "mysql".
example: docker exec mysql_container mysql example: docker exec mysql_container mysql
format: format:
type: string type: string