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 01-11-2013, 12:08 PM
Manu Chao Manu Chao is offline
Registered User
 
Join Date: Jul 2009
Posts: 21
SD no longer honouring backup-on-mounting-drive

For the last two weeks or so, SD no longer starts a backup when connecting an external drive. I have tried to set it again but it does not start.

Starting the backup manually works fine.
Reply With Quote
  #2  
Old 01-11-2013, 12:36 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
Nothing happened about two weeks ago that preceded these failures?
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 01-16-2013, 02:00 PM
Manu Chao Manu Chao is offline
Registered User
 
Join Date: Jul 2009
Posts: 21
Quote:
Originally Posted by dnanian View Post
Nothing happened about two weeks ago that preceded these failures?
Apart from the year changing from 2012 to 2013, no. Maybe there was an OS crash (requiring a forced shutdown) in between, I had one recently (in the last couple of weeks) but I cannot remember exactly when that was.

So, if this is not a problem frequent enough that some possible causes are known that could suggest a course of action, I will try the usual: re-install the SuperDuper and try a new OS user account.
Reply With Quote
  #4  
Old 01-16-2013, 02:06 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
I'd actually:
  • Delete all existing schedules
  • Remove the "Scheduled Copies" folder in ~/Library/Application Support/SuperDuper!
  • Restart your Mac
  • Recreate the schedule
__________________
--Dave Nanian
Reply With Quote
  #5  
Old 01-16-2013, 03:17 PM
Manu Chao Manu Chao is offline
Registered User
 
Join Date: Jul 2009
Posts: 21
Quote:
Originally Posted by dnanian View Post
I'd actually:
  • Delete all existing schedules
  • Remove the "Scheduled Copies" folder in ~/Library/Application Support/SuperDuper!
  • Restart your Mac
  • Recreate the schedule
I've tried it in a new user account which by default starts without a folder 'Scheduled Copies' and no existing schedules and required me to re-create the schedule. I also had just restarted my Mac just two days ago, ie, well after the problem occurred. I also installed a new copy of SD into the new users's Application folder.

At first, it did not work in the new user account either but then I tried two things: (1) logged out and back into the new user account and (2) connected the external drive directly (it was the third device in FW chain before). After that (I cannot say which of the two steps did the trick), it worked, even after putting the device back again in its normal position in the FW chain.

Unfortunately, when I tried it again in my regular user account, it did not work (after following your steps). I can try to delete all SuperDuper content from ~/Library but maybe something else (non shirt-pocket stuff) is wrong with my main user account. Is SD relying on other things (eg, folder actions on /Volumes) to do the start upon connecting feature?
Reply With Quote
  #6  
Old 01-16-2013, 03:24 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
We've simply got a LaunchAgent that is run when volumes are mounted, and then we look for the volume you scheduled with. If you've done everything I've suggested, perhaps something is preventing the launch. But that would be weird.
__________________
--Dave Nanian
Reply With Quote
  #7  
Old 01-16-2013, 04:02 PM
Manu Chao Manu Chao is offline
Registered User
 
Join Date: Jul 2009
Posts: 21
Quote:
Originally Posted by dnanian View Post
We've simply got a LaunchAgent that is run when volumes are mounted, and then we look for the volume you scheduled with. If you've done everything I've suggested, perhaps something is preventing the launch. But that would be weird.
Can you give me the name of that launchagent (so, I can filter for it in Activity Monitor and see if it shows up when I connect my drive)?

I just tried something else that worked: I put a (newly downloaded) copy of SD into main user account's Applications folder. Launched, set the schedule there and it worked (I also hit a cmd-S on the main SD window which prompted me to save an Untitled settings file. Am I supposed to do this after every schedule change? And it also asked me to unlock SD but that was probably because I had launched this copy of SD for the first time).

Then I launched my main SD (in /Applications), tried the cmd-S thing there as well (it asked whether I wanted to overwrite older settings, I said yes). But after than, things did not work again. So, I deleted again all scheduling stuff (inside SD and the folder in the ~/Library) and all stuff in ~/Library/.../Saved Settings) and setup the schedule again from the copy of SD in my user folder and it worked again.
Reply With Quote
  #8  
Old 01-16-2013, 04:43 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
Why do you have it in a user's Application folder rather than in /Applications?

It sounds like you have a bunch of copies of SD! installed that you shouldn't.

The launch agent's identifier is com.shirtpocket.backuponmount (and there's a com.shirtpocket.backuponmount-login as well). But that won't be visible in activity monitor.
__________________
--Dave Nanian
Reply With Quote
  #9  
Old 01-16-2013, 05:31 PM
Manu Chao Manu Chao is offline
Registered User
 
Join Date: Jul 2009
Posts: 21
Quote:
Originally Posted by dnanian View Post
Why do you have it in a user's Application folder rather than in /Applications?

It sounds like you have a bunch of copies of SD! installed that you shouldn't.
I probably wasn't clear enough. Until a few hours ago there was only one copy of SD installed, and it resided in /Applications, ie, the original problem occurred and persisted with only one copy of SD installed.

Then, to start with a slate as clean as possible, I created a new user account, installed a fresh copy of SD in that new user account to get a new install without changing anything in my existing system. Things did not work initially but after a re-login, they worked.

Back in my main account, things still did not work (even after carrying out your four steps twice). So, I thought, maybe I do need a fresh install of SD. And to again keep the existing system as it was, I installed the new copy in my user's Application folder. And thankfully that worked, so either placing SD in my user folder or the action of 're-installing' SD solved it.

Just for verification I again deleted all schedules (incl. folder in ~/Library/...) and running the copy of SD in /Applications. That was not successful and it also broke the 'work-around' (SD in ~/Applications). But I was able to re-activate my work-around (presumably by deleting the content of the Saved Settings folder and/or by recreating the schedule from the copy of SD in ~/Applications).

My next step is to delete everything related to SD in my user Library and try again. Then also replace SD in /Applications and try again. But that will happen tomorrow because my backup disk is now in its usual off-site location.

So, in short, whenever I set the schedule from a copy of SD inside a user folder things worked. This might be because of the location or because that was associated with a 're-install'.
Reply With Quote
  #10  
Old 01-16-2013, 06:15 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
When you move the location of the app, it may force itself to reconnect its internal links to files in its bundle. My steps will do that too.
__________________
--Dave Nanian
Reply With Quote
  #11  
Old 01-20-2013, 05:34 PM
Manu Chao Manu Chao is offline
Registered User
 
Join Date: Jul 2009
Posts: 21
Quote:
Originally Posted by dnanian View Post
When you move the location of the app, it may force itself to reconnect its internal links to files in its bundle. My steps will do that too.
I didn't move the location of the app, I downloaded a new copy from your website, placed it into ~/Applications and launched that copy from there by double-clicking it.
Reply With Quote
  #12  
Old 01-20-2013, 09:07 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
Which was, effectively, a different location.
__________________
--Dave Nanian
Reply With Quote
  #13  
Old 01-23-2013, 09:45 AM
Manu Chao Manu Chao is offline
Registered User
 
Join Date: Jul 2009
Posts: 21
Since none of the above worked: Brute Force approach

Deleted everything with 'superduper' in its name (found by Find Any File). Copied SuperDuper from its disk image into /Applications, set-up a new copy script, logged out of my account, logged back in and then it worked.
Reply With Quote
  #14  
Old 05-24-2013, 12:44 PM
Manu Chao Manu Chao is offline
Registered User
 
Join Date: Jul 2009
Posts: 21
Problem re-occurred: Deleting backupponmount plists solved it

Even deleting all files with the word Superduper in their name (incl. the application) did not fix the problem (ok, I kept the files in /private/var/root and /private/var/log).

Deleting the two files:
~/Library/LaunchAgents/com.shirtpocket.backuponmount.plist and
~/Library/LaunchAgents/com.shirtpocket.backuponmount-login.plist

however, fixed it. Which is probably not completely surprising. And since the problem re-occurred within about three months (it re-occurred two months ago, I only now got around to fix it) maybe there is a pattern as to what triggers the failure.
Reply With Quote
  #15  
Old 05-24-2013, 01:11 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
What's weird is that simply turning off the backups (or removing them), and quitting SD, will remove those agents...
__________________
--Dave Nanian
Reply With Quote
Reply


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
SD no longer recognizing backup drive orionxl General 6 10-27-2009 03:24 PM
Windows equivalent to SuperDuper!? jreffner General 21 08-13-2009 05:36 PM
Server drive won't mount after backup rhennosy General 1 11-09-2007 03:49 PM
How to verify a Scheduled Backup? tuqqer General 3 12-06-2005 06:50 PM
Laptop freezes buring backup kaalm General 5 05-12-2005 04:15 PM


All times are GMT -4. The time now is 09:31 AM.


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