Providing Backups¶
The Operator stores MySQL backups outside the Kubernetes cluster: on Amazon S3 or S3-compatible storage , or on Azure Blob Storage .
The Operator does logical backups, querying Percona Server for MySQL for the database data and writing the retrieved data to the backup storage.The backups are done using the Percona XtraBackup tool.
Backups are controlled by the backup
section of the
deploy/cr.yaml
file. This section contains the backup.enabled key
(it should be set to true
to enable backups), and the number of options in the
storages
subsection, needed to access cloud to store backups.
The Operator allows doing backups in two ways:
- Scheduled backups are configured in the deploy/cr.yaml file to be executed automatically in proper time.
- On-demand backups can be done manually at any moment and are configured in the deploy/backup.yaml .
Last update:
2025-02-20