jantman/mysqldump-s3
Dump all MySQL/MariaDB databases and sync results to an S3 bucket
658
Docker container to run mysqldump on a DB and sync results to S3. Usable as a scheduled job, i.e. an ECS task on a schedule.
MYSQL_HOST
- MySQL host or IPMYSQL_USER
- MySQL usernameMYSQL_PASS
- MySQL passwordBUCKET_NAME
- S3 Bucket NameMYSQLDUMP_OPTS
- Options for running mysqldump
. Defaults to: --verbose --comments --create-options --dump-date --routines --triggers
DUMP_DATE_FORMAT
- Format string (passed to date
) for backup suffix. Defaults to: %H
BUCKET_PREFIX
- Prefix to sync files to in the S3 bucket. Defaults to: mariadb_backups/
SKIP_DBS
- Comma-separated list of database names to skip dumping. Defaults to: information_schema,mysql,performance_schema
docker pull jantman/mysqldump-s3