![]() |
|||||||||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
#1
|
|||
|
|||
![]()
Hi there,
I use SuperDuper to perform a weekly, scheduled backup of my 10.4.6 OS X Server boot drive to a compressed image file on a different partition every friday night. The backups are performed while logged out having set them up as 'root' cron jobs. They have been working perfectly for a month or two. After upgrading to v2.1.2 and modifying the scripts and / or creating new ones. SuperDuper fails to run the scripts while logged out. The SuperDuper window pops up behind the login box, sits there for a few seconds and then closes again instead of running the backup. I tried a clean install by deleting the following files: - rm -rf /Applications/SuperDuper\!.app rm /var/cron/tabs/root rm -rf /var/root/Library/Application\ Support/SuperDuper\! rm /var/root/Library/Preferences/com.blacey.SuperDuper\!.plist ..and then reinstalled v2.1.2, re-registered etc, but this gave the same problems. Finally, i repeated the above procedure to delete everything and then re-installed the previous version (2.1.1). This worked perfectly again. Any ideas / anyone else having this problem with the new version? Thanks! Codeus PS - Great product, great support - I recommend anyone who hasn't registered to do so! PPS - Any ETA on a full-command-line interface? Would be a HUGE plus to Network administrators!!! |
#2
|
||||
|
||||
This isn't something we've heard of before, and it's a case we don't test, Codeus. But, if I had to guess, the script driver is hitting an exception, perhaps because Finder isn't running or can't be launched.
Does this happen with runs that were scheduled with 2.1.1 running under 2.1.2?
__________________
--Dave Nanian |
#3
|
|||
|
|||
Hi Dave,
No, provided the script was configured under v2.1.1. It still works with the 2.1.2 SD.app. Only scripts which are updated or created under 2.1.2 seem to fail this way. I kinda figured this wasn't exactly in the 'design-spec' from previous posts on the topic of root-schedules but it is massively useful and would be a shame to lose! All the best. Codeus |
#4
|
||||
|
||||
Really, I can't think of any reason why 2.1.2 would work where 2.1.1 wouldn't, given the same scheduled item. Perhaps you should try recreating your LaunchServices database?
__________________
--Dave Nanian |
#5
|
|||
|
|||
Hi Dave,
I tried recreating LaunchServices (lsregister -kill -r -f -domain local -domain system -domain user) but I still get the same result. SuperDuper pops up behind the login window, finder loads but the countdown before scheduled backup window never pops up, SD simply dissappears at that point. Thanks anyway for your suggestion though. Your responses are much appreciated. Codeus |
#6
|
||||
|
||||
Do you get anything in your System or Console logs? And, does it work for the non-root user, or if root is logged in?
__________________
--Dave Nanian |
#7
|
|||
|
|||
Nothing in console.log.
System.log shows the following: - Jun 17 22:00:00 database CRON[1330]: (root) CMD (open file:///var/root/Library/Application%20Support/SuperDuper%21/Scheduled%20Copies/Erase%20database_boot_image%2C%20then%20copy%20fil es%20from%20boot.sdsp/Copy%20Job.app) Jun 17 22:00:01 database crontab[1333]: (root) LIST (root) Jun 17 22:00:01 database /private/var/root/Library/Application Support/SuperDuper!/Scheduled Copies/Erase database_boot_image, then copy files from boot.sdsp/Copy Job.app/Contents/MacOS/applet: LaunchApplication(/System/Library/CoreServices/System Events.app) Jun 17 22:00:01 database /private/var/root/Library/Application Support/SuperDuper!/Scheduled Copies/Erase database_boot_image, then copy files from boot.sdsp/Copy Job.app/Contents/MacOS/applet: LaunchApplication(/Applications/Utilities/SuperDuper!.app) Jun 17 22:00:09 database /private/var/root/Library/Application Support/SuperDuper!/Scheduled Copies/Erase database_boot_image, then copy files from boot.sdsp/Copy Job.app/Contents/MacOS/applet: LaunchApplication(/System/Library/CoreServices/Finder.app) <end> Incidentally, I just tried this on another machine (this time with 10.3.9 Server) and that fails in the same way, again, it works fine with 2.1.1. Codeus |
#8
|
||||
|
||||
Does it work if root is logged in, Codeus?
__________________
--Dave Nanian |
#9
|
|||
|
|||
Hi Dave,
Yes, scripts under root run fine if logged in. Same script then fails after logging out. As I mentioned, it appears to be at the point when the 'Scheduled backup will start in xx seconds' box would normally appear. |
#10
|
||||
|
||||
Well, a lot of stuff happens in the schedule driver before that comes down, but the *interface* to it hasn't changed between 2.1.1 and 2.1.2. The script itself changed significantly, though... but you're using the old script.
Do you have Growl installed?
__________________
--Dave Nanian |
#11
|
|||
|
|||
No, no growl installed
|
#12
|
||||
|
||||
Perhaps that's the problem, maybe the growl check in the application is failing. That would certainly be unusual and unexpected, especially since you indicated it works when logged in.
I wouldn't expect it to quit, though. It would just fail. Anyway, we'll try to take a look. If you could, please use the "Send to shirt pocket..." button to send the log from the successful, logged-in, scheduled run into the support email account. I'd like to take a look at the log for the 2.1.2 run. Thanks.
__________________
--Dave Nanian Last edited by dnanian; 06-18-2006 at 04:16 PM. |
#13
|
||||
|
||||
Do you see any crash logs or anything else for SuperDuper in /Library/Logs/CrashReporter? Or does it look like it's exiting cleanly?
If the latter, could you install Growl for this machine? If we're getting an exception, it'll be posted as a growl event...
__________________
--Dave Nanian |
#14
|
||||
|
||||
OK -- I see I totally mis-read your 3rd post. I read it as 2.1.1's script doesn't work with 2.1.2 but does with 2.1.1. That's not at all what you said: you said 2.1.1's scripts do work with 2.1.2.
That means the problem's in the script. OK -- I've sent you, offline, a replacement template to see if it works. Check your mail...
__________________
--Dave Nanian |
#15
|
|||
|
|||
![]()
Dave,
The new template fixes the problem! The logged-out-scheduled-root-backups now work 100% again, thank you! I am really impressed that you were so helpful with this and actually worked through it over the weekend too. Many many thanks. Codeus |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Flaky execution of scheduled backups? No Sat. AM in "Daily"? | DrDan in MA | General | 32 | 04-22-2006 05:47 PM |
"Run Now" option for scheduled backups | scott a | General | 3 | 03-02-2006 10:47 AM |
Scheduled Backups of students home folders | Kathy | General | 3 | 10-06-2005 09:22 AM |
Scheduled SU backups | edoates | General | 2 | 07-27-2005 06:53 PM |
Scheduled backups? | pdimesch | General | 4 | 06-13-2005 09:40 AM |