Veritas-bu

[Veritas-bu] Determining tape used in duplication?

2003-04-04 14:20:44
Subject: [Veritas-bu] Determining tape used in duplication?
From: david AT datastaff DOT com (David A. Chapa)
Date: Fri, 4 Apr 2003 13:20:44 -0600
This is a multi-part message in MIME format.

------=_NextPart_000_00CF_01C2FAAC.FF8461E0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

bpimmedia -mediaid $MEDID

Use the source mediaID which you probably have, then parse the output
looking for


FRAG 2

the ninth field will be the MEDIA ID where the SECOND copy resides.

If you are doing more than one copy, then you will have to do some other
"creative" scripting.

David

<><><><><><><><><><><><><><><><><><><><>
David A. Chapa
DataStaff, Inc.
312-683-1144
http://www.BackupScripts.com
"where script happens"
Post your questions in our forums

Co-Author of
Implementing Backup and Recovery:
The Readiness Guide for the Enterprise
published by John Wiley and Sons
A Veritas Solution Series Publication
ISBN:0471227145
---------------------------------------

  -----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 Marx, Keath
  Sent: Friday, April 04, 2003 12:58 PM
  To: veritas-bu AT mailman.eng.auburn DOT edu
  Subject: [Veritas-bu] Determining tape used in duplication?


  I have a Windows2000 Master server.  I am running a home grown duplication
script.  I am having trouble determining which tape was used (automatically)
for the duplication so that I can have the tape folks remove the right tape.
Any ideas?





  This message, including files attached to it, may contain confidential
information that is intended only for the use of the ADDRESSEE(S) named
above. If you are not an intended recipient, you are hereby notified that
any dissemination or copying of the information contained in this message,
or the taking of any action in reliance upon the information, is strictly
prohibited. If you have received this message in error, please notify the
sender immediately and delete the message from your system. Thank you.



------=_NextPart_000_00CF_01C2FAAC.FF8461E0
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>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
<STYLE>@font-face {
        font-family: Comic Sans MS;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=3DEN-US vLink=3Dpurple link=3Dblue>
<DIV><SPAN class=3D608451619-04042003><FONT face=3DArial color=3D#0000ff =

size=3D2>bpimmedia -mediaid $MEDID</FONT></SPAN></DIV>
<DIV><SPAN class=3D608451619-04042003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D608451619-04042003><FONT face=3DArial color=3D#0000ff =
size=3D2>Use=20
the source mediaID which you probably have, then parse the output =
looking for=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D608451619-04042003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D608451619-04042003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D608451619-04042003><FONT face=3DArial color=3D#0000ff =
size=3D2>FRAG=20
2</FONT></SPAN></DIV>
<DIV><SPAN class=3D608451619-04042003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D608451619-04042003><FONT face=3DArial color=3D#0000ff =
size=3D2>the=20
ninth field will be the MEDIA ID&nbsp;where the SECOND copy=20
resides.</FONT></SPAN></DIV>
<DIV><SPAN class=3D608451619-04042003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D608451619-04042003><FONT face=3DArial color=3D#0000ff =
size=3D2>If you=20
are doing more than one copy, then you will have to do some other =
"creative"=20
scripting.</FONT></SPAN></DIV>
<DIV><SPAN class=3D608451619-04042003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D608451619-04042003><FONT face=3DArial color=3D#0000ff =

size=3D2>David</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<P><FONT=20
size=3D2>&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;=
&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&=
lt;&gt;&lt;&gt;&lt;&gt;<BR>David=20
A. Chapa<BR>DataStaff, Inc.<BR>312-683-1144<BR><A=20
href=3D"http://www.backupscripts.com/"=20
target=3D_blank>http://www.BackupScripts.com</A><BR>"where script =
happens"<BR>Post=20
your questions in our forums<BR><BR>Co-Author of<BR>Implementing Backup =
and=20
Recovery:<BR>The Readiness Guide for the Enterprise<BR>published by John =
Wiley=20
and Sons<BR>A Veritas Solution Series=20
Publication<BR>ISBN:0471227145<BR>---------------------------------------=
</FONT>=20
</P>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  veritas-bu-admin AT mailman.eng.auburn DOT edu=20
  [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]<B>On Behalf Of =
</B>Marx,=20
  Keath<BR><B>Sent:</B> Friday, April 04, 2003 12:58 PM<BR><B>To:</B>=20
  veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> [Veritas-bu] =
Determining=20
  tape used in duplication?<BR><BR></FONT></DIV>
  <DIV class=3DSection1>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have a Windows2000 =
Master=20
  server.&nbsp; I am running a home grown duplication script.&nbsp; I am =
having=20
  trouble determining which tape was used (automatically) for the =
duplication so=20
  that I can have the tape folks remove the right tape.&nbsp; Any=20
  ideas?</SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Comic =
Sans MS"=20
  size=3D1><SPAN style=3D"FONT-SIZE: 7.5pt; FONT-FAMILY: 'Comic Sans =
MS'">This=20
  message, including files attached to it, may contain confidential =
information=20
  that is intended only for the use of the ADDRESSEE(S) named above. If =
you are=20
  not an intended recipient, you are hereby notified that any =
dissemination or=20
  copying of the information contained in this message, or the taking of =
any=20
  action in reliance upon the information, is strictly prohibited. If =
you have=20
  received this message in error, please notify the sender immediately =
and=20
  delete the message from your system. Thank you.</SPAN></FONT><FONT =
face=3DArial=20
  size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> =
</SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20
  style=3D"FONT-SIZE: =
12pt"></SPAN></FONT>&nbsp;</P></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_00CF_01C2FAAC.FF8461E0--


<Prev in Thread] Current Thread [Next in Thread>