backup-all-mysql
Docker image to do automatic backups of a mysql DB.
Directory Structure
- .env
- docker-compose.yml
docker-compose.yml
version: "3"
services:
mysql-backup:
image: dsteinkopf/backup-all-mysql:latest
environment:
- BACKUP_INTERVAL=20000
- BACKUP_FIRSTDELAY=3600
links:
- mysql
restart: always
volumes:
- /opt/dockervolumes/wordpress/mysql-backup:/var/dbdumps
- /etc/localtime:/etc/localtime
- /etc/timezone:/etc/timezoneResources
GitHub: https://github.com/dsteinkopf/backup-all-mysql
Docker Hub: https://hub.docker.com/r/dsteinkopf/backup-all-mysql
Configuration: https://github.com/dsteinkopf/backup-all-mysql#setup