Veritas-bu

[Veritas-bu] bp.conf and exclude_list...

2005-05-25 12:03:18
Subject: [Veritas-bu] bp.conf and exclude_list...
From: Charles Ballowe <cballowe AT gmail DOT com> (Charles Ballowe)
Date: Wed, 25 May 2005 11:03:18 -0500
also for unix there's bpinst (which has way more power than is good
for anybody to have) and isn't very well documented.

you can do:
bpinst -MISC -X -Z script_name.sh -src /path/to/script -dest
/usr/openv/netbackup/bin -host client_name

make script_name.sh something that appends the server to the bp.conf
--- the option for -dest must be as above, the path to script is the
directory where your script resides on the master. The sneaky part is
that this copies the script to the client, executes it, and removes
it. It's quite useful for lots of administrative tasks. It only works
with unix clients though - the bpgp seems to be useful for sending
files to unix and windows. Without the -X it can be used to send any
file from the master to the client and isn't restricted to that bin
directory as a destination.

On 5/25/05, Stump, Robert (Contractor) (J6B) <Robert.Stump.ctr AT dla DOT mil> 
wrote:
>  
> Before VERITAS Software changed the ../bin files to executables you could
> see an example of the usage of bpgp in the file called add_slave_on_clients 
> If any of you have 3.4 laying around you'll be able to see most of the bp
> commands written in shell. Might be good to load 3.4 on a lab server to
> glean scripting ideas. 
>   
> BTW: the bpgp command requires the full pathname of the file being sent or
> retrieved.
>  
>  ________________________________
>  From: veritas-bu-admin AT mailman.eng.auburn DOT edu
> [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf
> Of Stump, Robert (Contractor) (J6B)
> Sent: Wednesday, May 25, 2005 7:31 AM
> 
> To: Hampus Lind; veritas-bu AT mailman.eng.auburn DOT edu
> Subject: RE: [Veritas-bu] bp.conf and exclude_list...
> 
>  
>  
> I forgot to dot my i 
>   
>  
> to distribute them from your master server 
>  
> #  for i in `cat filelist` 
> # do 
> # /usr/openv/netbackup/bin/bpgp to $i /tmp/exclude_list.$i
> /usr/openv/netbackup/exclude_list 
> 
>  
>  ________________________________
>  From: veritas-bu-admin AT mailman.eng.auburn DOT edu
> [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf
> Of Stump, Robert (Contractor) (J6B)
> Sent: Wednesday, May 25, 2005 7:13 AM
> To: Hampus Lind; veritas-bu AT mailman.eng.auburn DOT edu
> Subject: RE: [Veritas-bu] bp.conf and exclude_list...
> 
>  
>  
> undocumented bpgp 
>   
> to gather them unto your master server 
> #  for i in `cat filelist` 
> # do 
> # /usr/openv/netbackup/bin/bpgp from $i
> /usr/openv/netbackup/exclude_list /tmp/exclude_list.$i 
> # done 
>   
> to distribute them from your master server 
>  
> #  for i in `cat filelist` 
> # do 
> # /usr/openv/netbackup/bin/bpgp to $i /tmp/exclude_list
> /usr/openv/netbackup/exclude_list 
>   
> the general syntax is 
> bpgp from <client> <filename on client> <filename on master> 
> bpgp to <client> <filename on master> <filename on client> 
> 
>  
>  ________________________________
>  From: veritas-bu-admin AT mailman.eng.auburn DOT edu
> [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf
> Of Hampus Lind
> Sent: Wednesday, May 25, 2005 6:53 AM
> To: veritas-bu AT mailman.eng.auburn DOT edu
> Subject: [Veritas-bu] bp.conf and exclude_list...
> 
>  
>  
> Hi all! 
>   
> Is there any way in netbackup to push out bp.conf and exclude_list to a
> range of clients?? 
> I.e if i have installed a new media servar and dont want to logon to 80 unix
> clients to change bp.conf... Or if i need to rename a policy for 80 unix
> clients i dont want to logon and change the name of the exclude_list.. 
>   
> Thanks! 
>   
>   
> MVH / Hampus Lind
> Rikspolisstyrelsen
> National Police Board
> Tele arb: +46 (0)8 - 401 99 43
> Tele mob: +46 (0)70 - 217 92 66
> E-mail: hampus.lind AT rps.police DOT se 
>   
>


<Prev in Thread] Current Thread [Next in Thread>