Created
February 25, 2013 09:39
-
-
Save samurailink3/5028756 to your computer and use it in GitHub Desktop.
This file can be used to backup a folder to RackSpace Cloud Files. In this current configuration, it can be used (with a properly configured emulationstation) to backup game emulation saves automatically via a cronjob.
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
#!/bin/bash | |
UPLOAD_TO_CONTAINER="$HOSTNAME-Saves" #adjust it as you like | |
export CLOUDFILES_USERNAME= # THIS IS YOUR RACKSPACE USERNAME # | |
export CLOUDFILES_APIKEY= # THIS IS YOUR RACKSPACE API KEY # | |
export PASSPHRASE= | |
export BACK_THIS_UP=/home/pi/saves | |
duplicity --no-encryption $BACK_THIS_UP cf+http://${UPLOAD_TO_CONTAINER} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment