Backup a PostgreSQL database to an S3 bucket. <group> <count>

The last <count> backups per group <group> are kept.

The following crontab schedule would perform daily, weekly, monthly and yearly backups:

@daily daily    7
@weekly weekly   4
@monthly monthly 12
@yearly yearly   2

Environment variables

Field Type Required Description
BUCKET_CONFIG_NAME string yes Name of an environment variable with bucket configuration
POSTGRESQL_USER no yes PostgreSQL user name
POSTGRESQL_PASSWORD yes yes PostgreSQL password
POSTGRESQL_HOST no yes PostgreSQL host
POSTGRESQL_DATABASE no yes PostgreSQL database