Google Team Drive Support

Bug #1731661 reported by Guy Rutenberg
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

Google Drive now support Team Drives. It would be nice if duplicity would supports Team Drives as a backend.


Revision history for this message
Guy Rutenberg (guyrutenberg) wrote :

PyDrive now supports Team Drives ( This means adding support for Team Drives should be pretty straight forward.

The only problem, I've looked at the PyDrive's backend code, and it parses the backend URL relative to what if figures out to be the root. This codes will always take the root of the regular drive. So in order to support Team Drives one has to specify somehow (an environment variable?) the id of the root directory of the requested Team Drive.

I'll gladly do it myself if someone else thinks too that passing the ID via an environment variable is a good idea.

Revision history for this message
Jon Ander MB (jonandermonleon) wrote :

I too am looking for the implementation of this backend. It's been more than a year. Is there any hope it can be looked into?
I can help test if needed.

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :


My gut feel is that an environment variable doesn't fit too well with the way we do other things, but I'm no expert at the backends. If you're still keen to help, I would suggest posting to the mailing list.

Revision history for this message
julia (julia-inscriptio) wrote :

@Kenneth-Loafman, will the team drive (now called: shared drive) support be added at all?
I would really like to know just a timeline or status for this.

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

Sorry, I need someone to step up and handle this. I don't have the time right now.

Changed in duplicity:
importance: Undecided → Wishlist
Revision history for this message
Guy Rutenberg (guyrutenberg) wrote :


I wanted to take a second look at it, however it seems like PyDrive is an abandoned project. The last release was more than 3 years ago. The pull-request adding support for Shared Drives has been merged to master but wasn't released. I'm not sure if we want to add support to Shared Drive that will require installing PyDrive directly from git.

Changed in duplicity:
status: New → Fix Committed
milestone: none → 0.8.15
Changed in duplicity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions