Skip to content

A simple script to create mysql backup and upload it on google drive.

Notifications You must be signed in to change notification settings

mubbashir10/backup_mysql_google_drive_node_js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

  1. Clone the repo:
git clone https://github.com/mubbashir10 backup_mysql_google_drive_node_js.git
  1. cd into the project and run npm install (to install dependencies)
cd backup_mysql_google_drive_node_js
npm install
  1. edit index.js and enter your database credentials

  2. create google service account (https://developers.google.com/identity/protocols/OAuth2ServiceAccount#creatinganaccount), generate a private key (in json format) and place it in the root of the repo and rename it as 'private_key.json'

About

A simple script to create mysql backup and upload it on google drive.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published