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

Go Back   Shirt Pocket Discussions > SuperDuper! > General

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-29-2010, 10:46 AM
ctucker10 ctucker10 is offline
Registered User
 
Join Date: Oct 2008
Location: Savannah GA
Posts: 19
What is UnmountAssistant?

I have a backup regimen that uses Time Machine for versioned backups, SuperDuper for a weekly bootable duplicate of my entire hard drive, and Carbonite for offsite storage of my most important stuff. This is setup for my Mac mini (Mid 2010).

The Time Machine and SuperDuper backups reside on a 1TB external hard drive that has 3 partitions: one for Time Machine hourly backups, one for SuperDuper weekly backups, and another, very small, partition that has a duplicate of my Mac OS X Install DVD (which is needed if I want to restore from Time Machine). The external hard drive is connected to the Mac via USB.

I wanted this backup regimen to be as automated as possible. With Time Machine and Carbonite the automation is a no-brainer. The automation with SuperDuper is also pretty simple by using the built-in scheduler. My problem was that I didn’t want to have the SuperDuper partition normally mounted. (I don’t normally keep the Mac OS X Install DVD partition mounted either). What I needed was a way to mount the SuperDuper partition before the SuperDuper schedule activated its weekly backup.

I found an applescript that mounts a volume on Dae’s blog...

http://dae.cyberic.eu/blog/applescri...mount-a-drive/

...that I modified slightly to fit my needs. (I inserted my volume’s name into the myVolumeLabel variable, and commented out the “else” branch that unmounts a drive.) After compiling the modified script and making sure that it worked the way I wanted, I saved it as an application to my...

/etc/periodic/weekly

...folder. Next, I inspected the...

/System/Library/LaunchDaemons/com.apple.periodic-weekly.plist

...file with BBEdit to see when weekly scripts are normally run by the operating system. I used that time, plus 5 minutes, as the scheduled time for my weekly SuperDuper backup.

I have run this setup now for a couple of weeks and it works great but, there is one part of the setup that has taken on a life of its own: after the SuperDuper backup completes the volume is automatically unmounted by something that is apparently part of the operating system (since I commented out the part of the script that unmounts the drive).

I looked in the SupeDuper log and noted the time that my most recent backup completed. Next, using Console.app, under Diagnostic and Usage Information => Diagnostic and Usage Messages, I searched for the word “unmount” and found an entry for UnmountAssistant with a timestamp about 10 seconds after the SuperDuper backup completed. I found the same thing last week when I first tried out this setup.

I consider this “unintended unmounting” of a volume a good thing but, I’m still curious. What is UnmountAssistant and what invokes it after my weekly SuperDuper backup completes? Any thoughts?
Reply With Quote
 


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


All times are GMT -4. The time now is 11:43 AM.


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