PDA

View Full Version : mount ejected disk, back up to disk image


twhid
12-29-2006, 03:08 PM
Hi all,

I've been using SD! for a while now and am very pleased with it but I can't figure out how to do one particular thing.

I need to back up one large folder from an external HD to a disk image on another external HD. The backup disk, I don't want it mounted all the time because it's loud. I just want it to mount, mount the disk image, back up what's new and then eject the disk.

I have a shell script that mounts the disk fine but doesn't seem to do anything when I set it to run before copying.

Any ideas? I'm thinking of just using iCal to run an applescript to mount the disk a few minutes before I have it scheduled to backup.

Thanks

dnanian
12-29-2006, 04:05 PM
We won't automatically mount intermediate disks in an image operation, unfortunately: I think using iCal should work fine, though.

twhid
12-29-2006, 04:24 PM
We won't automatically mount intermediate disks in an image operation, unfortunately: I think using iCal should work fine, though.

Can I eject the disk using the 'Run shell after copy..." option? I tried it with a very simple shell script and got an error. The external disk couldn't unmount. It needs to run *after* SD! unmounts the image, but probably runs before.

It would be nice if there was a 'run script' option in the 'On successful completion' drop down.

Thanks!

dnanian
12-29-2006, 05:43 PM
No, because that's specifically set up to allow you to manipulate the image. You can set up a background shell to sleep then eject, though.