Skip to content

Instantly share code, notes, and snippets.

@georg90
Created March 24, 2016 09:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save georg90/8d66b096cc09749d3a3a to your computer and use it in GitHub Desktop.
Save georg90/8d66b096cc09749d3a3a to your computer and use it in GitHub Desktop.
Install duplicity with custom backend
Btw. I compiled the 0.7.06 version (manually), downloaded https://raw.githubusercontent.com/havardgulldahl/jottalib/master/src/duplicity-backend.py into ````duplicity/backends```` renamed it to ````jottabackend.py```` and installed duplicity using ````sudo python setup.py install```` Now I use a duply profile with a pre and post script to set the Environment (````export JOTTACLOUD_USERNAME="username" + JOTTACLOUD_PASSWORD="password"````)
You then have to use ````sudo -E duply ...```` to keep the environment variables.
@georg90
Copy link
Author

georg90 commented Mar 24, 2016

Btw. I compiled the 0.7.06 version (manually), downloaded https://raw.githubusercontent.com/havardgulldahl/jottalib/master/src/duplicity-backend.py into duplicity/backends renamed it to jottabackend.py and installed duplicity using sudo python setup.py install Now I use a duply profile with a pre and post script to set the Environment (export JOTTACLOUD_USERNAME="username" + JOTTACLOUD_PASSWORD="password")
You then have to use sudo -E duply ... to keep the environment variables.

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