Shirt Pocket Discussions

Shirt Pocket Discussions (https://www.shirt-pocket.com/forums/index.php)
-   General (https://www.shirt-pocket.com/forums/forumdisplay.php?f=6)
-   -   Scheduled mount and unmount of disk image (https://www.shirt-pocket.com/forums/showthread.php?t=3007)

nkay 10-18-2007 01:19 PM

Scheduled mount and unmount of disk image
 
Besides my full disk backup to an external drive, I also backup a few important directories to a remote filesystem on my webhosting account (Dreamhost). I mount and access my Dreamhost SSH account using MacFuse/SSHFS/MacFusion, and in that directory, I have copied over an Encrypted Disk Image.

As I only copy to this disk image once a week, and don't want this filesystem and image mounted all the time (Finder goes bonkers when the network connection is lost with these mounted), I just want to mount and unmount this disk image during a scheduled backup from SuperDuper.

Am I able to do this via SuperDuper? Or must I do this via Apple scripts or similar?

At the scheduled time, I want it to:

1. Mount my Dreamhost SSH directory via MacFuse/SSHFS/MacFusion
2. Mount the Encrypted disk image
3. Perform the backup to the disk image
4. Unmount the disk image
5. Unmount the Dreamhost directory

Thanks for any help.

dnanian 10-18-2007 01:37 PM

It's unlikely this'll work, actually, because -- as far as I know -- MacFUSE doesn't allow us to "step by" its mount point. Also, it'll be really, really slow -- unreasonably so, I think.

nkay 10-18-2007 01:48 PM

Thanks for the quick reply, I should have added that this does work manually.

If I mount the disk image and then run SuperDuper, it does successfully copy the files to the Encrypted Image, because with MacFuse, for all intents and purposes it works on my mac likes its a local drive.

It is slow of course, but I am only doing Smartupdate now after the first full backup and it only takes about half hour. I am only constrained by the upload bandwidth throttling by Dreamhost.

I just need help on the scripting side to do this automatically probably via apple script. i.e. 1/2 an hour before SuperDuper kicks in, schedule the apple script to mount the filesystem, and then maybe several hours later, schedule a script to unmount it.

Sorry if this has nothing to do with SuperDuper! :)

dnanian 10-18-2007 02:13 PM

OK. As long as it's working with MacFUSE (earlier versions had some trouble with this), that's fine.

As far as writing a script to mount everything and unmount, perhaps a scripting expert out there can help...


All times are GMT -4. The time now is 06:59 AM.

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