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