This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C5BEDF.B9FA421C
Content-Type: text/plain;
charset="iso-8859-1"
It's a Korn shell script so it'll only work in Unix unless you've got unix
tools for windows installed.
Sorry,
-M
-----Original Message-----
From: Steve.Bally AT radisys DOT com [mailto:Steve.Bally AT radisys DOT com]
Sent: Wednesday, September 21, 2005 12:40 PM
To: Piszcz, Justin
Cc: Mark.Donaldson AT cexp DOT com; Veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Client list and associated policies
Will this work in a windows environment?
Steve Bally
Systems Engineer
RadiSys Corporation
www.radisys.com
steve.bally AT radisys DOT com
Desk: 503-615-1207
Cell: 503-970-6201
This electronic message (Email) contains information which may be
confidential, privileged or otherwise protected from disclosure. The
information is intended to be used solely by the named recipient(s). If you
are not a named recipient, any review, disclosure, copying, distribution or
use of this transmission or its contents is prohibited. If you have received
this transmission (Email) in error, please notify me immediately.
"Piszcz, Justin" <jpiszcz AT servervault DOT com>
09/21/2005 09:11 AM
To
<Mark.Donaldson AT cexp DOT com>, <Steve.Bally AT radisys DOT com>,
<Veritas-bu AT mailman.eng.auburn DOT edu>
cc
Subject
RE: [Veritas-bu] Client list and associated policies
Very nice script, found two clients that were in two policies.
_____
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of
Mark.Donaldson AT cexp DOT com
Sent: Wednesday, September 21, 2005 10:52 AM
To: Steve.Bally AT radisys DOT com; Veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Client list and associated policies
Pretty output version:
#!/bin/ksh
PATH=$PATH:/usr/openv/netbackup/bin:/usr/openv/netbackup/bin/admincmd
for c in `bpplclients -allunique -noheader |awk '{print $3}'|sort|uniq `
do
bppllist -byclient $c|\
awk 'NR==1 && $1=="CLASS" {printf "%20s\t%s\n","'$c'",$2}
NR>1 && $1=="CLASS" {printf "%20s\t%s\n"," ",$2}'
echo
done
-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of
Steve.Bally AT radisys DOT com
Sent: Tuesday, September 20, 2005 12:31 PM
To: Veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Client list and associated policies
All,
NBU 5.1
MP3A
Windows 2003 Master
I am trying to get a list of ALL clients and ALL the policies that the
particular client is associated with, is there a command that can do this
and dump it to a file?
Regards,
Steve Bally
Systems Engineer
RadiSys Corporation
www.radisys.com
steve.bally AT radisys DOT com
Desk: 503-615-1207
Cell: 503-970-6201
This electronic message (Email) contains information which may be
confidential, privileged or otherwise protected from disclosure. The
information is intended to be used solely by the named recipient(s). If you
are not a named recipient, any review, disclosure, copying, distribution or
use of this transmission or its contents is prohibited. If you have received
this transmission (Email) in error, please notify me immediately.
------_=_NextPart_001_01C5BEDF.B9FA421C
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=927350719-21092005><FONT face=Arial color=#0000ff size=2>It's
a
Korn shell script so it'll only work in Unix unless you've got unix tools for
windows installed.</FONT></SPAN></DIV>
<DIV><SPAN class=927350719-21092005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=927350719-21092005><FONT face=Arial color=#0000ff
size=2>Sorry,</FONT></SPAN></DIV>
<DIV><SPAN class=927350719-21092005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=927350719-21092005><FONT face=Arial color=#0000ff
size=2>-M</FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Steve.Bally AT radisys DOT
com
[mailto:Steve.Bally AT radisys DOT com]<BR><B>Sent:</B> Wednesday, September
21, 2005
12:40 PM<BR><B>To:</B> Piszcz, Justin<BR><B>Cc:</B> Mark.Donaldson AT cexp
DOT com;
Veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> RE: [Veritas-bu]
Client
list and associated policies<BR><BR></FONT></DIV><BR><FONT face=sans-serif
size=2>Will this work in a windows environment?</FONT> <BR><FONT
face=sans-serif size=2><BR>Steve Bally<BR>Systems Engineer<BR>RadiSys
Corporation<BR>www.radisys.com<BR>steve.bally AT radisys DOT com<BR>Desk:
503-615-1207 <BR>Cell: 503-970-6201<BR><BR>This electronic message (Email)
contains information which may be confidential, privileged or otherwise
protected from disclosure. The information is intended to be used solely by
the named recipient(s). If you are not a named recipient, any review,
disclosure, copying, distribution or use of this transmission or its contents
is prohibited. If you have received this transmission (Email) in error,
please
notify me immediately.</FONT> <BR><BR><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="40%"><FONT face=sans-serif size=1><B>"Piszcz, Justin"
<jpiszcz AT servervault DOT com></B> </FONT>
<P><FONT face=sans-serif size=1>09/21/2005 09:11 AM</FONT> </P>
<TD width="59%">
<TABLE width="100%">
<TBODY>
<TR>
<TD>
<DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
<TD vAlign=top><FONT face=sans-serif
size=1><Mark.Donaldson AT cexp DOT com>,
<Steve.Bally AT radisys DOT com>,
<Veritas-bu AT mailman.eng.auburn DOT edu></FONT>
<TR>
<TD>
<DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
<TD vAlign=top>
<TR>
<TD>
<DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
<TD vAlign=top><FONT face=sans-serif size=1>RE: [Veritas-bu]
Client list and associated
policies</FONT></TR></TBODY></TABLE><BR>
<TABLE>
<TBODY>
<TR vAlign=top>
<TD>
<TD></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><BR><BR><FONT
face=Arial
color=#000080 size=2>Very nice script, found two clients that were in two
policies.</FONT> <BR><FONT face=Arial color=#000080 size=2> </FONT>
<DIV align=center><BR>
<HR>
</DIV><BR><FONT face=Tahoma size=2><B>From:</B>
veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] <B>On Behalf Of
</B>Mark.Donaldson AT cexp DOT com<B><BR>Sent:</B> Wednesday, September 21,
2005
10:52 AM<B><BR>To:</B> Steve.Bally AT radisys DOT com;
Veritas-bu AT mailman.eng.auburn DOT edu<B><BR>Subject:</B> RE: [Veritas-bu]
Client
list and associated policies</FONT> <BR><FONT face="Times New Roman"
size=3> </FONT> <BR><FONT face=Arial color=blue size=2>Pretty output
version:</FONT> <BR><FONT face="Times New Roman" size=3> </FONT>
<BR><FONT face=Arial color=blue size=2>#!/bin/ksh</FONT> <BR><FONT face=Arial
color=blue
size=2>PATH=$PATH:/usr/openv/netbackup/bin:/usr/openv/netbackup/bin/admincmd<BR>for
c in `bpplclients -allunique -noheader |awk '{print $3}'|sort|uniq
`<BR>do<BR> bppllist -byclient $c|\<BR> awk 'NR==1
&& $1=="CLASS" {printf "%20s\t%s\n","'$c'",$2}<BR>
NR>1 && $1=="CLASS" {printf "%20s\t%s\n","
",$2}'<BR> echo<BR>done</FONT> <BR><FONT face=Arial color=blue
size=2> </FONT> <BR><FONT face=Tahoma size=2>-----Original
Message-----<B><BR>From:</B> veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]<B>On Behalf Of
</B>Steve.Bally AT radisys DOT com<B><BR>Sent:</B> Tuesday, September 20,
2005 12:31
PM<B><BR>To:</B> Veritas-bu AT mailman.eng.auburn DOT edu<B><BR>Subject:</B>
[Veritas-bu] Client list and associated policies</FONT> <BR><FONT
face=sans-serif size=2><BR>All,</FONT><FONT face="Times New Roman" size=3>
<BR></FONT><FONT face=sans-serif size=2><BR>NBU 5.1</FONT><FONT
face="Times New Roman" size=3> </FONT><FONT face=sans-serif
size=2><BR>MP3A</FONT><FONT face="Times New Roman" size=3> </FONT><FONT
face=sans-serif size=2><BR>Windows 2003 Master</FONT><FONT
face="Times New Roman" size=3> <BR></FONT><FONT face=sans-serif size=2><BR>I
am trying to get a list of ALL clients and ALL the policies that the
particular client is associated with, is there a command that can do this and
dump it to a file?</FONT><FONT face="Times New Roman" size=3>
<BR></FONT><FONT
face=sans-serif size=2><BR>Regards,</FONT><FONT face="Times New Roman"
size=3>
</FONT><FONT face=sans-serif size=2><BR><BR>Steve Bally<BR>Systems
Engineer<BR>RadiSys
Corporation<BR>www.radisys.com<BR>steve.bally AT radisys DOT com<BR>Desk:
503-615-1207 <BR>Cell: 503-970-6201<BR><BR>This electronic message (Email)
contains information which may be confidential, privileged or otherwise
protected from disclosure. The information is intended to be used solely by
the named recipient(s). If you are not a named recipient, any review,
disclosure, copying, distribution or use of this transmission or its contents
is prohibited. If you have received this transmission (Email) in error,
please
notify me immediately.</FONT> <BR></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C5BEDF.B9FA421C--
|