PDA

View Full Version : AppleScript to run a backup


etanter
06-10-2009, 07:15 PM
Hi,

I'm creating an automator that runs a backup under certain conditions.
For now, my way of running the backup is a bit ad hoc, in the sense that I use a launch application action, and then a "watch me do" where I do the typical File > Load Settings... > Open and then "Copy now".

Is there a way to just "tell" SD to do a certain backup (giving the settings to use) in AppleScript?

Thanks,

-- Éric

dnanian
06-11-2009, 05:47 AM
The "One Touch Button" FAQ will show you how to generate a little program you can launch to run a backup. Or you can examine the way the schedule driver does it (inside the settings package for an automated backup).