#1
|
|||
|
|||
Script to run backup on mount
So I love SD, and it's actually made backups simple enough to where I ACTUALLY do them on a regular basis, but now that I have a new WD MyPassport drive (small, USB powered, perfect compliment to my MBP), I would like to automate the process even further to run right when I plug in the drive, and unmount the drive when its finished.
I don't plan on using this particular drive for anything else other than backups, so what I want to do is to find a script that starts SD and runs my regular backup when I plug in the drive, and at no other point. I don't tend to run my backups at the same time every day, and I don't keep this drive plugged in when it's not serving its purpose. Does anyone have an idea how I could script this, or is there a feature/script already out there that allows for this? Thanks in advance for all your help with this great product! |
#2
|
||||
|
||||
You can use the general steps in the One Touch Button FAQ entry, along with "Do Something When" (located on MacUpdate or VersionTracker), to accomplish most of this...
__________________
--Dave Nanian |
#3
|
|||
|
|||
So I got Do Something When installed and running, but when I tried to point it to the symlink file I created using the FAQ you mentioned, I wasn't able to use it because DSW didn't recognize it as an application...any thoughts? I also found when I just tried to open the alias, it said that the original file could not be found, and when I pointed it to the saved backup file that you make from the scheduler, I get an Unexpected Error Code (-43). Any more help you could offer is greatly appreciated!
|
#4
|
||||
|
||||
Sounds to me like the symlink wasn't created properly, actually. Try following the steps again...
__________________
--Dave Nanian |
#5
|
|||
|
|||
Turns out I made a mistake in naming the source for the link...got it working now though...thanks!
|
#6
|
||||
|
||||
Great to hear: congratulations.
__________________
--Dave Nanian |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Shell script not executing before backup | gfesmire | General | 13 | 01-08-2009 09:37 PM |
Server drive won't mount after backup | rhennosy | General | 1 | 11-09-2007 03:49 PM |
Backup failure on a certain file | bmat | General | 3 | 09-25-2007 09:06 AM |
Error: No space left on device | tradervic | General | 11 | 06-29-2005 04:50 PM |
Smart Backup Error | bill s | General | 20 | 02-04-2005 09:46 AM |