Page 1 of 1

Disabling of Time Machine Backups

Posted: Thu Aug 27, 2009 6:47 am
by chach17
I'm not sure whether the developers are willing to share this bit of information, but I'm curious to know how the Time Machine backups are disabled when connected via VPN. This is a great feature, but my concern is what is happening in the background to disable and re-enable automatic backups. I run a network with many Macs and before I look to deploy Viscosity to them I want to make sure there are no ill effects to this feature. Thanks in advance! Great product BTW.

Re: Disabling of Time Machine Backups

Posted: Sun Aug 30, 2009 9:12 pm
by James
Hi chach17,

Essentially Viscosity just sets Time Machine's Auto-Backup preference option to Off when any VPN connection is active, and sets it back to On when all VPN connections are disconnected. You can achieve much the same effect by writing your own OpenVPN up/down scripts with some AppleScript to change this preference. From memory I think there even may have been a hint on the Mac OS X Hints site on how to achieve this using AppleScript.

Cheers,
James

Re: Disabling of Time Machine Backups

Posted: Wed Sep 02, 2009 11:17 pm
by chach17
Hi James,

Thanks for the response. So I'm guessing you guys are doing something like this then?

defaults write /Library/Preferences/com.apple.TimeMachine.plist AutoBackup -bool FALSE
defaults write /Library/Preferences/com.apple.TimeMachine.plist AutoBackup -bool TRUE

Re: Disabling of Time Machine Backups

Posted: Wed Sep 09, 2009 4:55 pm
by James
Hi chach17,

Yes, that should have the same effect.

Cheers,
James

Re: Disabling of Time Machine Backups

Posted: Tue Sep 15, 2009 3:46 pm
by James
Hi xemino,

This post should answer your question: http://www.viscosityvpn.com/forum/viewt ... p=249#p249

Cheers,
James