Sign inSign up

waffleau/postgres-s3-backup

By waffleau

Updated about 10 years ago

Connects to a Postgres instance and creates a backup in S3.

Image
0

1.1K

waffleau/postgres-s3-backup repository overview

Simple Docker backup script for Postgres which uploads database dumps to S3.

Usage
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

Tag summary

Content type

Image

Digest

Size

47.6 MB

Last updated

about 10 years ago

docker pull waffleau/postgres-s3-backup