Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

applescripts for Time Machine

My only Mac is a Powerbook. Time Machine is an integral part of my backup strategy. I do manual backups once or twice a day. How difficult is it to create a script that will do an immediate Time Machine backup? Is Time Machine scriptable?

Powerbook G4 12-inch (PPC) 1.25GB RAM, Mac OS X (10.5.1), iPhone - shuffle

Posted on Dec 7, 2007 7:29 AM

Reply
Question marked as Best reply

Posted on Dec 9, 2007 5:05 PM

There's no AppleScript dictionary for Time Machine so while it maybe AppleScriptable, it's not documented. There is a shell script that can be called from AppleScript that will start a backup. I found it online:

do shell script "/System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd-helper >/dev/null 2>&1 &"

That will start a backup immediately. Hope this helps.
3 replies
Question marked as Best reply

Dec 9, 2007 5:05 PM in response to Curtis Tucker

There's no AppleScript dictionary for Time Machine so while it maybe AppleScriptable, it's not documented. There is a shell script that can be called from AppleScript that will start a backup. I found it online:

do shell script "/System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd-helper >/dev/null 2>&1 &"

That will start a backup immediately. Hope this helps.

applescripts for Time Machine

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.