Excluding items from managed Time Machine

0

Is there any way to exclude items from Time Machine when it's set up on a computer being managed with Workgroup Manager/Open Directory?

We have some Macs set up with Open Directory and have used Workgroup Manager to tell them to make Time Machine backups on our file server, which works fine. The problem is that this greys out the Time Machine section of System Preferences, preventing the options screen and hence the list of exclusions from being accessed. Is there any way to set some exclusions (either with Workgroup Manager or on the individual machines) without turning off management in Time Machine which requires that every Mac be set up individually?

I'm not sure if this is best posted here or Server Fault - I posted here because there seem to be more Mac people around, but if a moderator disagrees please transfer it.

Scott

Posted 2010-11-09T13:23:21.793

Reputation: 5 323

Some more details on what is excluded by StdExclusions.plist, and by the extended attribute com.apple.metadata:com_apple_backup_excludeItem, in Does Apple's Time Machine app really copy everthing.

– Arjan – 2010-11-09T20:59:56.267

Answers

1

/Library/Preferences/com.apple.TimeMachine.plist contains the excluded items under the key SkipPaths. You can try editing this file by hand or automated (assuming it's not protected/overridden by Workgroup Manager).

Unfortunately the .plistformat is binary, so you probably need to use Property List Editor from the developer tools, or edit the file using a plist API.

Daniel Beck

Posted 2010-11-09T13:23:21.793

Reputation: 98 421

Or use plutil to do the conversion. – Arjan – 2010-11-09T20:56:37.950