Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 561 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 561 Bytes

Backups

Docker image for PostgreSQL rotated backups. Inspired by scripts for rotated backups from PostgreSQL wiki.

How it works

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.

Usage

How to run locally

docker-compose up

then check your backups/backups directory.