Public | Automated Build

Last pushed: 2 years ago
Short Description
MySQL backup script in a Docker image.
Full Description

MySQL backup Docker image

Production ready Docker container for MySQL backup.

Features - why using this image instead of several others?

  • Uses alpine base image
  • This image is as small as possible
  • Uses linked MySQL DB
  • Waits for MySQL container to be ready
  • Uses cronjob to call backup script
  • Writes .sql.bz2 files to /backup for every database in the linked MySQL server

Usage

sudo docker run \
  -v ./backup:/backup \
  -e MYSQL_HOST=db \
  -e MYSQL_ROOT_PASSWORD=password \
  konjak/mysql-backup

Status

Production stable.

Docker Pull Command
Owner
konjak
Source Repository

Comments (0)