docker-compose-dbbackup/README.md

4 lines
406 B
Markdown
Raw Permalink Normal View History

2022-06-09 15:36:03 +12:00
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.