I’ve been using Dropbox for our offsite backup solution for a while and its worked well , the only issue was that for total offsite security it relied upon another user managing their limited Dropbox storage space.
So instead I am now uploading them to MegaUpload instead.
RapidShare would work just as well and could also be used concurrently for double the security.
This method has the advantages of :-
- Auto-Pruning – the files get deleted 90 days after the last download.
- Unlimited storage.
- Publicly accessible to anyone knowing the URL via a browser.
By being publicly accessible you need to make sure any data is encrypted , but we all do that anyway , right ?
You may want to use a password protected RAR file , I am using decent encryption algorithms via GPG.
This script require you have mail , GPG and Plowshare setup.
Here is my backup_databases_to_megaupload script :-
# script to backup to the megaupload 'cloud'
# setup variables
DATABASEDUMPSDIR=/mnt/replica/mysql_database_dumps
ZIPFILENAME=/tmp/mysql_database_dumps_`date +%Y%m%d`
MUCREDS="XXXXXXXX:YYYYYYYY"
OFFSITEEMAILS="mark@miel.weloveit.info,mark@miel.collective-b.org.uk"
# zip mysql database dumps
zip $ZIPFILENAME $DATABASEDUMPSDIR/*
# encrypt with gpg
gpg -e -r mark@weloveit.info $ZIPFILENAME.zip
# upload to megaupload and send email
/usr/local/bin/plowup -a $MUCREDS $ZIPFILENAME.zip.gpg megaupload | mail -s "`date`" $OFFSITEEMAILS
# delete temp files
rm $ZIPFILENAME.zip
rm $ZIPFILENAME.zip.gpg
Make sure you change :-
XXXXXXXX = Your MegaUpload username.
YYYYYYYY = Your MegaUpload password.
OFFSITEEMAILS = email addresses (separated by commas) of your offsite contacts who will download and store the backup files.

