xtrabackup

Ansible Role: Percona XtraBackup

Build Status Ansible Galaxy

Installs Percona XtraBackup.

Note: For now only MySQL 8 is supported.

Role Variables

Variable Default Description
xtrabackup_create_mysql_user false Create a MySQL user for XtraBackup
xtrabackup_mysql_user_name bkpuser MySQL backup user name
xtrabackup_mysql_user_password none MySQL backup user password (required when create_mysql_backup_user is true)
xtrabackup_mysql_grants [ BACKUP_ADMIN, PROCESS, RELOAD, LOCK TABLES, REPLICATION CLIENT ] List of grants to apply to the MySQL backup user
xtrabackup_create_system_user false ...
xtrabackup_system_user_name xtrabackup ...

Dependencies

This role does not install MySQL nor configures XtraBackup for running. Configuration will probably come in future versions.

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

Example Playbook

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

When installing from Ansible Galaxy:

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

License

MIT

Install
ansible-galaxy install webplates/ansible-role-xtrabackup
GitHub repository
License
mit
Downloads
5886
Owner
Carefully crafted Docker images, web project skeletons