OPNsense Forum

English Forums => Development and Code Review => Topic started by: waf on April 13, 2023, 04:01:11 pm

Title: Backup on Google Drive - shared folder
Post by: waf on April 13, 2023, 04:01:11 pm
Hello,
there are a simple fix that permit to send backup to a Shared Drives on Google Drive.

Now the request is:

Code: [Select]
GET /drive/v3/files/<ID-file> HTTP/1.1
Host: www.googleapis.com
Content-length: 0
Authorization: Bearer <access Token>

It need to modify with this:

Code: [Select]
GET /drive/v3/files/<File ID>?supportsAllDrives=true HTTP/1.1
Host: www.googleapis.com
Content-length: 0
Authorization: Bearer <access Token>>

Many thanks
Title: Re: Backup on Google Drive - shared folder
Post by: keith burtt on July 11, 2023, 05:47:19 pm
How did you do this manually as we are having the same issue backing up to google shared drive where is the code located.

Many thanks