Veritas-bu

[Veritas-bu] Obtaining NB client host properties from command line

2005-12-08 12:38:24
Subject: [Veritas-bu] Obtaining NB client host properties from command line
From: John_Trainer AT Countrywide DOT Com (John_Trainer AT Countrywide DOT Com)
Date: Thu, 8 Dec 2005 09:38:24 -0800
This is a multipart message in MIME format.
--=_alternative 0060B5EC882570D1_=
Content-Type: text/plain;
 charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

I find the command   findstr to work as an almost acceptable replacement=20
for grep.  I use FOR    FINDSTR   ECHO  TYPE  commands extensively.  I=20
have added the GNU windows release of grep and am looking to add gawk.=20
Cygwin is not on the systems yet but I haven't looked at calling scripts=20
through that util yet.


John Trainer




"Spearman, David" <spe08 AT co.henrico.va DOT us>=20
Sent by: veritas-bu-admin AT mailman.eng.auburn DOT edu
12/07/2005 01:09 PM

To
"Chapman, Scott" <Scott.Chapman AT icbc DOT com>, "Winter, Todd"=20
<todd.winter AT intel DOT com>, veritas-bu AT mailman.eng.auburn DOT edu
cc

Subject
RE: [Veritas-bu] Obtaining NB client host properties from command line






grep is not available on windows however one can download cygwin32 or=20
posix windows/unix commands off the web. We use posix, works fine. Just=20
make sure you path it.
=20
David Spearman
County of Henrico, Va.
-----Original Message-----
From: Chapman, Scott [mailto:Scott.Chapman AT icbc DOT com]=20
Sent: Wednesday, December 07, 2005 4:04 PM
To: Winter, Todd; Spearman, David; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Obtaining NB client host properties from command =

line

Is bpgetconfig what you are looking for?  Maybe, "bpgetconfig -M=20
<client-name> | grep -i exclude" . . . I assume grep is available on=20
windows?
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=20
Scott Chapman=20
Insurance Corporation of British Columbia - Victoria=20
ph: 250.414.7650  cell: 250.213.9295=20
-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu=20
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of Winter, 
Todd
Sent: Wednesday, December 07, 2005 12:37 PM
To: Spearman, David; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Obtaining NB client host properties from command =

line

That doesn?t seem to work.  All I get back when I use the bpclient command =

is the client name and an empty ip address field.  No detailed settings=20
for the client.
=20
Todd Winter
Intel Corp.
D1C Automation - Infrastructure Group
todd.winter AT intel DOT com

From: Spearman, David [mailto:spe08 AT co.henrico.va DOT us]=20
Sent: Wednesday, December 07, 2005 11:20 AM
To: Winter, Todd
Subject: RE: [Veritas-bu] Obtaining NB client host properties from command =

line
=20
Try the bpblient command
=20
bpclient - L -client xxxxxx  where xxxxx is th eclient name
=20
David Spearman
County of Henrico, VA.
-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu=20
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of Winter, 
Todd
Sent: Wednesday, December 07, 2005 2:00 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Obtaining NB client host properties from command=20
line
Is there a way to get Netbackup client host properties from the command=20
line?  I?m looking for something similar to bppllist (which spits out all=20
the settings for a policy). In particular I?m interested in querying=20
clients for their exclude lists via command line.
=20
BTW, my environment is all NB 4.5 on Windows 2000.
=20
Thanks?
Todd Winter
Intel Corp.
D1C Automation - Infrastructure Group
todd.winter AT intel DOT com
=20

--=_alternative 0060B5EC882570D1_=
Content-Type: text/html;
 charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable


<br><font size=3D2 face=3D"sans-serif">I find the command &nbsp; findstr to
work as an almost acceptable replacement for grep. &nbsp;I use FOR &nbsp;
&nbsp;FINDSTR &nbsp; ECHO &nbsp;TYPE &nbsp;commands extensively. &nbsp;I
have added the GNU windows release of grep and am looking to add gawk.
&nbsp;Cygwin is not on the systems yet but I haven't looked at calling
scripts through that util yet.</font>
<br>
<br><font size=3D2 face=3D"sans-serif"><br>
<b>John Trainer</b><br>
</font>
<br>
<br>
<br>
<table width=3D100%>
<tr valign=3Dtop>
<td width=3D40%><font size=3D1 face=3D"sans-serif"><b>&quot;Spearman, David=
&quot;
&lt;spe08 AT co.henrico.va DOT us&gt;</b> </font>
<br><font size=3D1 face=3D"sans-serif">Sent by: veritas-bu-admin AT mailman DOT 
en=
g.auburn.edu</font>
<p><font size=3D1 face=3D"sans-serif">12/07/2005 01:09 PM</font>
<td width=3D59%>
<table width=3D100%>
<tr valign=3Dtop>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">To</font></div>
<td><font size=3D1 face=3D"sans-serif">&quot;Chapman, Scott&quot; &lt;Scott=
.Chapman AT icbc DOT com&gt;,
&quot;Winter, Todd&quot; &lt;todd.winter AT intel DOT com&gt;, 
veritas-bu@mailman.=
eng.auburn.edu</font>
<tr valign=3Dtop>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">cc</font></div>
<td>
<tr valign=3Dtop>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">Subject</font></div>
<td><font size=3D1 face=3D"sans-serif">RE: [Veritas-bu] Obtaining NB client
host properties from command line</font></table>
<br>
<table>
<tr valign=3Dtop>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3D2 color=3Dblue face=3D"Arial">grep is not available on win=
dows
however one can download cygwin32 or posix windows/unix commands off the
web. We use posix, works fine. Just make sure you path it.</font>
<br><font size=3D3>&nbsp;</font>
<br><font size=3D2 color=3Dblue face=3D"Arial">David Spearman</font>
<br><font size=3D2 color=3Dblue face=3D"Arial">County of Henrico, Va.</font>
<br><font size=3D2 face=3D"Tahoma">-----Original Message-----<b><br>
From:</b> Chapman, Scott [mailto:Scott.Chapman AT icbc DOT com] <b><br>
Sent:</b> Wednesday, December 07, 2005 4:04 PM<b><br>
To:</b> Winter, Todd; Spearman, David; veritas-bu AT mailman.eng.auburn DOT 
edu<b>=
<br>
Subject:</b> RE: [Veritas-bu] Obtaining NB client host properties from
command line<br>
</font>
<br><font size=3D2 color=3Dblue face=3D"Arial">Is bpgetconfig what you are =
looking
for? &nbsp;Maybe, &quot;bpgetconfig -M &lt;client-name&gt; | grep -i exclud=
e&quot;
. . . I assume grep is available on windows?</font>
<p><font size=3D1 face=3D"Arial"><b>=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F</b></fon=
t><font size=3D3>
</font><font size=3D1 face=3D"Arial"><b><br>
Scott Chapman</b></font><font size=3D3> </font><font size=3D1 face=3D"Arial=
"><b><i><br>
Insurance Corporation of British Columbia - Victoria</i></b></font><font si=
ze=3D3>
</font><font size=3D1 face=3D"Arial"><br>
ph: 250.414.7650 &nbsp;cell: 250.213.9295</font><font size=3D3> </font>
<p><font size=3D2 face=3D"Tahoma">-----Original Message-----<b><br>
From:</b> veritas-bu-admin AT mailman.eng.auburn DOT edu 
[mailto:veritas-bu-admin@=
mailman.eng.auburn.edu]
<b>On Behalf Of </b>Winter, Todd<b><br>
Sent:</b> Wednesday, December 07, 2005 12:37 PM<b><br>
To:</b> Spearman, David; veritas-bu AT mailman.eng.auburn DOT edu<b><br>
Subject:</b> RE: [Veritas-bu] Obtaining NB client host properties from
command line<br>
</font>
<br><font size=3D2 color=3D#000080 face=3D"Arial">That doesn&#8217;t seem t=
o work.
&nbsp;All I get back when I use the bpclient command is the client name
and an empty ip address field. &nbsp;No detailed settings for the client.</=
font>
<br><font size=3D3 face=3D"Times New Roman">&nbsp;</font>
<br><font size=3D2 color=3D#000080 face=3D"Comic Sans MS"><b>Todd Winter</b=
></font>
<br><font size=3D2 color=3D#000080 face=3D"Comic Sans MS"><b>Intel Corp.</b=
></font>
<br><font size=3D2 color=3D#000080 face=3D"Comic Sans MS"><b>D1C Automation=
 -
Infrastructure Group</b></font>
<br><font size=3D2 color=3D#000080 face=3D"Comic Sans MS"><b>todd.winter@in=
tel.com</b></font>
<div align=3Dcenter>
<br>
<hr></div>
<br><font size=3D2 face=3D"Tahoma"><b>From:</b> Spearman, David [mailto:spe=
08 AT co.henrico.va DOT us]
<b><br>
Sent:</b> Wednesday, December 07, 2005 11:20 AM<b><br>
To:</b> Winter, Todd<b><br>
Subject:</b> RE: [Veritas-bu] Obtaining NB client host properties from
command line</font>
<br><font size=3D3 face=3D"Times New Roman">&nbsp;</font>
<br><font size=3D2 color=3Dblue face=3D"Arial">Try the bpblient command</fo=
nt>
<br><font size=3D3 face=3D"Times New Roman">&nbsp;</font>
<br><font size=3D2 color=3Dblue face=3D"Arial">bpclient - L -client xxxxxx =
&nbsp;where
xxxxx is th eclient name</font>
<br><font size=3D3 face=3D"Times New Roman">&nbsp;</font>
<br><font size=3D2 color=3Dblue face=3D"Arial">David Spearman</font>
<br><font size=3D2 color=3Dblue face=3D"Arial">County of Henrico, VA.</font>
<br><font size=3D2 face=3D"Tahoma">-----Original Message-----<b><br>
From:</b> veritas-bu-admin AT mailman.eng.auburn DOT edu 
[mailto:veritas-bu-admin@=
mailman.eng.auburn.edu]
<b>On Behalf Of </b>Winter, Todd<b><br>
Sent:</b> Wednesday, December 07, 2005 2:00 PM<b><br>
To:</b> veritas-bu AT mailman.eng.auburn DOT edu<b><br>
Subject:</b> [Veritas-bu] Obtaining NB client host properties from command
line</font>
<br><font size=3D2 face=3D"Arial">Is there a way to get Netbackup client ho=
st
properties from the command line? &nbsp;I&#8217;m looking for something sim=
ilar
to bppllist (which spits out all the settings for a policy). In particular
I&#8217;m interested in querying clients for their exclude lists via command
line.</font>
<br><font size=3D3 face=3D"Times New Roman">&nbsp;</font>
<br><font size=3D2 face=3D"Arial">BTW, my environment is all NB 4.5 on Wind=
ows
2000.</font>
<br><font size=3D3 face=3D"Times New Roman">&nbsp;</font>
<br><font size=3D2 face=3D"Arial">Thanks&#8230;</font>
<br><font size=3D2 face=3D"Comic Sans MS"><b>Todd Winter</b></font>
<br><font size=3D2 face=3D"Comic Sans MS"><b>Intel Corp.</b></font>
<br><font size=3D2 face=3D"Comic Sans MS"><b>D1C Automation - Infrastructure
Group</b></font>
<br><font size=3D2 face=3D"Comic Sans MS"><b>todd.winter AT intel DOT 
com</b></fon=
t>
<br><font size=3D3 face=3D"Times New Roman">&nbsp;</font>
<br>
--=_alternative 0060B5EC882570D1_=--