Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (19 loc) · 410 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 410 Bytes

Postgres Backup Script

Script for backing up postres database dumps to AWS S3

Start

docker run --rm \
  -e PGHOST="" \
  -e PGPORT="" \
  -e PGDATABASE="" \
  -e PGUSER="" \
  -e PGPASSWORD="" \
  -e AWS_ACCESS_KEY_ID="" \
  -e AWS_SECRET_ACCESS_KEY="" \
  -e S3_BUCKET="" \
  CoderDojo/pg-backup

Build

docker build . --tag=coderdojo/pg-backup

Push

docker push coderdojo/pg-backup