An Ansible role to backup Postgres to S3.
This role to sets up a cron job that streams a Postgres database dump in S3 using
minio. The backup script is able to rotate the backups such that only the last n
are
kept.
- ansible
- boto
It is assumed the host is a Debian based machine.
For a list of configuration options, please see the defaults file.
It is possible to test the role using run-tests-in-docker.sh
. In order for this to work, docker
and docker-compose
must be setup on your test machine.