alex_schenkman Posted June 18, 2007 Report Share Posted June 18, 2007 Hello. I'd like to mount an firewire drive just before backup and unmont it just after backup (which happens at night), so another person can just take the drive without worrying about loosing data. I've enaled the drive as a removable media, and I'm backing up to a file. I've seen there is an Event Handler but I have not managed to make it work. I have removed the comments for "RetrospectStart" and "scriptStart" and copied the file to /Library/Preferences/Retrospect with both a different name and the same name: "Retrospect Event Handler". Retrospect seems not to send any messages to this AppleScript. What am I missing here? Is there another easier way of doing this? Thanks! Link to comment Share on other sites More sharing options...
alex_schenkman Posted June 18, 2007 Author Report Share Posted June 18, 2007 ok, you need to remove the .app extension for the "Retrospect Event Hanlder" app. That is not in the manual. Thank you very much Dantz. Link to comment Share on other sites More sharing options...
CallMeDave Posted June 18, 2007 Report Share Posted June 18, 2007 > That is not in the manual. Thank you very much Dantz. But what _is_ documented with the Applescript Utilities is the fact that the script is an unsupported value add for the program. It's not in the manual for that reason. The AppleScript came into being under "Classic" Mac OS, when the Script Utility did not take it upon itself to add anything to the name of a saved file. So perhaps you'd rather thank Apple for making that change. Dave Link to comment Share on other sites More sharing options...
CallMeDave Posted June 18, 2007 Report Share Posted June 18, 2007 > I've enaled the drive as a removable media, and I'm backing up to a file. If you're backing up to a File Backup Set stored on the external drive, you do not need to modify the Preferences to allow Firewire drives to be treated as Removable Devices. Unless you're using Removable Backup Sets, you might want to return the Preference setting to its default. Dave Link to comment Share on other sites More sharing options...
alex_schenkman Posted June 19, 2007 Author Report Share Posted June 19, 2007 I didn't mean to heart anyone's feelings. I'm sorry if I did. I was just frustrated, with both AppleScript and Retrospect. I got it working yesterday, after all. So I'm happy. Thanks! Link to comment Share on other sites More sharing options...
alex_schenkman Posted June 19, 2007 Author Report Share Posted June 19, 2007 Thanks for your answer. If I understand right, a removable backup set will span across several drives, while a file backup set will only expand until the drive is full right? In my case it does not make any difference as I won't span the set across several drives. Link to comment Share on other sites More sharing options...
rhwalker Posted June 19, 2007 Report Share Posted June 19, 2007 Quote: I was just frustrated, with both AppleScript and Retrospect. Yea, know the feeling. You didn't upset anyone; we have thick skins. Just so you stay happy and don't get more frustrated, the only Apple Event Handler you should be running is the python version if you are sending mail notifications. Here is the python version: Python Apple Event Handler Reason: The other scripts (for Mail, Eudora, etc.) change/break with OS releases. Python (at least for now) is a standard. There is also a fix provided by a user (Simon Hobson) a while back (12/29/2005) to allow email addresses of the form: "User Name" <user@xxx.com> That post is here: Apple Event Handler bug fix Russ Link to comment Share on other sites More sharing options...
alex_schenkman Posted June 19, 2007 Author Report Share Posted June 19, 2007 Super, thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.