Automated MariaDB backups for krona #77

Open
opened 2026-09-10 17:02:07 +00:00 by znibb · 0 comments
Owner

Goal

Set up automated backups for krona-mariadb. There's currently no backup for this database. A pod restart is fine (PVC survives), but PVC loss, corruption, or a bad migration has no recovery path.

Tasks

[ ] Write a mysqldump CronJob manifest for krona-mariadb (kubernetes/apps/krona/mariadb/)
[ ] Store dumps outside the cluster's local storage (S3-compatible target, not the same PVC/node as the database)
[ ] Set a retention policy and prune old dumps
[ ] Test a full restore from a dump and document the steps in a docs/restore.md (or similar)

Notes

No offsite backup pipeline exists in this repo yet. Issue #7 covers the same gap for PostgreSQL; if that CronJob pattern lands first, reuse it here instead of building a second one from scratch.

## Goal Set up automated backups for `krona-mariadb`. There's currently no backup for this database. A pod restart is fine (PVC survives), but PVC loss, corruption, or a bad migration has no recovery path. ## Tasks [ ] Write a `mysqldump` CronJob manifest for `krona-mariadb` (kubernetes/apps/krona/mariadb/) [ ] Store dumps outside the cluster's local storage (S3-compatible target, not the same PVC/node as the database) [ ] Set a retention policy and prune old dumps [ ] Test a full restore from a dump and document the steps in a docs/restore.md (or similar) ## Notes No offsite backup pipeline exists in this repo yet. Issue #7 covers the same gap for PostgreSQL; if that CronJob pattern lands first, reuse it here instead of building a second one from scratch.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
znibb/kobbo-homelab#77
No description provided.