diff options
| author | Michal Arbet <michal.arbet@ultimum.io> | 2025-05-27 09:04:40 +0200 |
|---|---|---|
| committer | Michal Arbet <michal.arbet@ultimum.io> | 2025-05-30 18:07:48 +0200 |
| commit | bcf37e5016ecf1bc50dea111285cad887fd471b3 (patch) | |
| tree | 0cd9ea8b0b0c405972d1e5fe07443ed149403b51 /releasenotes | |
| parent | 32d2f1719a978c62a44ca998b8018692b55ac0d4 (diff) | |
| download | kolla-bcf37e5016ecf1bc50dea111285cad887fd471b3.tar.gz kolla-bcf37e5016ecf1bc50dea111285cad887fd471b3.zip | |
[mariadb] Fix incremental backup using correct base dir
The original script used --incremental-history-name and compressed
full backups as gzip streams. This failed because mariabackup expects
an actual decompressed base directory for incremental backups.
This patch:
- Decompresses the latest full backup into a temporary directory
- Uses that as --incremental-basedir
- Aligns the backup flow with official Mariabackup documentation:
https://mariadb.com/kb/en/incremental-backup-and-restore-with-mariabackup/
This makes the incremental process reliable and fully supported.
Closes-Bug: #2111620
Change-Id: I562ce5e54752015863a20bf113bce74a69e02331
Diffstat (limited to 'releasenotes')
| -rw-r--r-- | releasenotes/notes/bug-2111620-e40e1dec6fed309f.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/releasenotes/notes/bug-2111620-e40e1dec6fed309f.yaml b/releasenotes/notes/bug-2111620-e40e1dec6fed309f.yaml new file mode 100644 index 000000000..e5c9f8198 --- /dev/null +++ b/releasenotes/notes/bug-2111620-e40e1dec6fed309f.yaml @@ -0,0 +1,12 @@ +--- +fixes: + - | + Fixes incremental MariaDB backups by switching to directory-based base backups, + following official Mariabackup recommendations. + `LP#2111620 <https://bugs.launchpad.net/kolla/+bug/2111620>`__ +upgrade: + - | + Backup files are now stored in timestamped directories and have new filenames. + This does not affect restore, as Kolla Ansible does not support automated restore; + users perform restores manually. A new full backup is recommended after upgrade + to ensure incremental backups work correctly. |
