https://github.com/mailtop/postgres-dump-maker
Make a PostgreSQL dump and sends to S3 bucket
https://github.com/mailtop/postgres-dump-maker
docker docker-image postgresql
Last synced: 3 months ago
JSON representation
Make a PostgreSQL dump and sends to S3 bucket
- Host: GitHub
- URL: https://github.com/mailtop/postgres-dump-maker
- Owner: mailtop
- Created: 2017-09-27T19:14:05.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-28T13:53:23.000Z (about 8 years ago)
- Last Synced: 2026-04-13T00:41:59.028Z (3 months ago)
- Topics: docker, docker-image, postgresql
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The PostgreSQL Dump Maker
[](https://microbadger.com/images/mailtop/postgres-dump-maker "Get your own version badge on microbadger.com")
[](https://microbadger.com/images/mailtop/postgres-dump-maker "Get your own image badge on microbadger.com")
This image creates a database dump, compress it, and send to an S3 bucket.
* Based on `postgres:10.3-alpine`
* Contains `aws-cli/1.15.30 Python/2.7.14 Linux/4.9.87-linuxkit-aufs botocore/1.10.30`
## Usage example
```
docker run -it --rm \
-e POSTGRES_HOST="hostname or IP" \
-e POSTGRES_USER="user name" \
-e POSTGRES_PASSWORD="secret password" \
-e POSTGRES_DB="database name" \
-e AWS_ACCESS_KEY_ID="access key" \
-e AWS_SECRET_ACCESS_KEY="access secret" \
-e AWS_REGION="your region" \
-e AWS_S3_BUCKET="s3://bucket name" \ # without the final /
mailtop/postgres-dump-maker
```
[Docker Hub](https://hub.docker.com/r/mailtop/postgres-dump-maker)