Public | Automated Build

Last pushed: 3 months ago
Short Description
dumps postgresql, encrypts with gpg, uploads to Amazon S3
Full Description


dumps all postgres database contents, encrypts it using gpg, and put the end product to Amazon S3 bucket.

docker run --rm --link postgres:postgres \
  -e GPG_PUBKEY_ID=00000000 \
  -e S3_KEY=s3://example/all.sql.gpg \
  -e AWS_SECRET_ACCESS_KEY=YourSecretAccessKey \

the container automatically exits, so -d is not used.

-e AWS_ACCESS_KEY_ID and -e AWS_SECRET_ACCESS_KEY are optional at docker run command; if you docker run -it without one or both of them you will get prompt(s).

Docker Pull Command
Source Repository