Connects to a Postgres instance and creates a backup in S3.
1.1K
Simple Docker backup script for Postgres which uploads database dumps to S3.
docker run \
-e "AWS_ACCESS_KEY_ID=<variable>" \
-e "AWS_SECRET_ACCESS_KEY=<variable>" \
-e "AWS_DEFAULT_REGION=<variable>" \
-e "S3_BUCKET=<variable>" \
-e "S3_PREFIX=<variable>" \
-e "POSTGRES_HOST=<variable>" \
-e "POSTGRES_PORT=<variable>" \
-e "POSTGRES_DB=<variable>" \
-e "POSTGRES_USER=<variable>" \
-e "POSTGRES_PASSWORD=<variable>" \
waffleau/postgres-s3-backup
Content type
Image
Digest
Size
47.6 MB
Last updated
about 10 years ago
docker pull waffleau/postgres-s3-backup