GDrive: Automatic refresh of oauth2 access token
"Norman J. Goldstein via Duplicity-talk" <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.duplicity.general |
|---|---|
| Message-ID | <[email protected]> |
Started backing up my system to MyDrive using duplicity with GDrive backend. As expected, after a week, access was denied. A common "problem" is the testing access token expires after 7 days. The good news, is that we are given a refresh token that allows us to either refresh our current access token, or get a new access token (I don't know which). This will happen automatically if the client library is set to "offline" access. Or, we can write a script to send Google the refresh token and get back a rejuvenated setup. Does duplicity have a way to help/enable this refreshing of access token? I tried publishing my "app", but, given my situation (private use), Google recommended to remain as testing. Thank you. _______________________________________________ Duplicity-talk mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/duplicity-talk