Skip to content

antob/docker-mongo-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker MongoDB Backup

A simple docker container that runs MongoDB backups.

To restore a backup, attach to the running mongo-backup container:

$ kubectl exec mongodb-2ixq3 -c mongo-backup bash $ source /mongodb_env.sh $ cd /backups/2015/12 $ tar xvf app.2015-12-13.dump.tgz $ mongorestore -h mongodb:27017 -d app /backups/2015/12/dump/app --drop

About

A simple docker container that runs MongoDB backups.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published