My .mac membership will renew in 22 days and and I don't think I'll keep it. I don't need the email or the net storage, and the backup was the only thing I really liked. I'd successfully restored my settings more than once after some mishap. But everything else was either redundant for me or just missing. They kept promising all kinds of cool
(
Read more... )
Comments 7
Reply
No, I don't need that.
Yes, I'm sure. I already pay money for those things, and have a much better deal than your offering.
Reply
Reply
#!/bin/sh
RSYNC=/usr/bin/rsync
OPTS="--recursive --size-only --links --times --whole-file --delete --exclude '*/Caches/*' --exclude '*/Data/*'"
if [ "$1" == "-v" ]; then
OPTS="$OPTS --verbose"
fi
set -e
/usr/bin/osascript -e 'tell application "Finder" to mount volume "smb://myusername:mysecretpassword@10.10.10.69/backups"'
/usr/bin/hdiutil attach /Volumes/backups/FibonacciBackup.sparseimage -readwrite -quiet
echo `date` "Home Dir"
cd /Users/brian
$RSYNC $OPTS . /Volumes/FibonacciBackup/Users/brian/
# ...etc...
/usr/bin/hdiutil detach /Volumes/FibonacciBackup
/usr/bin/osascript -e 'tell application "Finder" to eject disk "Backups"'
Yes, a few of those hard-coded things should probably be made into variables at the top, but this gets the job done. The whole thing is in a crontab for 2am.
Reply
Reply
Reply
Reply
Leave a comment