I am assuming that using bpgp is not possible because the values are stored in the registry rather than a file? If bpsetconfig can do this, I guess that you need to write the entire contents to it? I only want to make some additional entries. Is there even a way to specify multiple directories via the GUI? For example, copy and paste a string with multiple exclusions (ie, recognising a new-line character), rather than each individual entry? Thanks.
> Is there even a way to specify multiple directories via the GUI?
There is a thread somewhere that describes how to script this request, but I don't have the time to locate it now. Hopefully some windows people will read this and lend a helping hand. Otherwise try google or some other search engine because I know this has been answered before.Message was edited by: Bob Stump
The file will contain a list of _everything_ you want (80 lines will work fine). It is also important to remember that this is a REPLACEMENT of what is there. It does not append to the existing vaules.
Your best bet is to set it up manually on one client and then get the format using bpgetconfig. Just take that output of the Exclude = entries and put it into your file for the bpsetconfig command.
-- David Rock firstname.lastname@example.org
and check this link http://mailman.eng.auburn.edu/pipermail/veritas-bu/2005-June/028904.html
I have just made this bat script to distribute a standard exclude list to all our Windows Clients.
bat script --------------------------------------------------------------------------- SEt NBADM=D:\veritas\netbackup\bin\admincmd
REM ******* Get list of Windows clients ************** %NBADm%\bpclclients -allunique -noheader | find /i "Windows" > c:\temp\client_list
REM ******* Get exclude_list from clients and add standard list ***************** for /f "tokens=3" %%i in (c:\temp\client_list) do ( %NBADM%\bpgetconfig -M %%i Exclude > c:\temp\%%i.exclude_list type c:\temp\windows.exclude_list >> c:\temp\%%i.exclude_list )
REM ******* Set new exclude_list on clients ***************** for /f "tokens=3" %%i in (c:\temp\client_list) do ( %NBADM%\bpsetconfig -h %%i c:\temp\%%i.exclude_list )
-- Cybercity Webhosting (http://www.cybercity.dk)Message was edited by: Bob Stump