A Bash script version backup dumps of a database in a docker container managed by Docker Compose
.gitignore | ||
dbbackup-cron | ||
dbbackup-docker-compose | ||
default-docker-compose.conf-sample | ||
default-mariadb-docker-compose.conf-sample | ||
LICENSE | ||
mariadbbackup-docker-compose | ||
pgdbbackup | ||
README.md |
The purpose of this script is to backup the contents of Docker container-based database (either PostgreSQL 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.