Skip to content

Instantly share code, notes, and snippets.

@rhuanbarreto
Created April 10, 2018 01:02
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 rhuanbarreto/99ecd8ff1f01fa12be6a550ecdb1f8b6 to your computer and use it in GitHub Desktop.
Save rhuanbarreto/99ecd8ff1f01fa12be6a550ecdb1f8b6 to your computer and use it in GitHub Desktop.
Install and use Duplicity for Azure backup on Ubuntu Linux
# Add this lines to the /etc/environment file. Change account name key and passphrase according to your settings
AZURE_ACCOUNT_NAME=storageaccountname
AZURE_ACCOUNT_KEY=storageaccountkey
PASSPHRASE=passphrase_for_GPG_encryption
# Run this script as root using sudo
add-apt-repository ppa:duplicity-team/ppa
apt-get update
apt-get install duplicity
apt-get install python-pip
pip install azure
pip install azure-storage==0.20.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment