[Veritas-bu] Easy question... (Netbackup Datacenter 3.4 UNIX)
2003-02-18 22:05:27
Subject: |
[Veritas-bu] Easy question... (Netbackup Datacenter 3.4 UNIX) |
From: |
brian.blake AT veritas DOT com (Brian Blake) |
Date: |
Tue, 18 Feb 2003 22:05:27 -0500 |
> 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.
--B_3128450728_11656211
Content-type: text/plain; charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable
We usually don't recommend you look directly at the ASCII files as they
could change between versions...
I usually use the CLI's to get info... In this case, you could use
bppllist to get the list of policies, then bpplinclude <policy> to get
the includes, and bpplsched <policy> -U to get the schedules. Most of
the bppl* CLIs (in ../netbackup/bin/admincmd) will give you usage info
(-help) and the args are pretty much the same throughout those CLIs.
B-
On 2/18/03 3:34 PM, "Mark Eisenhardt" =
<Mark.Eisenhardt AT hughessupply DOT com>
wrote:
See if this will provide what you need.=20
It works as long as your files are ASCII and it gives a little less =
info
than check_coverage does=20
########################################################################=
################=20
for i in `ls /usr/openv/netbackup/db/class | sort -t_ +3`=20
do=20
ACTIVE=3D`grep "ACTIVE 0" /usr/openv/netbackup/db/class/$i/info |wc -l` =
RESIDENCE=3D`grep RESIDENCE /usr/openv/netbackup/db/class/$i/info |cut =
-f2
-d' ' | wc -l`=20
CLIENT=3D`cat /usr/openv/netbackup/db/class/$i/clients | grep -v "#" =
|awk
'{print $1}'`=20
if [ $ACTIVE -ne 0 ]=20
then=20
if [ $RESIDENCE -ne 0 ]=20
then=20
echo
"*************************************************************"=20
echo "Residence : Whoever or the RESIDENCE value"=20
echo "Client :" $CLIENT=20
echo "Class :" $i=20
echo "Includes :\n`cat
/usr/openv/netbackup/db/class/$i/includes`"=20
echo ""=20
echo "Schedule(s) :"=20
for j in ` ls =
/usr/openv/netbackup/db/class/$i/schedule`
do=20
/usr/openv/netbackup/bin/admincmd/bpclsched $i -label =
$j
-U=20
echo=20
done=20
echo
"*************************************************************"=20
fi=20
fi=20
done=20
########################################################################=
######=20
Mark Eisenhardt=20
Sr. UNIX Systems Administrator=20
Hughes Supply Inc=20
407.299.6573 ext. 5483=20
-----Original Message-----=20
From: Paul Boatman [mailto:boatm005 AT admin.ndis.umn DOT edu]=20
Sent: Tuesday, February 18, 2003 1:07 PM=20
To: ssesar AT mitre DOT org=20
Cc: veritas-bu AT mailman.eng.auburn DOT edu=20
Subject: Re: [Veritas-bu] Easy question... (Netbackup Datacenter 3.4=20
UNIX)=20
Well,=20
The check_coverage script doesn't seem to be working for me :(=20
So far what I was doing is:=20
cd openv/netbackup/db/class=20
du -ak|grep includes > tempincludes=20
then I have to somehow get that output into a script and display the=20
contents of each includes file :(=20
>>> "Steven L. Sesar" <ssesar AT mitre DOT org> 02/18/03 11:30AM >>>=20
There's a script /opt/openv/netbackup/bin/goodies/check_coverage which=20
will do just that.=20
--Steve=20
Paul Boatman wrote:=20
>Hey guys and gals,=20
>=20
>I need a report to list every client, and what directories are being=20
>backed up on that client. Is there a easy script or report to do this=20
?=20
>=20
>Thanks,=20
>=20
>Paul=20
>=20
>=20
>=20
>=20
>***********************************************************************=
***=20
>This e-mail and its attachments have been scanned for viruses.=20
>NDIS - University of Minnesota=20
>***********************************************************************=
***=20
>=20
>_______________________________________________=20
>Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu=20
>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu=20
> =20
>=20
************************************************************************=
**=20
This e-mail and its attachments have been scanned for viruses.=20
NDIS - University of Minnesota=20
************************************************************************=
**=20
_______________________________________________=20
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu=20
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu=20
--=20
Brian Blake
Professional Services Organization
VERITAS Software
brian.blake AT veritas DOT com
--B_3128450728_11656211
Content-type: text/html; charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable
<HTML>
<HEAD>
<TITLE>Re: [Veritas-bu] Easy question... (Netbackup Datacenter 3.4 =
UNIX)</TITLE>
</HEAD>
<BODY>
<FONT FACE=3D"Verdana">We usually don’t recommend you look =
directly at the ASCII files as they could change between =
versions...<BR>
<BR>
I usually use the CLI’s to get info... In this case, you could =
use bppllist to get the list of policies, then bpplinclude =
<policy> to get the includes, and bpplsched <policy> -U to =
get the schedules. Most of the bppl* CLIs (in =
../netbackup/bin/admincmd) will give you usage info (-help) and the =
args are pretty much the same throughout those CLIs.<BR>
<BR>
B-<BR>
<BR>
On 2/18/03 3:34 PM, "Mark Eisenhardt" =
<Mark.Eisenhardt AT hughessupply DOT com> wrote:<BR>
<BR>
</FONT><BLOCKQUOTE><FONT FACE=3D"Verdana"><FONT SIZE=3D"2">See if this =
will provide what you need.</FONT> <BR>
<FONT SIZE=3D"2">It works as long as your files are ASCII and it gives =
a little less info than check_coverage does <BR>
</FONT><BR>
<BR>
<BR>
<FONT =
SIZE=3D"2">#############################################################=
###########################</FONT> <BR>
<BR>
<FONT SIZE=3D"2">for i in `ls /usr/openv/netbackup/db/class | sort -t_ =
+3` <BR>
do <BR>
ACTIVE=3D`grep "ACTIVE 0" =
/usr/openv/netbackup/db/class/$i/info |wc -l` <BR>
RESIDENCE=3D`grep RESIDENCE /usr/openv/netbackup/db/class/$i/info |cut =
-f2 -d' ' | wc -l` <BR>
CLIENT=3D`cat /usr/openv/netbackup/db/class/$i/clients | grep -v =
"#" |awk '{print $1}'`</FONT> <BR>
<FONT SIZE=3D"2">if [ $ACTIVE -ne 0 ] <BR>
then <BR>
if [ $RESIDENCE -ne 0 ] =
<BR>
=
then <BR>
=
echo =
"************************************************************=
*" <BR>
=
echo "Residence : Whoever or the RESIDENCE =
value" <BR>
=
echo "Client :" $CLIENT <BR>
=
echo "Class :" $i <BR>
=
echo "Includes :\n`cat =
/usr/openv/netbackup/db/class/$i/includes`" <BR>
=
echo "" <BR>
=
echo "Schedule(s) :" <BR>
=
for j in ` ls =
/usr/openv/netbackup/db/class/$i/schedule` <BR>
=
do <BR>
=
/usr/openv/netbackup/bin/admincmd/bpclsched $i =
-label $j -U <BR>
=
echo <BR>
=
done <BR>
=
echo =
"************************************************************=
*" <BR>
fi <BR>
fi <BR>
done</FONT> <BR>
<FONT =
SIZE=3D"2">#############################################################=
#################</FONT> <BR>
<BR>
<FONT SIZE=3D"2">Mark Eisenhardt</FONT> <BR>
<FONT SIZE=3D"2">Sr. UNIX Systems Administrator</FONT> <BR>
<FONT SIZE=3D"2">Hughes Supply Inc</FONT> <BR>
<FONT SIZE=3D"2">407.299.6573 ext. 5483 <BR>
</FONT><BR>
<BR>
<FONT SIZE=3D"2">-----Original Message-----</FONT> <BR>
<FONT SIZE=3D"2">From: Paul Boatman =
[mailto:boatm005 AT admin.ndis.umn DOT edu]</FONT> <BR>
<FONT SIZE=3D"2">Sent: Tuesday, February 18, 2003 1:07 PM</FONT> <BR>
<FONT SIZE=3D"2">To: ssesar AT mitre DOT org</FONT> <BR>
<FONT SIZE=3D"2">Cc: veritas-bu AT mailman.eng.auburn DOT edu</FONT> <BR>
<FONT SIZE=3D"2">Subject: Re: [Veritas-bu] Easy question... (Netbackup =
Datacenter 3.4</FONT> <BR>
<FONT SIZE=3D"2">UNIX)</FONT> <BR>
<BR>
<BR>
<FONT SIZE=3D"2">Well,</FONT> <BR>
<BR>
<FONT SIZE=3D"2">The check_coverage script doesn't seem to be working =
for me :(</FONT> <BR>
<BR>
<FONT SIZE=3D"2">So far what I was doing is:</FONT> <BR>
<BR>
<FONT SIZE=3D"2">cd openv/netbackup/db/class</FONT> <BR>
<FONT SIZE=3D"2">du -ak|grep includes > tempincludes</FONT> <BR>
<BR>
<FONT SIZE=3D"2">then I have to somehow get that output into a script =
and display the</FONT> <BR>
<FONT SIZE=3D"2">contents of each includes file :(</FONT> <BR>
<FONT SIZE=3D"2"> <BR>
</FONT><BR>
<FONT SIZE=3D"2">>>> "Steven L. Sesar" =
<ssesar AT mitre DOT org> 02/18/03 11:30AM >>></FONT> <BR>
<FONT SIZE=3D"2">There's a script =
/opt/openv/netbackup/bin/goodies/check_coverage which</FONT> <BR>
<BR>
<FONT SIZE=3D"2">will do just that.</FONT> <BR>
<BR>
<FONT SIZE=3D"2">--Steve</FONT> <BR>
<BR>
<FONT SIZE=3D"2">Paul Boatman wrote:</FONT> <BR>
<BR>
<FONT SIZE=3D"2">>Hey guys and gals,</FONT> <BR>
<FONT SIZE=3D"2">></FONT> <BR>
<FONT SIZE=3D"2">>I need a report to list every client, and what =
directories are being</FONT> <BR>
<FONT SIZE=3D"2">>backed up on that client. Is there a easy script =
or report to do this</FONT> <BR>
<FONT SIZE=3D"2">?</FONT> <BR>
<FONT SIZE=3D"2">></FONT> <BR>
<FONT SIZE=3D"2">>Thanks,</FONT> <BR>
<FONT SIZE=3D"2">></FONT> <BR>
<FONT SIZE=3D"2">>Paul</FONT> <BR>
<FONT SIZE=3D"2">></FONT> <BR>
<FONT SIZE=3D"2">></FONT> <BR>
<FONT SIZE=3D"2">></FONT> <BR>
<FONT SIZE=3D"2">></FONT> <BR>
<FONT =
SIZE=3D"2">>*********************************************************=
*****************</FONT> <BR>
<FONT SIZE=3D"2">>This e-mail and its attachments have been scanned =
for viruses.</FONT> <BR>
<FONT SIZE=3D"2">>NDIS - University of Minnesota <BR>
>********************************************************************=
******</FONT> <BR>
<FONT SIZE=3D"2">></FONT> <BR>
<FONT =
SIZE=3D"2">>_______________________________________________</FONT> =
<BR>
<FONT SIZE=3D"2">>Veritas-bu maillist - =
Veritas-bu AT mailman.eng.auburn DOT edu <BR>
>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu <BR>
> <BR>
></FONT> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<FONT =
SIZE=3D"2">*************************************************************=
*************</FONT> <BR>
<FONT SIZE=3D"2">This e-mail and its attachments have been scanned for =
viruses.</FONT> <BR>
<FONT SIZE=3D"2">NDIS - University of Minnesota <BR>
************************************************************************=
**</FONT> <BR>
<BR>
<FONT SIZE=3D"2">_______________________________________________</FONT> =
<BR>
<FONT SIZE=3D"2">Veritas-bu maillist - =
Veritas-bu AT mailman.eng.auburn DOT edu</FONT> <BR>
<FONT =
SIZE=3D"2">http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu</FO=
NT> <BR>
<BR>
</FONT></BLOCKQUOTE><FONT FACE=3D"Verdana"><BR>
<BR>
-- <BR>
Brian Blake<BR>
Professional Services Organization<BR>
VERITAS Software<BR>
brian.blake AT veritas DOT com<BR>
</FONT>
</BODY>
</HTML>
--B_3128450728_11656211--
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Veritas-bu] Easy question... (Netbackup Datacenter 3.4 UNIX), Paul Boatman
- [Veritas-bu] Easy question... (Netbackup Datacenter 3.4 UNIX), Paul Boatman
- [Veritas-bu] Easy question... (Netbackup Datacenter 3.4 UNIX), Mark Eisenhardt
- [Veritas-bu] Easy question... (Netbackup Datacenter 3.4 UNIX),
Brian Blake <=
- [Veritas-bu] Easy question... (Netbackup Datacenter 3.4 UNIX), Paul Boatman
- [Veritas-bu] Easy question... (Netbackup Datacenter 3.4 UNIX), Donaldson, Mark
- [Veritas-bu] Easy question... (Netbackup Datacenter 3.4 UNIX), Donaldson, Mark
- [Veritas-bu] Easy question... (Netbackup Datacenter 3.4 UNIX), Donaldson, Mark
|
|
|