You are not logged in.

#1 2019-04-15 18:52:47

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

duplicity fails to backup to google drive backend

I'm trying to run a backup and I get the message:

BackendException: PyDrive backend requires PyDrive installation.  Please read the manpage for setup details.
Exception: No module named httplib2

When running:

duplicity /origin_dir/ gdocs://blablabla@gmail.com/backupfolder


Even though I tried both installing httplib2 from pip3 and from the aur packages....

Any suggestions?

Offline

#2 2019-04-15 19:00:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,423

Re: duplicity fails to backup to google drive backend

Where do you get that gdocs URL from? Is this KDE/Plasma ? KDE's KIO slaves are only implemented and properly compatible for software providing explicit support, which mostly includes every KDE application and excludes anything else.

Last edited by V1del (2019-04-15 19:01:56)

Offline

#3 2019-04-15 19:02:13

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: duplicity fails to backup to google drive backend

Many online manuals and the man pages:
https://linux.die.net/man/1/duplicity

It's pure console, no DE involved here

The credentials have been loaded as an env variable....

Last edited by Xi0N (2019-04-15 19:03:05)

Offline

#4 2019-04-15 19:05:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,423

Re: duplicity fails to backup to google drive backend

Ah whoops, well did you install the relevant opt depends, in particular python2-gdata

Offline

#5 2019-04-15 19:07:06

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: duplicity fails to backup to google drive backend

V1del wrote:

Ah whoops, well did you install the relevant opt depends, in particular python2-gdata


Just did so, no change sad

Offline

#6 2019-04-15 20:59:56

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: duplicity fails to backup to google drive backend

Figured it out: Just installed all the dependencies by hand: Launching the duplicity command with -v8 at the end, you get detailed info of the missing module: install it, rinse and repeat and eventually, you'll be able to run the command.


Now, I can't figure out how to backup to google Teams drive....

Offline

Board footer

Powered by FluxBB