1.0.2

Google Drive Backup

Allows you to perform auto database backup to Google Drive.

By the first we need to enable API and get credentials

Open the google console console.cloud.google.com, APIS - Dashboard

Image

Create project

Image
Image

Next need to enable the Google Drive API

Image
Image
Image

Create credentials

Image
Image
Image
Image

Your domain here, any email

Image

Next click Save and continue change nothing, then Back to dashboard, and on the next screen

Image

Now go to credentials

Image

You can find Redirect URI at the addon settings

Image
Image

After Google Drive are saved you can download JSON file with settings. Name it credentials.json

Image

Move downloaded file to app/addons/csc_google_backup/lib folder on your store

Image

Go to addon settings and update token. Give permissions to google. If you get an error just ignore it.

Image
Image

Now there should be a green label

Image

Open the google drive folder that you will use for backups, copy folder ID and put it to addon settings

Image

In addon settings you can find a command for cron to backup automatically, alsi this link (selected on screen) you can run manually in browser for one time run.

Image