Disabling of Time Machine Backups

Got a problem with Viscosity or need help? Ask here!

chach17

Posts: 2
Joined: Thu Aug 27, 2009 6:45 am

Post by chach17 » Thu Aug 27, 2009 6:47 am
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.

James

User avatar
Posts: 2313
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Sun Aug 30, 2009 9:12 pm
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
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs

chach17

Posts: 2
Joined: Thu Aug 27, 2009 6:45 am

Post by chach17 » Wed Sep 02, 2009 11:17 pm
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

James

User avatar
Posts: 2313
Joined: Thu Sep 04, 2008 9:27 pm

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

Yes, that should have the same effect.

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs

James

User avatar
Posts: 2313
Joined: Thu Sep 04, 2008 9:27 pm

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

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

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
5 posts Page 1 of 1