
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)
Team and repository tags
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:
- The project bug tracker is located at:
Description
Languages
Jinja
76%
Python
24%