Public | Automated Build

Last pushed: a year ago
Short Description
mysql-backup database remote host from container debian
Full Description

Dockerfile for backup MariaDB/Mysql database

Thanks jerob

example:

docker pull babim/mysql-backup

with root backup all data:

docker run -it --name mysql-backup -v /mysqlbackup:/backup -e HOST=192.168.1.10 -e PROTO=3306 -e ADMIN=root babim/mysql-backup

with user backup user's all data:

docker run -it --name mysql-backup -v /mysqlbackup:/backup -e HOST=192.168.1.10 -e PROTO=3306 -e MUSER=demo babim/mysql-backup

with user backup each data:

docker run -it --name mysql-backup -v /mysqlbackup:/backup -e HOST=192.168.1.10 -e PROTO=3306 -e MUSER=demo -e DBS=wordpress babim/mysql-backup
Docker Pull Command
Owner
babim
Source Repository