Tedium: Mobile Time Machine Backups to Your Computer at Home
"Tedium allows you to easily manage multiple Time Machine backup destinations. Simply add your Time Machine destinations and then switch them at will. Combined with ControlPlane, Tedium is able to automatically change your backup destination based on where you are or what you are doing."
Source code available on GitHub