Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Offsite daily encrypted backup via Dropbox' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Offsite daily encrypted backup via Dropbox
Authored by: leamanc on Nov 23, '10 12:04:30PM

I gotta second the notion that this script be moved from cron to launchd, so that you can take advantage of having the script only run at user login. There will be errors with Dropbox not up and running (syncing to its server), and I don't see much facility for error handling in the script.

EDIT: Well, now that I think about it, Dropbox won't actually produce any errors, but there is still the net result of the dmg file not getting synced. The script should somehow check to see that the file was uploaded to Dropbox; perhaps this could be done by intercepting Dropbox's Growl notification about changed files?

Edited on Nov 23, '10 12:07:02PM by leamanc

[ Reply to This | # ]