cancel
Showing results for 
Search instead for 
Did you mean: 

Script to Add the Exclude List in Windows Platform

rajkumar3314
Level 3
Certified

Friends,

We are using Netbackup 7.1.0.4 and we are managing multipule Master & Media servers. Currently we are facing diffeculties with adding the exclude list for the clinet.

We are having around 1500 clients machines (all Windows Platform)., manually adding the exclide list is difficult for all 1500 servers and also there may be the error while addidng.

Any one have the script to add the exclude list from particular master server to all the clients for that master server.

 

If any have any idea, kindly share it.

5 REPLIES 5

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

if you are talking about all windows clients..

the you can add them at a time from the GUI

in the master server GUI---> Host Properties---> Clients

select all the clients that you like to update and let them connect ..

once all the clients are connected.. ---> select all and click on properties..--> and  go to exclude list and update it.

it will update exclude list to all clients..

selecting 50-100 clients would be the better idea.

quebek
Moderator
Moderator
   VIP    Certified

Please check this post

https://www-secure.symantec.com/connect/forums/nbu-command-line-add-exclusion-list-windows-platform

Stumpr2
Level 6

see http://technet.microsoft.com/en-us/library/cc755091.aspx

select one server to build your master exclude list and then export this registry key to a file[HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup\CurrentVersion\Config]
"Exclude"=hex(7):....................

You can then import this key on your remaining servers. Check with windows admin for tool to do it on all netbackup client servers.

Stumpr2
Level 6

I have had problems when attempting to do more than 25 clients at a time using this method. Great success when using 25 or less but when wanting to do 1000 clients it would be better to do it through manipulating and deploying the registry key.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

I do realize that this is a month-old post, but noticed a new, similar discussion.

The solution is to use 'bpgetconfig' to obtain existing Exclude List, modify it, then use bpsetconfig to update client (one at a time).

See https://www-secure.symantec.com/connect/forums/bpsetconfig-1#comment-9446871