Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.28 KB

File metadata and controls

29 lines (23 loc) · 1.28 KB

🎉 Digital Ocean S3/Object Storage Mysql Backup ( kubernets cronjob, local script, local docker container )

GitHub Release Date: GitHub release (latest by date) Github issues GitHub open pull requests GitHub closed pull requests

Backup mysql into s3/space from DigitalOcean

How to

Deploy on k8s

Update namespace: mysql with your namespace

kubectl apply -f cronjob.yml

Run locally using docker

docker run --name mysql-backup-s3 --env-file ./env ghcr.io/ricristian/digitalocean-s3-k8s-mysql-cronjob:v1.0

TO DO:

  • Replace static data retention ( 7 days ) to a dynamic variable
  • Improve documentation
  • Add environment variables to cronjob.yml (k8s)
  • Add more running examples for different os & distributions ( mac os, linux)
  • Test into a live k8s cluster & mysql stateful set