Skip to content

ID-BPHC/mongodb-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

mongodb-backup

Takes mongodump of all DBs of server everyday at 3am

Uses cronjob : 0 3 * * * /backups/mongo-backups.sh

To make changes to the script: sudo nano /backups/mongo-backups.sh

To make changes to cronjob:
Run sudo crontab -e to open the editor and then make changes accordingly.
Note: Mess with this only if you know what you're doing!

About

Takes mongodump of server everyday

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages