An open API service indexing awesome lists of open source software.

https://github.com/skillkiller/restic-rclone-gdrive-test


https://github.com/skillkiller/restic-rclone-gdrive-test

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# Restic Backup Test Repository

This repository is for testing the behavior of **Restic** in combination with **Rclone** and **Google Drive** using a custom Google OAuth application.

The application has a restricted scope, which is different from what's recommended in the Rclone documentation. This is an attempt to avoid the need for Google to verify the application.

The main purpose of this repository is to determine if an unverified application can maintain an OAuth grant for longer than one week, which, according to the official documentation, is the default behavior if specific scopes are set.

---

### Excerpt from the Rclone Documentation

> Be aware that, due to the "enhanced security" recently introduced by Google, you are theoretically expected to "submit your app for verification" and then wait a few weeks(!) for their response; in practice, you can go right ahead and use the client ID and client secret with rclone, the only issue will be a very scary confirmation screen shown when you connect via your browser for rclone to be able to get its token-id (but as this only happens during the remote configuration, it's not such a big deal). Keeping the application in "Testing" will work as well, but the limitation is that any grants will expire after a week, which can be annoying to refresh constantly. If, for whatever reason, a short grant time is not a problem, then keeping the application in testing mode would also be sufficient.

[rclone Google Drive docs](https://rclone.org/drive/#making-your-own-client-id)

---

### Scope for this Test

For this specific test, only the following scope is set:

- `https://www.googleapis.com/auth/drive.file`

This scope is considered a **non-sensitive scope**, which means the application's verification status is "Verification not required."