Skip to content

samirant15/mysql-backup-google-drive-cron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MySQL backup to Google Drive Cron Job

Simple cron job that creates a backup from a MySQL DB and uploads it to Google Drive

Getting Started

  1. 📦 Install dependencies
npm install 
  1. ⚙️ Configure .env file
  • (You'll need a Google OAuth 2.0 Client ID, Secret & Redirect URI)
  1. 🛠️ Build the app
npm run build 
  1. 🚀 Start cron job
npm run start 

or

pm2 start pm2/ecosystem.config.js

About

Simple cron job that creates a backup from a MySQL DB and uploads it to Google Drive

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published