3 Google Drive
Rob edited this page 2021-01-25 15:28:50 -06:00

Deprecation Notice

Due to the move to Python 3 starting with Kodi v19 (Matrix) the option for Google Drive as a storage target was removed. Many of the libraries needed were not Python 3 compatible. This may change in the future however current Matrix compatible versions of the Backup addon don't have Google Drive support. An alternative method to get backups already in Google Drive would be to download them locally first for restoration.

Instructions

Using the Google Drive target is very similar to the Dropbox one. You must create a Google API project and authenticate your account via the id and secret. Instructions for enable the Google API for Google Drive can be found here (https://developers.google.com/api-client-library/python/start/get_started). You'll need the client id and client secret generated for the addon settings. You only need to follow Step 1.

Once you have your app key and secret add them to the settings. These settings will need to get saved first before you can hit the authorize button so follow these steps:

  1. Enter your key and secret into the addon settings dialog.
  2. Click "OK" to save and close the settings.
  3. Open the settings dialog back up and confirm they are still there.
  4. Now hit authorize.

You'll get a popup with a TinyURL to enter in a browser on your phone, tablet, or computer. Click OK and you'll see a notification to enter your authorization code. You'll get this code after authorizing the app via your browser. Put the code from your browser into the pop-up dialog. The addon will cache these credentials so it should be a one-time authentication unless you revoke Google Drive permissions.