Mysql Cloner
Using mysqldump
to clone data from source database to a target database.
Environment variables
MYSQL_HOST: mysql1
MYSQL_PORT: "3306"
MYSQL_USER: user1
MYSQL_PASS: secret
MYSQL_DATABASE: db1
TARGET_MYSQL_HOST: mysql2
TARGET_MYSQL_PORT: "3306"
TARGET_MYSQL_USER: user2
TARGET_MYSQL_PASS: secret
TARGET_MYSQL_DATABASE: db2