Created
April 10, 2018 01:02
-
-
Save rhuanbarreto/99ecd8ff1f01fa12be6a550ecdb1f8b6 to your computer and use it in GitHub Desktop.
Install and use Duplicity for Azure backup on Ubuntu Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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