Duplicity does not cache gdocs verification code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Duplicity 0.7.10
Python 2.7.5
PyDrive 1.3.1
CentOS 7
I am using Duplicity to perform a daily backup of a file server to a regular Google Drive account. I've written a basic script to perform the backup based on several blog posts (such as the one here: http://
The backup works perfectly and it stores 1GB encrypted files in the users Google Drive as per the below however everytime I run the backup I am always prompted for a verification code. The gdrive.cache file is never created and I have not been able to track down why this is. I've ensured the permissions are correct and duplicity can write to the directory and the script is run as root.
Many thanks in advance for your help
Owen
The script:
#!/bin/bash
cd /root/.duplicity/
export PASSPHRASE=
export GOOGLE_
duplicity incr --full-
unset PASSPHRASE
unset GOOGLE_
The gdrive settings file:
client_
client_config:
client_id: [Client ID].apps.
client_secret: [Client Secret]
save_credentials: True
save_credential
save_credential
get_refresh_token: True
I am affected by the same issue.
My gdrive settings file contains the same as above (except redacted parts of course). The cache file does not exist either, despite correct permissions.