MyDumper Docker Image with awesome features coming.
1.2K
This is a gcavalcante8808/mydumper docker image based no alpine 3.6 and Percona MyDumper.
You can use (docker-compose) to spin up a MySQL Server and the mysqldumper using the docker-compose.yml file provided in this project in the following way:
mkdir test && cd test
wget https://raw.githubusercontent.com/gcavalcante8808/docker-mysqldumper/master/docker-compose.yml
docker-compose up
The container for mydumper will start, create the backup then exit with status 0. (You can see the exit code with docker ps and logs with docker logs <CONTAINER>.
The backups are created with --compress and in the following folder pattern:
<BACKUP_FOLDER>/<DB_NAME>-
The container uses the following environment variables (theh bold ones are required) :
S3 Endpoints are now supported! You need to provide the following env vars:
The entrypoint will check the existence of 'S3_ACESS_KEY_ID' and will proceed with s3 backup and backup_folder removal.
The support is provided by the Minio Client, check the https://github.com/minio/mc for more details.
The container was tested against a MinioServer and a DigitalOcean Space.
The Following features mark the roadmap for a more usefull (Aka 1.0) version:
Author: Gabriel Abdalla Cavalcante Silva ([email protected])
Content type
Image
Digest
Size
17.5 MB
Last updated
over 7 years ago
docker pull gcavalcante8808/mydumper