Skip to content

Mongodump backup data store in Google drive automatically (Every day 00.00)

Notifications You must be signed in to change notification settings

stoXmod/Mongodump-to-Google-drive-Node.js-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mongodump to Google drive as a zip (Node.js Express)

  • Clone or download as a zip
  • Open folder with Vscode or something like
  • Open terminal
  • Run npm i
  • Edit .env file with your credentials
  • Open config/cron.js and set cron value to * * * * * for development purposes. Its mean cronjob execute every minute. Use (CronGuru) for calculate cron.
  • Open config/backup.js file and change CLIENT_ID,CLIENT_SECRET,REDIRECT_URI,REFRESH_TOKEN and dboption object data.
  • Run on terminal npm start

About

Mongodump backup data store in Google drive automatically (Every day 00.00)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published