Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 356 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 356 Bytes

How To Set Up Scheduled MongoDB Backups with a Bit of Node.js.

With a couple of dependencies and some JavaScript, you can set up automatic backups on your servers for your MongoDB instances.

#There's two environemtn variable 1- DB_BACKUP_TIME - when to take backup 2- DB_URI - your db url

All other options in backup.js file in dbOptions object