A helm chart to backup your MySQL or MariaDB database to an S3 bucket or SFTP from Kubernetes
This chart provisions a cronjob which runs the ten7/mysql_backup
container. It uses the s3cmd
command to synchronize with one or more "remotes". Each remote can be either an S3 bucket, or an SFTP server.
- Synchronizes from multiple sources to multiple targets.
- Does not require persistent storage to function.
- Has no persistent container, or a cronjob.
- Supports multiple S3 and SFTP destinations.
- Can be installed multiple times in the same namespace, with different schedules, allowing you to make hourly/daily/weekly/monthly backups.
- Connection and credentials for source database servers.
- Connection and credentials for target S3 and/or SFTP providers.
helm repo add mysql-backup https://ten7.github.io/mysql-backup-helm/
helm repo update
helm upgrade --install mysql-backup mysql-backup/mysql-backup --namespace=my-namespace -f path/to/my-values.yml
For a full list of values, see values.yaml.
MySQL Backup is licensed under GPLv3. See LICENSE for the complete language.