We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

Need Help Using Hubic with Duplicity


OderWat
04-09-2014, 11:25 PM
I am using Duplicity with my HubiC Gateway (see: https://forums.hubic.com/showthread....able-at-GitHub). As far as I know it is not possible to do without (besides in manually creating Auth Tokens in the API Explorer).

For me it works very (very!) well. I make backups of a multitude of servers and a lot of data every three hours. Works pretty stable.

I also plan a "stand alone" Gateway Server and made a lot of progression with that but do not have the time to finish this right now.

hackel
04-08-2014, 11:59 AM
After looking at the API docs at https://api.hubic.com/docs/ I assume that SWIFT_AUTHURL=https://api.hubic.com/oauth/auth

Unfortunately, I have not had any luck. duplicity gives me the error:
Connection failed: ClientException Auth GET failed: https://api.hubic.com/oauth/auth 200 OK

And if I try the "swift" command line application, I get:
ClientException: Authorization Failure. Authorization Failed: Bad Gateway (HTTP 502)

I'm thinking Duplicity needs to be assigned a client ID and instructed on how to do it. This may not be possible from the looks of it, but I would very much like to see this functionality in the future!

nanouk
03-28-2014, 02:15 PM
Quote Originally Posted by dyu
Basically the title says it all. I've followed the Duplicity documentation(http://duplicity.nongnu.org/duplicity.1.html), but I don't know what values to use for the following variables:

SWIFT_USERNAME
SWIFT_PASSWORD
SWIFT_AUTHURL
SWIFT_TENANTNAME

SWIFT_PREAUTHURL
SWIFT_PREAUTHTOKEN

SWIFT_AUTHVERSION
I too would be interested in solving that. Any takers?

dyu
03-26-2014, 11:02 AM
Basically the title says it all. I've followed the Duplicity documentation(http://duplicity.nongnu.org/duplicity.1.html), but I don't know what values to use for the following variables:

SWIFT_USERNAME
SWIFT_PASSWORD
SWIFT_AUTHURL
SWIFT_TENANTNAME

SWIFT_PREAUTHURL
SWIFT_PREAUTHTOKEN

SWIFT_AUTHVERSION