diff options
| author | Piotr Milewski <vurmil@gmail.com> | 2025-06-18 12:31:33 +0200 |
|---|---|---|
| committer | Piotr Milewski <vurmil@gmail.com> | 2026-01-06 20:28:48 +0100 |
| commit | cb629953c2d2b12e57cacb016a18c931c16d4246 (patch) | |
| tree | 166a0ee794711adaa094d4869be49ed8bee312a5 | |
| parent | 496dd763d82eaa666549556c28f1f4fb74a8d446 (diff) | |
| download | kolla-ansible-cb629953c2d2b12e57cacb016a18c931c16d4246.tar.gz kolla-ansible-cb629953c2d2b12e57cacb016a18c931c16d4246.zip | |
Standardize naming for MariaDB recovery and backup files
This commit addresses and corrects the inconsistency in naming
across multiple files within the project. Specifically, the terms
mariadb_recovery and mariadb_backup have been replaced with
mariadb-recovery and mariadb-backup respectively to adhere to the
project's naming conventions and improve clarity.
Change-Id: I47b80eaa0dc0487f506b47ca065951b5140e0d62
Signed-off-by: Piotr Milewski <vurmil@gmail.com>
| -rw-r--r-- | ansible/mariadb-backup.yml (renamed from ansible/mariadb_backup.yml) | 0 | ||||
| -rw-r--r-- | ansible/mariadb-recovery.yml (renamed from ansible/mariadb_recovery.yml) | 0 | ||||
| -rw-r--r-- | doc/source/admin/mariadb-backup-and-restore.rst | 4 | ||||
| -rw-r--r-- | doc/source/reference/databases/mariadb-guide.rst | 2 | ||||
| -rw-r--r-- | kolla_ansible/cli/commands.py | 4 |
5 files changed, 5 insertions, 5 deletions
diff --git a/ansible/mariadb_backup.yml b/ansible/mariadb-backup.yml index 371991c86..371991c86 100644 --- a/ansible/mariadb_backup.yml +++ b/ansible/mariadb-backup.yml diff --git a/ansible/mariadb_recovery.yml b/ansible/mariadb-recovery.yml index 6f69867db..6f69867db 100644 --- a/ansible/mariadb_recovery.yml +++ b/ansible/mariadb-recovery.yml diff --git a/doc/source/admin/mariadb-backup-and-restore.rst b/doc/source/admin/mariadb-backup-and-restore.rst index aef6394a5..596b7f952 100644 --- a/doc/source/admin/mariadb-backup-and-restore.rst +++ b/doc/source/admin/mariadb-backup-and-restore.rst @@ -41,11 +41,11 @@ Backup Procedure To perform a full backup, run the following command: -``kolla-ansible mariadb_backup -i INVENTORY`` +``kolla-ansible mariadb-backup -i INVENTORY`` Or to perform an incremental backup: -``kolla-ansible mariadb_backup -i INVENTORY --incremental`` +``kolla-ansible mariadb-backup -i INVENTORY --incremental`` Kolla doesn't currently manage the scheduling of these backups, so you'll need to configure an appropriate scheduler (i.e cron) to run these commands diff --git a/doc/source/reference/databases/mariadb-guide.rst b/doc/source/reference/databases/mariadb-guide.rst index e34e4bf0a..c4a40740e 100644 --- a/doc/source/reference/databases/mariadb-guide.rst +++ b/doc/source/reference/databases/mariadb-guide.rst @@ -22,7 +22,7 @@ an independent Galera cluster. This section explains how to configure multiple database shards. Currently, only one shard is accessible via the HAProxy load balancer and supported -by the ``kolla-ansible mariadb_backup`` command. This will be improved +by the ``kolla-ansible mariadb-backup`` command. This will be improved in future by using ProxySQL, allowing load balanced access to all shards. Deployment diff --git a/kolla_ansible/cli/commands.py b/kolla_ansible/cli/commands.py index 7f9ecde6b..7b79b64ea 100644 --- a/kolla_ansible/cli/commands.py +++ b/kolla_ansible/cli/commands.py @@ -462,7 +462,7 @@ class MariaDBBackup(KollaAnsibleMixin, Command): extra_vars["kolla_action"] = "backup" extra_vars["mariadb_backup_type"] = parsed_args.mariadb_backup_type - playbooks = _choose_playbooks(parsed_args, "mariadb_backup") + playbooks = _choose_playbooks(parsed_args, "mariadb-backup") self.run_playbooks(parsed_args, playbooks, extra_vars=extra_vars) @@ -476,7 +476,7 @@ class MariaDBRecovery(KollaAnsibleMixin, Command): extra_vars = {} extra_vars["kolla_action"] = "deploy" - playbooks = _choose_playbooks(parsed_args, "mariadb_recovery") + playbooks = _choose_playbooks(parsed_args, "mariadb-recovery") self.run_playbooks(parsed_args, playbooks, extra_vars=extra_vars) |
