Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Set Time Machine disk via AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Set Time Machine disk via AppleScript
Authored by: cebailey on Jan 09, '08 11:00:07AM

Awesome, I have been wanting a way to do this, but I never bothered to figure out the necessary GUI scripting behind it. Question, though: do the backups work correctly? For example, if I'm at work all day backing up to my drive at work, and then I come home and back up at home, will it still back up all 8 (or 10) hours' worth of files that have changed since I last backed up TO THAT SPECIFIC DRIVE? or does it only back up the files that have been changed in the past hour?



[ Reply to This | # ]
10.5: Set Time Machine disk via AppleScript
Authored by: pbeyersdorf on Jan 09, '08 01:59:03PM

Time machine stores the state of the file system the last time it backed up on the backup drive itself, so it will update all the files that were changed since it backed up to that drive, thus both drives will be complete backups, they will just have snap shots that were recorded at different times. I've tested this. Nevertheless, it's not a bad idea to check that it has the behavior you expect before relying on it.

I suspect there may be an easier way to script this by changing a field in a plist somewhere rather than using the GUI to change the settings, but I didn't want to try to muck around with something I didn't fully understand, so by using the GUI scripting, the effect it has on time machine is transparent - it does the same thing as if you clicked through the GUI to change the settings.



[ Reply to This | # ]