/mysql-to-gdrive

Tools for backup active mysql database to Google Drive automatically

Primary LanguagePHPApache License 2.0Apache-2.0

MySQL to GDrive

Description

Tools for backup active mysql database to Google Drive automatically, with PHP

Guide

  • Clone this repo
  • Composer update
  • Move the Drive.php to ./vendor/google/apiclient/src/Google/Service (replace the existing)
  • Create API creadentials by following this step
  • Put the client.json as client_secret.json in this root directory
  • Create .env based on .env.example file as your system config