[Veritas-bu] bperror question
2003-11-21 11:11:48
This is a multi-part message in MIME format.
------_=_NextPart_001_01C3B04A.2A6DAEA0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Brad:
=20
The best you can probably do is by client and jobid. You would probably
have to parse the bpdbjobs -all_columns output for the most recent
backups to find the client with the filesystem you are looking for, or
just the filesystem.
=20
I'm sure someone has a snippet of a script that will give you what you
need from bpdbjobs.
=20
bperror -client $CLNT -jobid $JOBID -backstat -U
=20
David A. Chapa * Technical Advisor, Technical Marketing * ADIC *
720.249.5836 * david.chapa AT adic DOT com
Pathlight VX - Integrated Disk-to-Tape Backup - http://www.adic.com
<http://www.adic.com>=20
-----Original Message-----
From: Hillebrand, Bradly W. [mailto:bhillebrand AT fhlbi DOT com]=20
Sent: Friday, November 21, 2003 8:46 AM
To: veritas-bu AT mailman.eng.auburn DOT edu; nbu-lserv AT dsihost-srv01 DOT com
Subject: [Veritas-bu] bperror question
=20
=20
I am using the following to report backup status:
=20
>bperror -U -backstat -hoursago 12
=20
Is there a way to output the filesystem backed up?
=20
=20
Thanks,
=20
Brad Hillebrand
=20
------_=_NextPart_001_01C3B04A.2A6DAEA0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:[email protected]">
<title>Message</title>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"PersonName"/>
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:553679495 -2147483648 8 0 66047 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
span.EmailStyle17
{mso-style-type:personal-reply;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:navy;}
span.SpellE
{mso-style-name:"";
mso-spl-e:yes;}
span.GramE
{mso-style-name:"";
mso-gram-e:yes;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */=20
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:.5in'>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Brad:<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>The best you can probably do is by =
client
and <span class=3DSpellE>jobid</span>.<span =
style=3D'mso-spacerun:yes'>
</span>You would probably have to parse the <span =
class=3DSpellE>bpdbjobs</span> –<span
class=3DSpellE>all_columns</span> output for the most recent backups to =
find the
client with the <span class=3DSpellE>filesystem</span> you are looking =
for, or
just the <span =
class=3DSpellE>filesystem</span>.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>I’m sure someone has a =
snippet of a
script that will give you what you need from <span =
class=3DSpellE>bpdbjobs</span>.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><span class=3DSpellE><span class=3DGramE><font =
size=3D2
color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:navy'>bperror</span></font></span></span><font size=3D2 =
color=3Dnavy
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:navy'> –client
$CLNT –<span class=3DSpellE>jobid</span> $JOBID –<span =
class=3DSpellE>backstat</span>
–U<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<p><b><font size=3D1 color=3Dnavy face=3D"Times New Roman"><span =
style=3D'font-size:
7.5pt;color:navy;font-weight:bold;mso-no-proof:yes'>David A. Chapa =
</span></font></b><font
size=3D1 color=3Dnavy face=3DSymbol><span =
style=3D'font-size:7.5pt;font-family:Symbol;
color:navy;mso-no-proof:yes'>½</span></font><font size=3D1 =
color=3Dnavy><span
style=3D'font-size:7.5pt;color:navy;mso-no-proof:yes'> Technical =
Advisor,
Technical Marketing </span></font><font size=3D1 color=3Dnavy =
face=3DSymbol><span
style=3D'font-size:7.5pt;font-family:Symbol;color:navy;mso-no-proof:yes'>=
½</span></font><font
size=3D1 color=3D"#999999"><span =
style=3D'font-size:7.5pt;color:#999999;mso-no-proof:
yes'> </span></font><b><font size=3D1 color=3Dred><span =
style=3D'font-size:7.5pt;
color:red;font-weight:bold;mso-no-proof:yes'>ADIC</span></font></b><font
size=3D1 color=3D"#999999"><span =
style=3D'font-size:7.5pt;color:#999999;mso-no-proof:
yes'> </span></font><font size=3D1 color=3Dnavy face=3DSymbol><span =
style=3D'font-size:
7.5pt;font-family:Symbol;color:navy;mso-no-proof:yes'>½</span></fo=
nt><font
size=3D1 color=3Dnavy><span =
style=3D'font-size:7.5pt;color:navy;mso-no-proof:yes'>
720.249.5836 </span></font><font size=3D1 color=3Dnavy =
face=3DSymbol><span
style=3D'font-size:7.5pt;font-family:Symbol;color:navy;mso-no-proof:yes'>=
½
</span></font><font size=3D1 color=3Dnavy><span =
style=3D'font-size:7.5pt;color:navy;
mso-no-proof:yes'><a =
href=3D"mailto:david.chapa AT adic DOT com">david.chapa AT adic DOT
com</a></span></fon=
t><font
color=3Dnavy><span =
style=3D'color:navy;mso-no-proof:yes'><o:p></o:p></span></font></p>
<p><font size=3D1 color=3Dnavy face=3D"Times New Roman"><span =
style=3D'font-size:7.5pt;
color:navy;mso-no-proof:yes'>Pathlight VX - Integrated Disk-to-Tape =
Backup - </span></font><font
color=3Dnavy><span style=3D'color:navy;mso-no-proof:yes'><a
href=3D"http://www.adic.com"><font size=3D1><span =
style=3D'font-size:7.5pt'>http://www.adic.com</span></font></a></span></f=
ont><o:p></o:p></p>
</div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> Hillebrand, Bradly =
W.
[mailto:bhillebrand AT fhlbi DOT com<span class=3DGramE>] <br>
<b><span style=3D'font-weight:bold'>Sent</span></b></span><b><span
style=3D'font-weight:bold'>:</span></b> Friday, November 21, 2003 8:46 =
AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
</span></font><st1:PersonName><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>veritas-bu AT mailman.eng DOT
aubu=
rn.edu</span></font></st1:PersonName><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>;
nbu-lserv AT dsihost-srv01 DOT com<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [Veritas-bu] =
bperror
question</span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>I am using the following to =
report
backup status:</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>>bperror -U -backstat =
-hoursago
12</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Is there a way to output =
the
filesystem backed up?</span></font><o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
</div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Thanks,</span></font><o:p></=
o:p></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Brad =
Hillebrand</span></font><o:p></o:p></p>
<div>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>
=00
------_=_NextPart_001_01C3B04A.2A6DAEA0--
|
|
|