#1
|
|||
|
|||
Should SD! Automatically unmount image?
Hello,
Based on the discussions here I thought SD! would unmount a disk image after a scheduled backup is complete; however, in my case, it does not unmount. I am backing up an iMac running 10.4.9 to a sparse disk image on a networked drive. I set SD! to do a smart backup and quit. Then schedule the backup. I unmount the disk image and network drive. When the backup runs, SD! mounts the drive and image, copies, and quits. Shouldn't it unmount the disk image too, or am I misunderstanding something? I am getting around this right now by tossing in a script after backup that detaches the image: hdiutil detach "/volumes/Backup" This works, but I was a bit concerned why SD! didn't detach automatically. Thoughts? Jeff |
#2
|
||||
|
||||
Are you pointing at the image file, or the image volume?
__________________
--Dave Nanian |
#3
|
|||
|
|||
Image volume. That is, when I set up SD! I mounted the image and pointed SD! to the volume.
Jeff |
#4
|
||||
|
||||
Right. In that case, we don't unmount it... we only mount/copy/unmount for physical drives or image files that you point us to...
__________________
--Dave Nanian |
#5
|
|||
|
|||
You should look at this thread for a solution.
http://www.shirt-pocket.com/forums/s...ead.php?t=2378 Scripts are up at http://thefragens.com/pub/ |
#6
|
|||
|
|||
Quote:
2) And, how can SD be pointed to an image doesn't yet exist? 3) With no existing image to mount, SD must be the one who creates/mounts one it writes to. So why can't SD unmount what it creates/mounts? 4) What happens if an image is not unmounted? |
#7
|
||||
|
||||
There's a difference between image and host drive. You can't mount an image before it exists, of course. But you can point us at the location where the image is to be stored.
SD! does unmount when it creates/mounts. If an image is not unmounted, it remains on your desktop. If you were to crash, it wouldn't be properly unmounted, of course.
__________________
--Dave Nanian |
#8
|
|||
|
|||
Quote:
Here's the gist of it. Code:
#!/usr/bin/env bash # http://www.shirt-pocket.com/forums/showthread.php?t=2378 sleep 45 if [[ `mount | awk '/^afp_/'` != "" ]]; then mount | grep ^afp_ \ | perl -pe 's/.*? on //;s/( \([^)]*\))?$//;'"s/'/'\\\\''/;s/^/'/;s/\$/'/" \ | xargs umount -f fi |
#9
|
|||
|
|||
Quote:
How does one "point us at the location where the image is to be stored"? I had NO luck trying to select an existing folder in which to store the image. Use MAKE NEW FOLDER button? |
#10
|
||||
|
||||
You select the existing folder and then name the image. Perhaps I just don't understand the issue here...
__________________
--Dave Nanian |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Undersized disk image and a Boot Camp-related backup question | garybollocks | General | 3 | 10-23-2006 01:07 PM |
SuperDuper Backup of AES 128 Encrypted Disk Image | rwg4 | General | 3 | 11-30-2005 10:28 AM |
Sparse image from aborted DMG backup? | Winston | General | 9 | 10-22-2005 12:28 PM |
Question regarding backing up to Image | giba | General | 3 | 05-20-2005 05:54 PM |
How do I update an image? | dnanian | Frequently Asked Questions | 0 | 06-12-2004 10:05 AM |