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

Go Back   Shirt Pocket Discussions > SuperDuper! > General
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 4.67 average. Display Modes
  #1  
Old 07-28-2007, 01:03 PM
AVT AVT is offline
Registered User
 
Join Date: Jul 2007
Posts: 2
One question. I've created the scripts in the original post, but what is the "daily backup script" referenced in the original post? The problem is that SuperDuper gets stuck when it launches and the external drive is not already mounted and the only option is "cancel." I need to automatically mount the external drive before SuperDuper even launches. How do I do that?

Quote:
Originally Posted by dnanian View Post
Great tips, Keith -- and one of the reasons we decided to write the backup "engine" in AppleScript! This makes it easy for users with specific requirements to modify and adjust it to their own particular requirements.

Thanks for contributing!
Reply With Quote
  #2  
Old 07-28-2007, 01:08 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
If you plug the drive in at that point, it should be recognized and the copy should continue.
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 07-28-2007, 02:22 PM
AVT AVT is offline
Registered User
 
Join Date: Jul 2007
Posts: 2
I understand that, but I'm trying to get things set up so that the drive is automatically mounted, superduper runs, and the drive is automatically unmounted. That's what the scripts provided above do. My problem is how to get the external drive mounted before SuperDuper tries to do its thing. I've fiddled with the crontab file, and I've managed to get the drive mounted before SuperDuper runs. But when SuperDuper attempts to run the "unmount drive" script, it reports that "permission is denied". So, I've found a half-solution, so far.

Quote:
Originally Posted by dnanian View Post
If you plug the drive in at that point, it should be recognized and the copy should continue.
Reply With Quote
  #4  
Old 07-28-2007, 03:54 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
You'll need to use the general framework we provide in our own copy template, and you'll want to run with "without user interaction", too.
__________________
--Dave Nanian
Reply With Quote
  #5  
Old 07-30-2007, 07:12 AM
Wings Wings is offline
Registered User
 
Join Date: Mar 2007
Posts: 10
Quote:
Originally Posted by AVT View Post
One question. I've created the scripts in the original post, but what is the "daily backup script" referenced in the original post? The problem is that SuperDuper gets stuck when it launches and the external drive is not already mounted and the only option is "cancel." I need to automatically mount the external drive before SuperDuper even launches. How do I do that?
AVT: What I do is to set iCal to run a mount script about a minute or 2 before SD is scheduled to run.

My mount script is: (compiled & saved as an application in Script Editor, and set to run as an alarm in iCal)

set diskName to "Backup"
set deviceName to do shell script "diskutil list | grep \"" & diskName & "\" | awk '{print $6}'"
do shell script "diskutil mountDisk /dev/" & deviceName
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 45 (0 members and 45 guests)
 

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


All times are GMT -4. The time now is 08:05 PM.


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