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 Rate Thread Display Modes
  #1  
Old 10-30-2007, 12:03 PM
rmichael-sd rmichael-sd is offline
Registered User
 
Join Date: Oct 2007
Posts: 3
Shutdown after connection failure to network volume

I schedule Macs to wakeup and SuperDuper to run overnight, storing the sparseimage to a network volume.

When a laptop wakes up off our network (on the road), and tries to connect to the network volume to access the sparseimage, it understandably fails. However, it displays an error window "Connection failed" warning, and waits for user interaction (to dismiss the warning window).

I would like SuperDuper to fail gracefully and shut the Mac down (so it doesn't remain turned on needlessly for the rest of the night) without running the backup, obviously.

Should I write my own network volume mounting script and handle the failure myself in the script?

(Aside, if I click "OK" to dismiss the "Connection Failed" error, SuperDuper runs anyway. As the network volume is not available, it then pops up the "Scheduled Copies" window -- presumably to indicate there was an error? Although, the scheduled backup name is not written in red to indicate an error. I must open the log (Show Log) to see the error (in the log viewer the error is red); after which the schedule copy name also turns red in the "Scheduled Copies" window behind the log I'm reading. This is not terribly elegant, will errors be better addressed and indicated in the next version of SuperDuper?)

Thanks for advice!

Regards.

Last edited by rmichael-sd; 10-30-2007 at 01:05 PM.
Reply With Quote
  #2  
Old 10-30-2007, 01:30 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
Well... the "connection fails" window isn't being put up by us -- it's actually being displayed by the OS, and we can't dismiss it.

Perhaps turn off your schedules while on the road? You don't have to delete them, just "Edit..." each entry and uncheck the "automatically copy"... checkbox.
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 10-30-2007, 05:03 PM
rmichael-sd rmichael-sd is offline
Registered User
 
Join Date: Oct 2007
Posts: 3
Quote:
Originally Posted by dnanian View Post
Well... the "connection fails" window isn't being put up by us -- it's actually being displayed by the OS, and we can't dismiss it.

Yes, I can tell it's being displayed by MacOS. Although, looking into SD! a bit, it looks like part of these operations are scripted calls to the OS. Can't SD! do something such as:

"if <ask OS to mount/access location of DMG> ; then <do stuff> ; else <warn DMG not found> ; fi", catching the error; instead of just punting to the OS?

Will it be possible

Perhaps turn off your schedules while on the road? You don't have to delete them, just "Edit..." each entry and uncheck the "automatically copy"... checkbox.
Ok, but.. this isn't a workable solution.

As a system administrator, I need these types of things as simple as possible, I don't want people tinkering with the settings; nor should they have to. If I ask them to remember to turn on and off their backups every time they travel and/or take their laptop on the road, backups won't happen at all.

"Set it and forget it" is exactly how this should work, and SD! should just notify me when an unexpected error (where "not connecting to the server while away" is expected) occurs.

Aside, I'd also like the Mac to wakeup and run while the lid is closed. In an ideal world, the Mac simply wakes, runs SD! (which either succeeds or fails) and shuts down again, even when sitting in a bag on a hotel room floor.

Thanks for the reply though. Any other suggestions? A custom mount script?
Reply With Quote
  #4  
Old 10-30-2007, 05:09 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
Well, you could modify our scheduling applescript, which is in the bundle, to not run in situations of your own choosing.

As far as "want it to wake with the cover down", that's not something your Mac'll do.
__________________
--Dave Nanian
Reply With Quote
  #5  
Old 10-30-2007, 09:05 PM
rmichael-sd rmichael-sd is offline
Registered User
 
Join Date: Oct 2007
Posts: 3
Quote:
Originally Posted by dnanian View Post
Well, you could modify our scheduling applescript, which is in the bundle, to not run in situations of your own choosing.

As far as "want it to wake with the cover down", that's not something your Mac'll do.
Thanks, I'll take a look at your script.

As for waking, the Mac will definitely wake with the lid closed, I've tried it. But it seems to be sleeping immediately (presumably because the lid is closed). Perhaps this can turned off in the PROM or by software. The insomnia.kext from SleepLess looks helpful, or the free InsomniaX wrapper around the kext.

Thanks again Dave. I'm looking forward to next version SD!.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup to network volume without using disk images? nevyn General 1 02-07-2007 06:34 PM
Restore from Network Volume millieaux General 5 09-06-2006 09:24 AM
Restore from Network Volume Ayla General 1 04-06-2006 10:15 AM
BU to network volume Vance Fox General 1 03-14-2006 06:03 PM
Backup to a network mounted volume wduck2 General 1 01-11-2006 12:34 AM


All times are GMT -4. The time now is 06:01 AM.


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