0

Trying to use duplicity to list files in a backup that is in google drive. I get the error as in the title.

  • I can see the folder and contents if I go to drive.google.com in the browser.
  • I created a service account and downloaded the json file as defined here
  • The url I use is gdrive://${GOOGLE_SERVICE_ACCOUNT_URL}/${FOLDER_NAME}?myDriveFolderID=root
  • GOOGLE_SERVICE_ACCOUNT_URL is the same as client_email in the json fle
  • FOLDER_NAME is the textual name I see in the web browser
  • The drive is for a company account and usually I access it by logging in normally, but with my work email
IttayD
  • 1,157
  • 4
  • 12
  • 14

1 Answers1

0
  • Need to share the drive with the service account
  • Neet to not user FOLDER_NAME and instead use its ID in myDriveFolderID
IttayD
  • 1,157
  • 4
  • 12
  • 14