Skip to content

Docker image with PostgreSQL and AWS CLI installed for backing up a pg database to S3.

License

Notifications You must be signed in to change notification settings

wearemolecule/postgres-s3-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

postgres-s3-backup

Docker image with PostgreSQL and AWS CLI installed for backing up a pg database to S3.

Usage

Start image

docker run --name some-image-name -e PGHOST="" -e PGPORT="" -e PGDATABASE="" -e PGUSER="" -e PGPASSWORD="" -e AWS_ACCESS_KEY_ID="" -e AWS_SECRET_ACCESS_KEY="" -e S3_BUCKET="" postgres-s3-backup

Both aws and psql must be configured in order to run those functions on this image. You can do that by either setting the environment variables in the docker run command, or by setting them through the awscli or psql commands. More information can be found at PSQL's Documentation and AWS' documentation.

Supported Docker Versions

This image is officially supported on Docker version 1.12.5.

About

Docker image with PostgreSQL and AWS CLI installed for backing up a pg database to S3.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages