MySQL backups to S3
A simple NodeJS application to backup your MySQL database to S3 via a cron.
MySQL backups to S3
Natuz/mysql-s3-backup
Just deployed
Overview
This template starts a small Node.js app that automatically creates a database dump and saves it to an S3 bucket by schedule.
Setup
To start the app just need to add environment variables to specify the database (DB name, host, user, password), the S3 bucket you want the dump to be saved to (access ID, secret ID, bucket name, bucket region), and cron schedule.
By default, the cron is running daily at 5 am.
Template Content
MySQL backups to S3
Natuz/mysql-s3-backupAWS_S3_BUCKET
S3 bucket name.
AWS_S3_REGION
S3 bucket region name.
AWS_ACCESS_KEY_ID
Access key ID.
BACKUP_DATABASE_HOST
Database host.
BACKUP_DATABASE_NAME
Database name.
BACKUP_DATABASE_USER
Database user name.
AWS_SECRET_ACCESS_KEY
Secret access key.
BACKUP_DATABASE_PASSWORD
Database password.