Skip to content

Duplicity backend, based on swift client but customize for OVH Hubic

License

Notifications You must be signed in to change notification settings

alkivi-sas/duplicity-hubic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

duplicity backend for hubic

Duplicity backend base on the swift one, to use hubic

This library is unofficial and consequently not maintained by OVH.

Dependencies

pip python-requests

Installation

Just put hubicbackend.py in the directory of backend (/usr/share/pyshared/duplicity/backends/ or /usr/lib/python2.7/dist-packages/duplicity/backends/)

Use

First generate refresh token using Hubic Help Page

export HUBIC_CLIENT_ID='api_hubic_djkazdazjkdnjazdnjkazdnkazdnazk'
export HUBIC_CLIENT_SECRET='some_secret'
export HUBIC_REFRESH_TOKEN='your_generated_token'
duplicity --no-encryption /root hubic://default

If you already have an access token

export HUBIC_ACCESS_TOKEN='your_access_token'
duplicity --no-encryption /root hubic://default

TODO

  • make a web page to use personnal application and not the sandbox one ...
  • make the backend an heritance of swiftbackend

Credits

Matthieu Huin [email protected] for the original client

License

duplicity-hubic is freely distributable under the terms of the GPLv3 license.

About

Duplicity backend, based on swift client but customize for OVH Hubic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages