This is a multi-part message in MIME format.
------=_NextPart_000_0029_01C2500C.2E753CA0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MessageHi,
Take a look at this:
/usr/openv/netbackup/bin/admincmd/bpduplicate -PD -client $sn -s $sd -e =
$ed
$sn=3D client
$sd=3D start date
$ed=3D end date
Don't be afraid, the bpduplicate -PD only gives you a list of the jobs =
for the specific client during the time span along with the media IDs =
used.
Jerome
----- Original Message -----=20
From: Donaldson, Mark=20
To: 'Moore, L. Bryan' ; 'veritas-bu AT mailman.eng.auburn DOT edu'=20
Sent: Thursday, August 29, 2002 8:56 PM
Subject: RE: [Veritas-bu] Finding a job ID on media
You can do a "bpdbjobs -report -all_columns" and the entire job =
history is there. =20
=20
Here's a quick-and-dirty line (replace 9999 with your jobid):
=20
bpdbjobs -report -all_columns | grep "^9999," | tr "," "\012" | grep =
-i mounting
=20
Note: this was tested on NB v3.4.
=20
-Mark
-----Original Message-----
From: Moore, L. Bryan [mailto:lbmoore AT scrippsops DOT com]
Sent: Thursday, August 29, 2002 12:39 PM
To: 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: [Veritas-bu] Finding a job ID on media
What is the best way to find what job id wrote to which media ID? =
We are trying to find out which media contains a certain backup job.
=20
Thank you,
=20
Bryan Moore |=20
------=_NextPart_000_0029_01C2500C.2E753CA0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Take a look at this:</FONT></DIV>
<DIV><FONT face=3Dr_ansi size=3D2>
<P>/usr/openv/netbackup/bin/admincmd/bpduplicate -PD -client $sn -s $sd =
-e=20
$ed</P>
<P>$sn=3D client</P>
<P>$sd=3D start date</P>
<P>$ed=3D end date</P>
<P>Don't be afraid, the bpduplicate -PD only gives you a list of =
the jobs=20
for the specific client during the time span along with the media IDs =
used.</P>
<P>Jerome</P></FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:Mark.Donaldson AT experianems DOT com"=20
title=3DMark.Donaldson AT experianems DOT com>Donaldson, Mark</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
href=3D"mailto:lbmoore AT scrippsops DOT com" =
title=3Dlbmoore AT scrippsops DOT com>'Moore, L.=20
Bryan'</A> ; <A href=3D"mailto:'veritas-bu AT mailman.eng.auburn DOT edu'"=20
=
title=3Dveritas-bu AT mailman.eng.auburn DOT edu>'veritas-bu AT mailman DOT
eng.auburn.=
edu'</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, August 29, 2002 =
8:56=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [Veritas-bu] =
Finding a job=20
ID on media</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=3D503135218-29082002><FONT color=3D#0000ff =
face=3DArial size=3D2>You=20
can do a "bpdbjobs -report -all_columns" and the entire job history is =
there. </FONT></SPAN></DIV>
<DIV><SPAN class=3D503135218-29082002><FONT color=3D#0000ff =
face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D503135218-29082002><FONT color=3D#0000ff =
face=3DArial=20
size=3D2>Here's a quick-and-dirty line (replace 9999 with your=20
jobid):</FONT></SPAN></DIV>
<DIV><SPAN class=3D503135218-29082002><FONT color=3D#0000ff =
face=3DArial=20
size=3D2> </FONT></SPAN></DIV>
<DIV><SPAN class=3D503135218-29082002><FONT color=3D#0000ff =
face=3DArial=20
size=3D2>bpdbjobs -report -all_columns | grep "^9999," | tr "," "\012" =
| grep -i=20
mounting</FONT></SPAN></DIV>
<DIV><SPAN class=3D503135218-29082002><FONT color=3D#0000ff =
face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D503135218-29082002><FONT color=3D#0000ff =
face=3DArial=20
size=3D2>Note: this was tested on NB v3.4.</FONT></SPAN></DIV>
<DIV><SPAN class=3D503135218-29082002><FONT color=3D#0000ff =
face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D503135218-29082002><FONT color=3D#0000ff =
face=3DArial=20
size=3D2>-Mark</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> Moore, L. Bryan =
[<A=20
=
href=3D"mailto:lbmoore AT scrippsops DOT com">mailto:lbmoore AT scrippsops DOT
com</A>]=
<BR><B>Sent:</B>=20
Thursday, August 29, 2002 12:39 PM<BR><B>To:</B> <A=20
=
href=3D"mailto:'veritas-bu AT mailman.eng.auburn DOT
edu'">'[email protected]=
ng.auburn.edu'</A><BR><B>Subject:</B>=20
[Veritas-bu] Finding a job ID on media<BR><BR></FONT></DIV>
<DIV><SPAN class=3D959134118-29082002><FONT face=3DArial =
size=3D2>What is the best=20
way to find what job id wrote to which media ID? We are trying =
to find=20
out which media contains a certain backup job.</FONT></SPAN></DIV>
<DIV><SPAN class=3D959134118-29082002><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D959134118-29082002><FONT face=3DArial =
size=3D2>Thank=20
you,</FONT></SPAN></DIV>
<DIV><SPAN class=3D959134118-29082002><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D959134118-29082002><FONT face=3DArial><FONT =
size=3D2>Bryan=20
Moore<SPAN class=3D503135218-29082002><FONT=20
=
color=3D#0000ff> | </FONT></SPAN></FONT></FONT></SPAN></DIV></B=
LOCKQUOTE></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0029_01C2500C.2E753CA0--
|