openstack-ansible-galera_se.../templates
Simon Hensel 60009ed7ce 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

Change-Id: I28c6a0e0b41d4d29c3e79e601de45ea373dee4fb
Signed-off-by: Simon Hensel <simon.hensel@inovex.de>
2023-06-20 15:34:39 +02:00
..
client.my.cnf.j2 Do not verify certificate for local connects 2021-12-08 15:32:33 +02:00
cluster.cnf.j2 Bump version and use mariabackup 2019-03-19 17:12:15 -04:00
clustercheck.j2 Listen on an additional port for monitoring/diagnostic purposes 2022-01-31 10:01:58 +00:00
debian.cnf.j2 Do not verify certificate for local connects 2021-12-08 15:32:33 +02:00
encryption.cnf.j2 add support for encryption 2021-04-20 06:42:28 +00:00
galera_new_cluster.j2 cleanup: refactor into galera_mariadb_service_name 2019-07-12 12:42:24 -04:00
galera_secure_node.j2 Add galera_data_dir variable 2022-04-12 11:27:03 +00:00
mariabackup.cnf.j2 Ability to take mariadb backups using mariabackup 2020-11-09 12:49:23 +00:00
mariabackup_script.py.j2 Add optional compression to mariabackup 2023-06-20 15:34:39 +02:00
my.cnf.j2 Add support to configure proxy-protocol-networks 2022-08-29 15:34:38 +02:00
mysql_defaults.j2 Ensure max_connections is calculated correctly with integers 2021-12-01 18:04:50 +00:00