How do I change my TimeMachine volume in a script I have a TM volume on my desk at work and I also have one at home. That way, I have a better shot of my data surviving a disaster. Right noow I have to manually change the TM volume based on where I am.

I'd like to use some location aware software (like Marco Polo) and have it just switch the volume. I tried using Applescript and Automator to make the switch but I haven't been able to be consistently successful. 

I'm looking for a more terminal/shellscript based way to switch the TM volume.

Any ideas?
Time Machine supports multiple backup volumes on Mountain Lion.


  Backup to multiple locations
  
  Time Machine allows you to choose multiple backup locations and seamlessly switch between them. Now you can have a backup of your data at work and at home.