forked from r00tat/grive2
-
Notifications
You must be signed in to change notification settings - Fork 2
Setup
Agustin Alexander edited this page Nov 29, 2022
·
12 revisions
Please follow these steps before starting:
- Go to https://github.com/sabeechen/hassio-google-drive-backup/blob/master/LOCAL_AUTH.md and follow the Google Drive auth setup guide from sabeechen
- Append your CLIENT_ID and then go to this URL https://accounts.google.com/o/oauth2/auth/oauthchooseaccount?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code&client_id= FILL_HERE_YOUR_CLIENT_ID
- Give permission to the app and copy the CODE provided
- Fill in the Parameters with CLIENT_ID, SECRET, and CODE
- Run it the first time and let it start Sync
- Once it starts you can now remove the CODE variable from this template to be safe
- Enjoy Grive2!!
- Set GRIVE_PARAMS to for example -s my_drive_folder to sync that specific folder on Google Drive
- Leaving this field blank will sync your whole Google Drive.
- Set up a crontab on CRON https://crontab.guru/