|
#1
|
|||
|
|||
Auto-Ejecting a Network Drive Post-Backup
***I really did try to search first, both here and on Google***
Synopsis: We have about 10 Macs in our office and also a Dell PowerEdge Server with a lot of storage on a large RAID and gigabit ethernet available. Several of the computers are already backed up via Time Machine, but I'd like to have bootable copies for everyone ready to go. I'm the test mule. What I've got thus far: (1) Marco Polo recognizes I'm at the office, waits a little bit and runs an Automator file that (2) mounts the network drive, (3) sends a growl notification not to interfere, and (4) loads SD via the personalized settings file through AppleScript, which then, after backup, (5) ejects the image that it's updating (Smart backup) on the server and (6) closes SD. (5 & 6 are from within SD.) So far, so good. Could someone help me with writing a script to have SD run at the end that does last step of ejecting the network drive? Our Macs connect to the windows server via SMB. The actual address is: "smb://192.168.0.5/Mac Backups" (or "smb://192.168.0.5/Mac%20Backups" if it can't use the space") Thanks!!! jim Last edited by voxer18; 09-23-2009 at 10:03 AM. |
#2
|
||||
|
||||
#3
|
|||
|
|||
I saw that and maybe I'm too much of a novice, but I'm confused as to what I actually have to have in there and what - if any - my SMB-based setup has on things. Thanks!
Last edited by voxer18; 09-23-2009 at 10:03 AM. |
#4
|
|||
|
|||
One of the main issues I can't figure out in the other thread linked above is that the Terminal commands are utilizing Disk Utility, but in our setup, my network volume doesn't show up in Disk Utility like a physically attached drive via USB, FireWire, etc.
|
#5
|
|||
|
|||
So in terminal I can eject ANOTHER drive with this:
umount -f /volumes/users But HOW ON EARTH, if the drive I need to unmount is: "Mac Backups" do I account for the space??? These haven't worked: umount -f /volumes/mac backups umount -f /volumes/Mac%20Backups umount -f '/volumes/Mac Backups' umount -f "/volumes/Mac Backups" umount -f /volumes/mac_backups umount -f /volumes/mac\ backups I'm at a loss... I didn't name the drive initially, and I could obviously change it, but I'd rather figure it out this way so that I don't have to change my SD file and my Automator file. And I don't want to lose to space. |
#6
|
||||
|
||||
Did you try
Code:
diskutil eject "/Volumes/Mac Backups"
__________________
--Dave Nanian |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Windows equivalent to SuperDuper!? | jreffner | General | 21 | 08-13-2009 05:36 PM |
Backup to cheap network drive impossible? | Schalke04 | General | 4 | 01-18-2009 05:59 AM |
Server drive won't mount after backup | rhennosy | General | 1 | 11-09-2007 03:49 PM |
Network drive won't auto mount | Shamyl Zakariya | General | 7 | 06-05-2006 04:07 PM |
How to verify a Scheduled Backup? | tuqqer | General | 3 | 12-06-2005 06:50 PM |