MYSQL_USER
MYSQL_PASS
MYSQL_HOST
MYSQL_DB
RCLONE_TOKEN
- JSON token for rclone. This is found in yourrclone.conf
DEST_DIR
- Directory on google drive for backup
copy.sh
is the main script, but docker or k8s is how it's meant to be run.
There's a docker-compose.yml
that can be used for a docker-compose run
. For cron jobs, using this image as a base and adding a cron job is likely the way to go
There's a k8s-config.yaml
example of a cronjob. The rclone token and MySQL pass are treated as secrets