DEPRECATED. Move to Packages at github.com/sil-org/mysql-backup-restore
10K+
Service to backup and/or restore mysql databases using S3
MODE=[backup|restore]
DB_NAMES=name1 name2 name3 ...
MYSQL_USER=
MYSQL_PASSWORD=
MYSQL_DUMP_ARGS= (optional) additional arguments to the mysqldump command, e.g., --max_allowed_packet=50M
AWS_ACCESS_KEY= used for S3 interactions
AWS_SECRET_KEY= used for S3 interactions
S3_BUCKET= e.g., s3://database-backups NOTE: no trailing slash
It's recommended that your S3 bucket have versioning turned on.
This image is built automatically on Docker Hub as silintl/mysql-backup-restore
cp local.env.dist local.env and supply variablesgz dump in your S3 bucket to be used for testing. A test database is provided as part of this project in the test folder.makeA UI into the local database will then be running at http://localhost:8001
A couple of test databases are provided in the test folder if needed.
Content type
Image
Digest
sha256:ffa8d4368…
Size
54.5 MB
Last updated
9 months ago
docker pull silintl/mysql-backup-restore:mainPulls:
112
Last week