An Applescript to back up five key apps

Oct 13, '06 07:30:05AM

Contributed by: fogboy

After a few frustrating losses of data (and reverting to a week or two old backup), I decided to write AppleScripts to automate nightly backup of my most relied-on apps:

Then, once I got them all working (note that some of the code ended up needing to be plain old brute force), I put them all together into one script.

I post here not for others to use as-is, but rather so that you might glean parts that are relevant to your system/apps or adapt the whole thing or even add to it. Making frequent backups of this data is something you don't need to remember: simply open and customize as necessary in Script Editor, then save as an application (you can unclick the "Startup Screen" button so it doesn't ask if you want to run), and create an iCal event whose alarm runs the app.

Also note that:

Hope you find it helpful.

[robg adds: This previous hint provided a solution for just backing up Address Book. As with that hint, you'll need to make sure that access for assisstive devices is enabled in the Universal Access System Preferences panel.]

Comments (7)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20061004185509923