This is from one of Andy Welburn posts :
https://www-secure.symantec.com/connect/forums/exclude-list-0
He is using bpsetconfig/bpgetconfig to do the jobs - it's require you to write a batch script . There is a tech note the command
A method for centrally managing exclude and include list for UNIX and Linux clients under NetBacku.... But it works on windows also.
<quote>
Having just had a little play with the bpgetconfig/bpsetconfig commands you are going to have to be very careful or very clever with this. If you try & use the bpsetconfig just to add another entry into your windows clients' exclude list then please be aware that it will replace all existing exclude list entries:
eg:
To show current settings:
# bpgetconfig -M <client> | grep "^Exclude = "
Exclude = C:\Program Files\Veritas\NetBackup\bin\*.lock
Exclude = C:\Program Files\Veritas\NetBackup\bin\bprd.d\*.lock
Exclude = C:\Program Files\Veritas\NetBackup\bin\bpsched.d\*.lock
Exclude = C:\Program Files\Veritas\NetBackupDB\data\*
Exclude = C:\Program Files\Veritas\Volmgr\misc\*
Format of 'file':
# cat EXCLUDE
Exclude = C:\Documents and Settings\All Users\example.txt
To update settings:
# bpsetconfig -h <client> EXCLUDE
To show updated settings:
# bpgetconfig -M <client> | grep "^Exclude = "
Exclude = C:\Documents and Settings\All Users\example.txt
i.e. all the original one's have now been 'deleted'
For EACH client you would have to determine the current exclude list settings & cat to a file & then ADD your new entry to that file, then use the combined file to update each client
e.g.
# bpgetconfig -M <client> | grep "^Exclude = " > EXCLUDE
# echo "Exclude = C:\Documents and Settings\All Users\example.txt" >> EXCLUDE
# bpsetconfig -h <client> EXCLUDE
Just test it out on a test server or your PC (if it's a client), until you're comfortable with what it does before potentially destroying all your exclude lists if you get it wrong. I would ensure you have a file of each clients current settings - just in case!!
</quote>