Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General

Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 06-21-2009, 08:49 AM
ixnayus ixnayus is offline
Registered User
Join Date: Jun 2009
Posts: 4
Okay that worked. For posterity, here's what I did:

I have two internal drives, Sam & Max. I want to back them up on demand to an external drive ("MyBook") via an Automator Script. I want to leave this script running unattended after I leave for the night and have my computer sleep as soon as SuperDuper is done.

1) I create the SuperDuper jobs I want to run. I make sure the padlock icon is unlocked to allow the job to run unattended for both jobs.

2) I create an automator job that triggers the "Sam" job first. In a "Run AppleScript" workflow item:

tell application "SuperDuper!"
	run using settings "~/Library/Application Support/SuperDuper!/Saved Settings/Backup Sam to MyBook.sdsp" without user interaction
end tell
Save this as "SuperDuper! Sam to" (save as an app, not a workflow!) somewhere handy. This is the thing you'll launch when you want to kick off the whole chain.

3) I create a second automator script that triggers the "Max" job. Like the "Sam" job, create a "Run Applescript" workflow:

tell application "SuperDuper!"
	run using settings "/Users/ixnayus/Library/Application Support/SuperDuper!/Saved Settings/Backup Max to MyBook.sdsp" without user interaction
end tell
Save this in ~/Library/Application Support/SuperDuper!/Saved Settings as "SuperDuper Max to"

4) Open TextEdit and write "open " and then drag "SuperDuper Max to" onto it. You'll get a long command:

open /Users/ixnayus/Library/Application\ Support/SuperDuper\!/Saved\ Settings/SuperDuper\ Max\ to\
Save this as a shell script: "Backup Max to"

5) Here's an important step. You need to set permissions on the shell script so SuperDuper can open it without complaining.
From the terminal:

chmod 777 ~/Library/Application\ Support/SuperDuper\!/Saved\ Settings/Backup\ Max\ to\"
6) We now have all the pieces of the puzzle. Let's put it together. In SuperDuper!, open the "Sam" backup script. Click on the Options button. Click on Advanced. Check "Run shell script after copy completes" and navigate to the shell script you created in #4 above. Under "General" make sure "Do nothing" (default) is still selected under "On successful completion." Save the job.

7) Open the "Max" job in SuperDuper. Click "Options" then "General" and select "Sleep Computer" under "On successful completion". Save the job.

You now have an automator script that fires off a chain of events resulting in your backed up data and a sleepy computer.

Automator Backup Sam ->
SuperDuper Backup Sam ->
Shell - Open Automator Backup Max ->
SuperDuper Backup Max ->
Sleep computer

TIP: if you have Growl installed (, you'll be greeted with a quick message when you start your computer up on whether the jobs completed successfully or not.

I hope this helps. Thanks, Dave, for pointing me in the right direction.
Reply With Quote

applescript, automator, scripting, unattended

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server drive won't mount after backup rhennosy General 1 11-09-2007 04:49 PM
Backup failure on a certain file bmat General 3 09-25-2007 10:06 AM
How to verify a Scheduled Backup? tuqqer General 3 12-06-2005 07:50 PM
(Zero-length) File caused SuperDuper to abort backup alancfrancis General 7 08-31-2005 11:42 AM
Smart Backup Error bill s General 20 02-04-2005 10:46 AM

All times are GMT -4. The time now is 12:47 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2022, vBulletin Solutions, Inc.