Simon Hensel 03ad7d6ace Add optional compression to mariabackup
As database backups can grow substantially in size, compressing backups
helps to preserve disk space.
While the mariabackup utility offers no compression by itself, we can
stream the backup into a compression tool to create an archive [1].
The xtrabackup_checkpoints file, which contains metadata on a backup,
gets stored alongside the archive, allowing to create incremental
backups from non-compressed backups and vice-versa [2].
One thing to note, is that compressed backups cannot be prepared in
advance, this step must be manually carried out by the user.
Backup compression is disabled by default and different compressors
can be chosen (zstd, xz, ...), with gzip being the default.

[1] https://mariadb.com/kb/en/using-encryption-and-compression-tools-with-mariabackup/
[2] https://mariadb.com/kb/en/incremental-backup-and-restore-with-mariabackup/#combining-with-stream-output

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/888437

Change-Id: I28c6a0e0b41d4d29c3e79e601de45ea373dee4fb
Signed-off-by: Simon Hensel <simon.hensel@inovex.de>
(cherry picked from commit 60009ed7cebe9c082592fd564b1577068ef94b6c)
(cherry picked from commit 41801ab04d3c64d61b881d410691e05e0312114d)
2023-07-20 07:44:11 +00:00
2020-10-05 07:18:37 +00:00
2022-10-06 08:35:42 +00:00
2022-12-13 13:07:42 +00:00
2015-12-09 09:23:50 -06:00
2016-09-27 16:00:50 +01:00
2022-12-28 22:26:48 +01:00

Team and repository tags

image

OpenStack-Ansible Galera server

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-galera_server/latest

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/openstack-ansible-galera_server/

The project source code repository is located at:

https://opendev.org/openstack/openstack-ansible-galera_server

The project home is at:

https://launchpad.net/openstack-ansible

The project bug tracker is located at:

https://bugs.launchpad.net/openstack-ansible

Description
Role galera_server for OpenStack-Ansible
Readme 8.9 MiB
Languages
Jinja 76%
Python 24%