Public | Automated Build

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

(placeholder)

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_ACCESS_KEY_ID=YOURAWSACCESSKEYID \
  -e AWS_SECRET_ACCESS_KEY=YourSecretAccessKey \
  siomiz/postgresql-s3

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
Owner
siomiz
Source Repository