New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Team Drive targets in Google Drive #2515

Open
thirtythreeforty opened this Issue May 31, 2017 · 6 comments

Comments

Projects
None yet
7 participants
@thirtythreeforty
Copy link

thirtythreeforty commented May 31, 2017

I have:

  • searched open and closed issues for duplicates

Version info

Duplicati Version: 2.0.1.61_experimental_2017-05-30
Operating System: CentOS 7.3
Backend: Google Drive

Bug description

I would like to be able to select a Team Drive (from G Suite for Business) as a backup target. Currently I can only use my personal Google Drive.

I think this mainly involves setting the relevant Team Drive request parameters (see the list API call, for example).

I'd be happy to help test or even implement this if someone can guide me.

@kenkendk

This comment has been minimized.

Copy link
Member

kenkendk commented Jun 2, 2017

I do not have a Team Drive to test with, but the list call is made here:
https://github.com/duplicati/duplicati/blob/master/Duplicati/Library/Backend/GoogleServices/GoogleDrive.cs#L459

You can perhaps just add includeTeamDriveItems=true to the url here:
https://github.com/duplicati/duplicati/blob/master/Duplicati/Library/Backend/GoogleServices/GoogleDrive.cs#L467

If there is some downside to including Team Drive results, you can add an option here:
https://github.com/duplicati/duplicati/blob/master/Duplicati/Library/Backend/GoogleServices/GoogleDrive.cs#L302

Instructions for building are here:
https://github.com/duplicati/duplicati/wiki/How-to-build-from-source

@gfrewqpoiu

This comment has been minimized.

Copy link

gfrewqpoiu commented Jun 22, 2017

I would love to see this included in Duplicati. Not sure if it is helpful but Rclone has implemented this with the following changes:
Link to commit
I can provide a team drive for testing if needed.
On the frontend it probably needs some kind of selector for the user which team drive to use (because Team drive IDs aren't visible in the Drive UI).

@hiyukoim

This comment has been minimized.

Copy link

hiyukoim commented May 7, 2018

@kenkendk 
I have Team Drive not in use at all. I can invite you while the development.
If you're interested, please send me a private message me so that I can add your email which is associated to your Google Drive.
Another place you can get your own Team Drive in budget is ebay.
When they say "Google Drive Unlimited", it means that they will give you a team drive with their domain.
I bought the space for my encrypted backup files, but I couldn't access to it with the most of the backup apps, because its API is different from that of My Drive.
Anyways, I'd love to see this feature in Duplicati, too!

@pymenow

This comment has been minimized.

Copy link

pymenow commented Jun 26, 2018

Hello ,
I am using the latest beta 2.0.3.3 but still cannot get the Team Drive as backup destination folder.
It seems to only look for folders in my drive.

@jirijanata

This comment has been minimized.

Copy link

jirijanata commented Sep 10, 2018

Hi, I've tried Team Drive, but it doesn't work. I can share some Team Drive to your account, if you have sometimes time to work on it.

I tried in to put folder name, which is on Team Drive and also just name of the Team Drive, but both doesn't work.

Thank you for your amazing work!

@methanoid

This comment has been minimized.

Copy link

methanoid commented Sep 29, 2018

The absence of team drive (Filestream) support is what puts me off using Duplicati :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment