Docker image for PostgreSQL rotated backups. Inspired by scripts for rotated backups from PostgreSQL wiki.
This image is considered to be run periodically by cron (rancher cron for example). On every execution it makes as many dumps as specified in environment variables. See docker-compose file for examples.
docker-compose up
then check your backups/backups
directory.