Configuring the exclude list on a Windows client from a UNIX master server
An administrator can change the exclude list on a Windows client from a UNIX master server by using the nbgetconfig (or bpgetconfig) and the nbsetconfig (or bpsetconfig) commands.
Configuring the exclude list on a Windows client from a UNIX master server
- From the UNIX server, use the nbgetconfig command to access the exclude list on a Windows client.
For example, where:
nbmaster1 is a UNIX master server.
nbmedia1 is a Windows computer and a NetBackup client.
On nbmaster1, run the following command:
/usr/openv/netbackup/bin/nbgetconfig -M nbmedia1 EXCLUDE
The output lists the exclude list on nbmedia1:
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\*
- Create an exclude list on the UNIX server.
For example, file ex_list on nbmaster1:
vi /tmp/ex_list
The contents of ex_list consists of the following files and directories:
more /tmp/ex_list 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\* EXCLUDE = C:\ EXCLUDE = D:\
- From the UNIX server, use the nbsetconfig command to set the exclude list on a Windows client.
For example, run the following command on nbmaster1 to make ex_list the exclude list on client nbmedia1:
/usr/openv/netbackup/bin/nbsetconfig -h nbmedia1 /tmp/ex_list
- On the UNIX server, use the nbgetconfig command to view the new exclude list on the Windows client.
For example:
/usr/openv/netbackup/bin/nbgetconfig -M nbmedia1 EXCLUDE
The output lists the updated exclude list on nbmedia1:
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\* EXCLUDE = C:\ EXCLUDE = D:\