Mongo backup tools based on official image
2.2K
Use mongodump from official mongo image to make regularly backups of your mongo database with cron in /backup.
See the docker-compose.yml example in this repo. This is a typical setup in a service stack
0 0 * * * by default, which is every day at 00:00To restore database from a certain backup, simply run:
docker exec fradelg/mongo-backup /restore.sh /backup/2017.08.06.17.19
Content type
Image
Digest
Size
137.7 MB
Last updated
almost 9 years ago
docker pull fradelg/mongo-backup