A script which periodically backs up MySQL/MariaDB in a Docker container and retains a desired set.
| conf.d | ||
| .gitignore | ||
| LICENSE | ||
| mysqlbackup | ||
| mysqlbackup-cron | ||
| README.md | ||
The purpose of this script is to backup the contents of Docker container-based database (either MySQL or MariaDB) to a local 'dump' file (SQL format), which is then compressed to conserve disk space.
The system is designed to be run regularly (perhaps hourly, or daily) via cron, and to keep a pre-determined (via configuration) number of past, deleting excess backup files to conserve disk space.