Skip to content

Testing a cron based backup for docker based databases

Notifications You must be signed in to change notification settings

usnistgov/crontest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

crontest

Testing a cron based backup for docker based databases

Backup Container

I originally started to write my own backup container, but I found a nice image that existed. It's built based on the postgresql:9.4 image, so it can be rebuilt to match the version that we are using. Just change the FROM line in the dockerfile. The project source is located at https://github.com/istepanov/docker-pg_dump but I added the code in (just in case it disappears).

I have added an option to set "PGDB" which is the name of the database you are backing up. By default it will dump the "postgres" DB.

About

Testing a cron based backup for docker based databases

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages