#10
|
|||
|
|||
Jack Mac,
I do this a little bit differently than you do but my setup is different too. I use SuperDuper! to backup my boot disk to another disk of the same size. I don't want this disk mounted until the backup process starts and I wanted it unmounted when the backup process is finished. First, I had to figure out how I was going to make sure the drive was unmounted until the backup took place. How does one do this easily? I decided I would use launchd to unmount the drive at start up. I also decided to use a simple one line command to do this using "diskutil" and the backup disks UUID. The disk UUID does not change like the disk name can or the disk identifier does from boot to boot. Once I retrieved the UUID for my backup disk from Disk Utility, this simple command will unmount the backup disk: /usr/sbin/diskutil eject 'EC408ECE-39F2-3A39-B628-E6575F2C422E' I used Lingon to make a "Users Daemon" to unmount the backup disk using that command. First part of the problem solved. SuperDuper! takes care of mounting the disk when the scheduled copy starts so that was easy. The last issue was unmounting the disk when the backup was done. Again, SuperDuper! makes that easy too. I just have it run a script file with the command above in it. That's all I needed. For you, instead of using iCal and AppleScript, I would use Lingon to create a "Users Daemon" to mount the drive at a particular time each day just before the time you kick off the scheduled backup. Here is the mount command using the UUID: /usr/sbin/diskutil mount 'EC408ECE-39F2-3A39-B628-E6575F2C422E' Obviously the UUID would be different in your case. S- |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Could not locate Source volume after partition | macart | General | 3 | 10-25-2011 11:35 AM |
Automatic copy aborted becuase SD could not locate the Source volume named (null) | cjedj | General | 7 | 09-02-2009 08:40 AM |
Ok to copy to smaller destination volume if source volume isn't full? | axxxxe | General | 7 | 05-25-2009 04:26 PM |
bootable/copied volume is 5 GB smaller than the source -- normal? | tools_for_fools | General | 2 | 10-14-2008 09:01 AM |
spotlight finds files on backup but not on source volume | snoopy67 | General | 1 | 07-05-2005 08:29 AM |