Duplicati and Google Drive paths

I don’t see this when I try to OAuth

Thank you @kenkendk for your help, but neither do I see the options. Duplicati asks me to select the service first and then only calls the OAuth handler page for the dedicated service, which in my case is Google Cloud - limited access.

Got it, copy the URL, remove the type=parameter and open in a separate window, copy the AuthID and it works

I am new at Duplicat and find this is an great software product.
I have read the lines above, but i did not get my scenarion to run.
Duplicati on local PC > backup to google drive > shared to me section
My problem is that i have an small google account with the 15GB default size > is to small for my BAckup.
So i get an unlitted team Drive shared to > seen under shared with me.
My question is > how can use this space as backup target and which string must in target folder of the backup configuration?
I found nothing really helpful at google, only this thread in this forum.

Hi @Timpeltu, welcome to the forum!

I believe Google Teamdrive support is still experimental. :frowning:

Thanks for the quick answer. The hint with --googledrive-disable-teamdrive=true at default was very useful!
I Testet it with a new BAckup Configuration.

so i put a advanced option in
–googledrive-disable-teamdrive=false (disabled the checkbox)

The Path in gDrive is
Teamablagen/BCK_Holzhirsch.BCK/_BCK (german google account)

when i put this path in destination an click check > the path is not found.

i guess i have to use another string for the detination. Could anyone give me a hint?
The Screenshot shows the Gdrive

BCK%20%E2%80%93%20Google%20Drive
Thank you!

For experimental purposes, test a path that is not so deep, such as trying a not-currently-present single-level, then let the “Test connection” button on the “Destination” screen make folders (which you can delete later) as needed. Duplicati’s default use of regular Google Drive (and I can’t say anything about Team Drives) only lets Duplicati access what it makes (security feature), and I’m not sure it can make multiple path levels in one shot.

Unable to restore from Google Drive talks about this more, and how security can be relaxed, if you prefer that.

Hello Thank you for your suggestion.
I testet with
image
in destination field i put
Teamablagen
Team drives
Teamablagen/test
Team drives/Test
and all these were not found > so i let duplicati create Folders > they were created in meine Ablagen, so no Teamdrive Folder is used as base?

Is there any idea for the string which had to be brought in destination field?

i forgot to mention that i used for the testing the Duplicati for Google Drive (full access) outh

Another test:
When i put only ‘team drives’ in destination field > the process when test connection worked. The backup runs complete an the restore shows the files, but when i look at the teamdrive folder > i cant see any file? Where are they?

The test shows that duplicati uses the space of gmail account > not the teamdrive. ;o(

I think it was thought to be experimental when developer access stopped working midstream somehow, but it might be worse than that. I’m not sure if I’ve ever heard of a report of an end user able to get Team Drive up.

For Team Drive access, there have been offers of assistance such as here and recently here by @Timpeltu however there might also be some lingering API questions from the lead developer (who is also super-busy).

Maybe a workaround can be built out of rclone support (see docs) and Duplicati using Rclone storage type?

I’ve not used rclone before but to make sure I’m following you, are you suggesting we can use the Rclone Destination type in Duplicati but point it to a Google Tream Drive URL (Rclone with Google Team Drives)?

That’s the suggestion. I’m not sure what the performance will be, but it does give us some additional options. Features that I think may get lost with Rclone include IStreamingBackend throttling and progress information. Basically, a choice between not getting there at all (unless somebody has a way) versus mostly getting there.

This is the URL we need to use to authorise Duplicati full access.

https://duplicati-oauth-handler.appspot.com/?

@kenkendk
Because i am transferring my backup from another cloud to google drive, i need this because manual copying is not working for duplicati to backup and restore. I have a question that giving access to duplicati is that we are giving access to any third party application or storage or it will remain to my duplicati login only. How safe is this?

@mmsaaa Using the “full access” option will allow Duplicati (and anyone with the token) to access and modify all files on your Google Drive.

In itself, it is not unsafe, but it grants way more access than what is required. Google has announced that they will remove this option, except for applications with a security review. So far they do not appear to have started enforcing this.

I have not yet seen a way that you can mark files as belonging to Duplicati, which would be really nice when you upload through some other means.

The only way I have found that you can make files that Duplicati owns, and thus using the limited access, is to upload with Duplicati. There is a Duplicati.CommandLine.BackendTool.exe distributed with the main application that you can use to make commandline transfers. Files transfered this way, using the auth-token from the link you posted, will be “owned” by Duplicati.

You can use this tool to upload files, but it is not as easy as dropping files via the Drive website.

Thank you so much for your guidance.
I earlier thought to transfer from another cloud to Google drive through flexify.io which is very fast. But as
you said that Google might change its policy so Instead of loosing I will backup directly from my local drive again, it will take time but it is safer option.

Hello. How can I see this menu? I only have google drive limited login. I need to backup to a shared drive. How can I set the path?

What I would do is create a folder in your personal drive, and then put it into a shared folder (if you know what I mean)

see my post here for solution , the manual is wrong on path :