Public | Automated Build

Last pushed: 2 years ago
Short Description
Backs up Mysql to Amazon S3
Full Description

Backup container for mariadb instances

This image provides a cron daemon that runs daily backups from mysql (clustered or single instance) to Amazon S3.

Following ENV variables must be specified:

  • MYSQL_HOST contains the remote host (hostname or IP) connection string for mysqldump command line client option -h
  • MYSQL_PORT contains the remote port number for mysqldump option -P
    • in case of a single instance
  • MYSQL_ROOT_PASSWORD password of user root who has access to all dbs. Default value is the value of MYSQL_PASSWORD
  • MYSQL_USER mysql user, default: root
  • S3_URL contains address in S3 where to store backups
    • bucket-name/directory
  • CRON_SCHEDULE cron schedule string, default '0 2 *'
Docker Pull Command
Source Repository