djmaze / docker-postgres-backup

Docker image for creating an encrypted postgres backup and storing it remotely

Home Page:https://hub.docker.com/r/decentralize/postgres-backup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Postgres backup

Build Status Docker Stars Docker Pulls

This Docker image allows making a full SQL backup of a postgres database and store it GPG-encrypted on a remote location supported by rclone.

The backup is encrypted asymmetrically, so you need to supply a public key. The holder of the private key will be able to decrypt the backup.

Usage

See docker-compose.yml for an example which stores the backup using S3 on a local minio server.

You can also supply a Healthchecks ping URL in order to be notified of backup success and failure.

About

Docker image for creating an encrypted postgres backup and storing it remotely

https://hub.docker.com/r/decentralize/postgres-backup


Languages

Language:Shell 84.8%Language:Dockerfile 15.2%