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

Go Back   Shirt Pocket Discussions > SuperDuper! > General

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-15-2009, 12:10 PM
RobLewis RobLewis is offline
Registered User
 
Join Date: Jul 2005
Posts: 30
Having a scheduling problem

I'm trying to schedule a backup. I want SD! to
--run a script to mount the destination volume and disable Time Machine
--do a Smart Backup
--run another script to re-enable Time Machine
--unmount the destination volume.

There seems to be just one problem: When SD! starts up, it notices that the destination volume isn't mounted (because the first script hasn't run yet) and gets hung up.

I can think of a few possible solutions, but it seems like the most straightforward would be a new option to mount the volume before doing anything else.

Can you suggest a short-term solution and maybe consider this for a future version? It might be cool to have a command-line version of SD! so it could be called from a shell script, sort of like I'm doing with Disk Utility:
>diskutil mount MyBackupVol
Reply With Quote
  #2  
Old 10-15-2009, 12:13 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
It will do this when scheduled, Rob...
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 10-15-2009, 12:19 PM
RobLewis RobLewis is offline
Registered User
 
Join Date: Jul 2005
Posts: 30
Quote:
Originally Posted by dnanian View Post
It will do this when scheduled, Rob...
Well, so far I haven't seen it work. I've tried deleting and re-creating the schedule, with no success.

Comment: it would be helpful if log entries showed the date as well as the time. It would save having to scroll through a big log searching for the run date.
Reply With Quote
  #4  
Old 10-15-2009, 12:45 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
Log entries do show the date and time, in their title at the very least.

I don't know why your schedule wouldn't auto-mount, since it certainly should (and does here)... it won't when launching SD!, though. Perhaps turn "remember source/destination volumes" off?
__________________
--Dave Nanian
Reply With Quote
  #5  
Old 10-15-2009, 04:40 PM
RobLewis RobLewis is offline
Registered User
 
Join Date: Jul 2005
Posts: 30
OK, are you saying that I don't need to run the pre-backup script command:
>diskutil mount MyBackupVol
?

On the logging thing: in the log I'm looking at, only the second line of the log shows the date.

If the log only shows info for the last run, I guess that's OK. But if, like most logs, it has entries for several runs, then I would vote for the date being in every line. Or at least put some blank lines between info for the various runs.

Also, I note that the "Find" command is disabled in the log. Could enabling it be put on the to do list?
Reply With Quote
  #6  
Old 10-15-2009, 06:31 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
Correct, no need, since on schedule we do that already. The *title* (filename) of the log has the date.

I'm not sure adding additional commands to allow the log to be searched is a high priority, but I've taken note of your request.
__________________
--Dave Nanian
Reply With Quote
  #7  
Old 10-18-2009, 02:08 AM
RobLewis RobLewis is offline
Registered User
 
Join Date: Jul 2005
Posts: 30
Interesting: the "Scheduled Copies" window says the Last Copy was on Oct 16 (when the most recent scheduled backup should have run), but the Log window says it was Oct. 14 (which was the last manual run I did).

I'm scheduling the machine to wake up 5 minutes before the job start time. Its sleep delay is set to 15 minutes.
Reply With Quote
  #8  
Old 10-18-2009, 02:34 AM
RobLewis RobLewis is offline
Registered User
 
Join Date: Jul 2005
Posts: 30
OK, I just added a new scheduled backup for a few minutes in the future, and watched it work the way it's supposed to. So what's different between now and 2:30AM, when my non-working backups are supposed to happen?

Well, the computer wasn't sleeping, but as noted, I've set the machine to wake up 5 minutes before the backup.

Are there some other logs that may tell what the system was (or wasn't) doing in the wee hours?
Reply With Quote
  #9  
Old 10-18-2009, 10:23 AM
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
Remember, the log for a scheduled copy is in Window > Scheduled copies, select the schedule, click "Show Log". Window > Show Log is going to show the log for the main window -- likely your last manual copy.

You should set your Mac to wake one minute before the scheduled backup...
__________________
--Dave Nanian
Reply With Quote
  #10  
Old 10-19-2009, 02:58 AM
RobLewis RobLewis is offline
Registered User
 
Join Date: Jul 2005
Posts: 30
Um, glad you mentioned that. It appears I've been looking at the wrong log. I just assumed there would be one log that contained the history of every run.

Not sure yet, but it may have been working all along.
Reply With Quote
Reply

Tags
cli, mount, schedule


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
SuperDuper Falsely Accused of Scheduling Problem Wings General 2 10-24-2008 05:12 PM
Automatic Scheduling Problem jfaddams General 1 08-13-2008 05:48 PM
Spotlight State Problem joe3zz General 3 04-29-2007 12:42 PM
Problem with some registrations in Sandbox coosticks General 1 08-11-2006 11:54 AM
Disk Utility problem after cloning macWish General 38 10-01-2005 01:08 PM


All times are GMT -4. The time now is 03:53 AM.


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