How to create Exclude list for Windows client via CLI.

Article: 100011173
Last Published: 2013-11-25
Ratings: 1 1
Product(s): NetBackup & Alta Data Protection

Problem

How to create Exclude list for Windows client via CLI.

Solution

Veritas still recommends users to use GUI to configure EXCLUDE LIST for Windows client.  For the user who is not able to use GUI for some reasons, Veritas introduces an alternative way using CLI.
 

e.g.
bpgetconfig –M <client name> | grep “Exclude=”  > EXCLUDE.txt
echo “Exclude = C:\123\some_other_dir”  >> EXCLUDE.txt
bpsetconfig –h <client name> EXCLUDE.txt
 
 
- Example for EXCLUDE.txt -
 
Exclude = C:\Program Files\VERITAS\NetBackup\bin\*.lock
Exclude = C:\Program Files\VERITAS\NetBackup\bin\another_dir\*.lock
Exclude = CLASS:mypc
Exclude = SCHED:1stfull
Exclude = C:\123\some_other_dir
 
In the above example, the first two excludes apply to all policies for this client. The next set of excludes applies only to the schedule called 1stfull of the policy called mypc.
 
 
See 000028508 for further understanding of Exclude list.
DOCUMENTATION: How to display the exclude lists of a Windows Client from a UNIX master server using the command line https://www.veritas.com/business/support/index?page=content&id=000028508

Was this content helpful?