Last active
March 29, 2016 11:47
-
-
Save jespernohr/9f13a701927733250434 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Schedule cron job to backup every 5 minutes after midnight | |
# Create a backup_script.sh with "crontab -e" | |
export AZURE_ACCOUNT_NAME=storageaccount001 | |
export AZURE_ACCOUNT_KEY='KEYHERE' | |
export PASSPHRASE='NEWRPRIVATEPASSWORDHERE' | |
duplicity full /data/documents azure://storagecontainer001 | |
unset PASSPHRASE | |
unset AZAZURE_ACCOUNT_NAME | |
unset AZURE_ACCOUNT_KEY |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment