dumps postgresql, encrypts with gpg, uploads to Amazon S3
2.1K
(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).
Content type
Image
Digest
sha256:70d7393f4…
Size
44.6 MB
Last updated
over 8 years ago
docker pull siomiz/postgresql-s3