Veritas-bu

[Veritas-bu] Tape status

2005-05-13 11:58:27
Subject: [Veritas-bu] Tape status
From: Ying.Xu AT TeleCheck DOT com (Xu, Ying)
Date: Fri, 13 May 2005 10:58: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.

------_=_NextPart_001_01C557D4.440744DC
Content-Type: text/plain

I was able to find a tech note on this.  
 
Caution! Before performing any operations on a tape which has been used for
regular client backups, verify if there are any active/valid images on the
tape in question by using the following command:

      <install_path>\NetBackup\bin\admincmd\bpimmedia -L -mediaid <media_id>
(Windows)

/usr/openv/netbackup/bin/admincmd/bpimmedia -L -mediaid <media_id> (UNIX)


If there are no images listed, then the tape is already available and
nothing further needs to be done. However,  if valid images exist, a
decision must be made on whether or not these images may be expired so that
the tape can be re-used.

To make the media available for re-use, it is necessary to expire the images
on the tape as follows (using media id TSN001 as an example):


<install_path>\NetBackup\bin\admincmd\bpexpdate -ev TSN001 -d 0 (Windows)

/usr/openv/netbackup/bin/admincmd/bpexpdate -ev TSN001 -d 0 (UNIX)


The execution of the bpexpdate command should remove any entries associated
with TSN001 from the NetBackup Catalog (databases) - successfully if the
databases are in sync as they should be. Errors may occur if there are
inconsistencies with the NetBackup databases and Technical Services should
be contacted for further investigation, as this is beyond the scope of this
TechNote.

According to this, you dont need to specify start date for bpimmedia.
 
Thanks.
 
Ying

  _____  

From: Mark.Donaldson AT cexp DOT com [mailto:Mark.Donaldson AT cexp DOT com] 
Sent: Friday, May 13, 2005 10:12 AM
To: Ying.Xu AT telecheck DOT com; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Tape status


bpimmedia only searches back a couple days by default.  Set the start date
on the command to something like 1/1/1970 to see everything.
 
-M

-----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 Xu, Ying
Sent: Friday, May 13, 2005 8:37 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Tape status



We have a lot of tapes that have "FULL" status in available_media report,
but "bpimmedia" shows "no entity was found"  Does that mean that we wont be
able to restore from these tapes?  Thanks.


------_=_NextPart_001_01C557D4.440744DC
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<TITLE>Tape status</TITLE>

<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=634475715-13052005><FONT color=#000080>I 
was 
able to find a tech note on this.&nbsp; </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=634475715-13052005><FONT 
color=#000080></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=634475715-13052005>
<DIV class=Normal><B>Caution! </B>Before performing any operations on a tape 
which has been used for regular client backups, verify if there are any 
<U>active/valid images</U> on the tape in question by using the following 
command:<BR><BR>&nbsp; &nbsp; &nbsp; <TT><SPAN 
class=FIXEDFONT>&lt;install_path&gt;\NetBackup\bin\admincmd\bpimmedia -L 
-mediaid &lt;media_id&gt; </SPAN></TT>(Windows)<BR></DIV>
<DIV class=Normal style="MARGIN-LEFT: 15pt"><TT><SPAN 
class=FIXEDFONT>/usr/openv/netbackup/bin/admincmd/bpimmedia -L -mediaid 
&lt;media_id&gt; </SPAN></TT>(UNIX)<BR></DIV>
<DIV class=Normal><BR>If there are no images listed, then the tape is already 
available and nothing further needs to be done. However,&nbsp; if valid images 
exist, a decision must be made on whether or not these images may be expired so 
that the tape can be re-used.<BR><BR>To make the media available for re-use, it 
is necessary to expire the images on the tape as follows (using media id TSN001 
as an example):<BR><BR></DIV>
<DIV class=Normal style="MARGIN-LEFT: 15pt"><TT><SPAN 
class=FIXEDFONT>&lt;install_path&gt;\NetBackup\bin\admincmd\bpexpdate -ev 
TSN001 
-d 0 </SPAN></TT>(Windows)<BR></DIV>
<DIV class=Normal style="MARGIN-LEFT: 15pt"><TT><SPAN 
class=FIXEDFONT>/usr/openv/netbackup/bin/admincmd/bpexpdate -ev TSN001 -d 
0</SPAN></TT><B> </B>(UNIX)<BR></DIV>
<DIV class=Normal><BR>The execution of the <TT><SPAN class=FIXEDFONT>bpexpdate 
</SPAN></TT>command should remove any entries associated with TSN001 from the 
NetBackup Catalog (databases) - successfully if the databases are in sync as 
they should be. Errors may occur if there are inconsistencies with the 
NetBackup 
databases and Technical Services should be contacted for further investigation, 
as this is beyond the scope of this TechNote.<BR></DIV>
<DIV class=Normal><SPAN class=634475715-13052005><FONT color=#000080>According 
to this, you dont need to specify start date for bpimmedia.</FONT></SPAN></DIV>
<DIV class=Normal><SPAN class=634475715-13052005><FONT 
color=#000080></FONT></SPAN>&nbsp;</DIV>
<DIV class=Normal><SPAN class=634475715-13052005><FONT 
color=#000080>Thanks.</FONT></SPAN></DIV>
<DIV class=Normal><SPAN class=634475715-13052005><FONT 
color=#000080></FONT></SPAN>&nbsp;</DIV>
<DIV class=Normal><SPAN class=634475715-13052005><FONT 
color=#000080>Ying</FONT></SPAN></DIV></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Mark.Donaldson AT cexp DOT com 
[mailto:Mark.Donaldson AT cexp DOT com] <BR><B>Sent:</B> Friday, May 13, 2005 
10:12 
AM<BR><B>To:</B> Ying.Xu AT telecheck DOT com; 
veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> RE: [Veritas-bu] 
Tape 
status<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=434281115-13052005><FONT face=Arial color=#0000ff 
size=2>bpimmedia only searches back a couple days by default.&nbsp; Set the 
start date on the command to something like 1/1/1970 to see 
everything.</FONT></SPAN></DIV>
<DIV><SPAN class=434281115-13052005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=434281115-13052005><FONT face=Arial color=#0000ff 
size=2>-M</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><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>Xu, 
  Ying<BR><B>Sent:</B> Friday, May 13, 2005 8:37 AM<BR><B>To:</B> 
  veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> [Veritas-bu] Tape 
  status<BR><BR></FONT></DIV>
  <P><FONT size=2>We have a lot of tapes that have "FULL" status in 
  available_media report, but "bpimmedia" shows "no entity was found"&nbsp; 
Does 
  that mean that we wont be able to restore from these tapes?&nbsp; 
  Thanks.</FONT></P></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C557D4.440744DC--

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