webplates.xtrabackup

Ansible Role: Percona XtraBackup

Build Status Ansible Galaxy

This role installs Percona XtraBackup.

Note: Currently, it only supports MySQL 8.

Role Variables

Variable Default Description
xtrabackup_create_mysql_user false Create a MySQL user for XtraBackup
xtrabackup_mysql_user_name bkpuser Name of the MySQL backup user
xtrabackup_mysql_user_password none Password for the MySQL backup user (needed if create_mysql_backup_user is true)
xtrabackup_mysql_grants [ BACKUP_ADMIN, PROCESS, RELOAD, LOCK TABLES, REPLICATION CLIENT ] Permissions for the MySQL backup user
xtrabackup_create_system_user false ...
xtrabackup_system_user_name xtrabackup ...

Dependencies

This role does not install MySQL or set up XtraBackup for running. Configuration may come in future updates.

xtrabackup works best with MySQL and Percona-Server. MariaDB is not supported.

Example Playbook

- hosts: servers
  roles:
     - { role: xtrabackup }

If installing from Ansible Galaxy:

- hosts: servers
  roles:
     - { role: webplates.xtrabackup }

License

MIT

Installa
ansible-galaxy install webplates.xtrabackup
Licenza
mit
Download
5.9k
Proprietario
Carefully crafted Docker images, web project skeletons