Incorrect setting for --incremental-history-name in kolla/docker/mariadb/backup.sh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
We are running Train. I wrote a cron job to do mariadb daily full backups with "kolla-ansible -i <inventory> mariadb_backup" and hourly incrementals with "kolla-ansible -i <inventory> mariadb_backup --incremental"
What happened: Incrementals work correctly until UTC 0 and then fail until the next full runs
What you expected to happen: Incrementals should continue to work correctly after UTC 0.
Analysis: The problem is on line 24 of /opt/openstack/
After UTC 0 (date +%d-%m-%Y) refers to a full backup that does not exist yet.
How to reproduce it (minimal and precise): Setup daily full and hourly incremental cron jobs as described above.
OS: Centos 8.1.1911
Kernel: 4.18.0-
Kolla-Ansible version: stable/train
So the issue is incrementals require the same-day full to have been run instead of using the latest full?