Veritas-bu

[Veritas-bu] Recovering a whole tape via cmd line.

2003-02-26 08:43:17
Subject: [Veritas-bu] Recovering a whole tape via cmd line.
From: jerome.bauwens AT steria DOT com (jerome bauwens)
Date: Wed, 26 Feb 2003 14:43:17 +0100
This is a multi-part message in MIME format.

------=_NextPart_000_048A_01C2DDA5.66486CC0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Recovering a whole tape via cmd line.Hi,

You can do it but you need to position yourself on the right record on =
the tape because one out of two record is a NetBackup header. You will =
also have some troubles resolving links if you are not restoring on the =
original location.

mt -f /dev/rmt/4cb rewind=20

[zeus]:/transferts/hetre_tar >mt -f /dev/rmt/4cbn fsf=20

[zeus]:/transferts/hetre_tar >mt -f /dev/rmt/4cbn fsr=20

[zeus]:/transferts/hetre_tar >mt -f /dev/rmt/4cbn stat=20

Quantum DLT8000 tape drive:

sense key(0x0)=3D No Additional Sense residual=3D 0 retries=3D 0

file no=3D 1 block no=3D 1

[zeus]:/transferts/hetre_tar>/usr/openv/netbackup/bin/tar -xvf =
/dev/rmt/4cbn

.

[zeus]:/transferts/hetre_tar >mt -f /dev/rmt/4cb rewind=20

[zeus]:/transferts/hetre_tar >mt -f /dev/rmt/4cbn fsf 3=20

[zeus]:/transferts/hetre_tar >mt -f /dev/rmt/4cbn fsr

[zeus]:/transferts/hetre_tar>/usr/openv/netbackup/bin/tar -xvf =
/dev/rmt/4cbn



Hope this helps

Jerome

  ----- Original Message -----=20
  From: Andrew Wilkin=20
  To: 'veritas-bu AT mailman.eng.auburn DOT edu'=20
  Sent: Wednesday, February 26, 2003 6:35 AM
  Subject: [Veritas-bu] Recovering a whole tape via cmd line.


  Hi,=20

  Is there a "quick" way of extracting/recoverying the content of a =
NetBackup tape withou having to identify the directoryies/files that =
make up images on the Tape.

  I have tracked the data and know what tape it is on but I seem to have =
to identify it all to recovery it through the gui.

  Because Netbackup is using 'gnutar', can I use a gnutar cmd to extract =
'all' of the backup images on the tape.=20

  Thanks.=20

  Regards=20

  Andrew Wilkin
  Computer Systems Analyst=20

  Department of Information Technology & Management
  Land & Property Information - New South Wales=20

  Panorama Ave
  BATHURST, NSW, 2795, AUSTRALIA=20

  Ph: (02) 6332 8397
  Fx: (02) 6332 8457
  E-mail: Andrew.Wilkin AT ditm.nsw.gov DOT au
  WEB: www.lpi.nsw.gov.au <http://www.lpi.nsw.gov.au>=20




  ***************************************************************
  This message is intended for the addressee named and=20
  may contain confidential information. If you are not the=20
  intended recipient, please delete it and notify the sender.=20
  Views expressed in this message are those of the=20
  individual sender, and are not necessarily the views of the
  Department of Information Technology & Management.

  This email message has been swept by MIMEsweeper=20
  for the presence of computer viruses.
  ***************************************************************


------=_NextPart_000_048A_01C2DDA5.66486CC0
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>Recovering a whole tape via cmd line.</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>Hi,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial>You can do it but you need to position yourself =
on the=20
right record on the tape because one out of two record is a NetBackup =
header.=20
You will also have some troubles resolving links if you are not =
restoring on the=20
original location.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3Dr_ansi size=3D2>
<P>mt -f /dev/rmt/4cb rewind </P>
<P>[zeus]:/transferts/hetre_tar &gt;mt -f /dev/rmt/4cbn fsf </P>
<P>[zeus]:/transferts/hetre_tar &gt;mt -f /dev/rmt/4cbn fsr </P>
<P>[zeus]:/transferts/hetre_tar &gt;mt -f /dev/rmt/4cbn stat </P>
<P>Quantum DLT8000 tape drive:</P>
<P>sense key(0x0)=3D No Additional Sense residual=3D 0 retries=3D 0</P>
<P>file no=3D 1 block no=3D 1</P></FONT><FONT face=3Dr_ansi size=3D1>
<P>[zeus]:/transferts/hetre_tar&gt;/usr/openv/netbackup/bin/tar =
&#8211;xvf=20
/dev/rmt/4cbn</P></FONT><FONT size=3D2>
<P>&#8230;</P></FONT><FONT face=3Dr_ansi size=3D2>
<P>[zeus]:/transferts/hetre_tar &gt;mt -f /dev/rmt/4cb rewind </P>
<P>[zeus]:/transferts/hetre_tar &gt;mt -f /dev/rmt/4cbn fsf 3 </P>
<P>[zeus]:/transferts/hetre_tar &gt;mt -f /dev/rmt/4cbn =
fsr</P></FONT><FONT=20
face=3Dr_ansi size=3D1>
<P>[zeus]:/transferts/hetre_tar&gt;/usr/openv/netbackup/bin/tar =
&#8211;xvf=20
/dev/rmt/4cbn</P>
<P><FONT face=3DArial size=3D2></FONT>&nbsp;</P>
<P><FONT face=3DArial size=3D2>Hope this helps</FONT></P>
<P>Jerome</P></FONT></DIV>
<BLOCKQUOTE=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:Andrew.Wilkin AT ditm.nsw.gov DOT au"=20
  title=3DAndrew.Wilkin AT ditm.nsw.gov DOT au>Andrew Wilkin</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  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> Wednesday, February 26, =
2003 6:35=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Veritas-bu] =
Recovering a whole=20
  tape via cmd line.</DIV>
  <DIV><BR></DIV>
  <P><FONT face=3DArial size=3D2>Hi,</FONT> </P>
  <P><FONT face=3DArial size=3D2>Is there a "quick" way of =
extracting/recoverying=20
  the content of a NetBackup tape withou having to identify the=20
  directoryies/files that make up images on the Tape.</FONT></P>
  <P><FONT face=3DArial size=3D2>I have tracked the data and know what =
tape it is on=20
  but I seem to have to identify it all to recovery it through the=20
  gui.</FONT></P>
  <P><FONT face=3DArial size=3D2>Because Netbackup is using 'gnutar', =
can I use a=20
  gnutar cmd to extract 'all' of the backup images on the tape. =
</FONT></P>
  <P><FONT face=3DArial size=3D2>Thanks.</FONT> </P>
  <P><FONT face=3DArial size=3D2>Regards</FONT><FONT face=3DArial> =
</FONT></P>
  <P><FONT color=3D#000080 face=3DArial size=3D2>Andrew =
Wilkin</FONT><FONT=20
  face=3DArial><BR></FONT><FONT face=3DArial size=3D2>Computer Systems=20
  Analyst</FONT><FONT face=3DArial> </FONT></P>
  <P><FONT face=3DArial size=3D2>Department of Information Technology =
&amp;=20
  Management</FONT><FONT face=3DArial><BR></FONT><FONT face=3DArial =
size=3D2>Land=20
  &amp; Property Information - New South Wales</FONT><FONT face=3DArial> =

  </FONT></P>
  <P><FONT face=3DArial size=3D2>Panorama Ave</FONT><FONT=20
  face=3DArial><BR></FONT><FONT face=3DArial size=3D2>BATHURST, NSW, =
2795,=20
  AUSTRALIA</FONT><FONT face=3DArial> </FONT></P>
  <P><FONT face=3DArial size=3D2>Ph: (02) 6332 8397</FONT><FONT=20
  face=3DArial><BR></FONT><FONT face=3DArial size=3D2>Fx: (02) 6332 =
8457</FONT><FONT=20
  face=3DArial><BR></FONT><FONT face=3DArial size=3D2>E-mail:=20
  Andrew.Wilkin AT ditm.nsw.gov DOT au</FONT><FONT =
face=3DArial><BR></FONT><FONT=20
  face=3DArial size=3D2>WEB:<U></U></FONT><U> <FONT color=3D#0000ff =
face=3DArial=20
  size=3D2>www.lpi.nsw.gov.au &lt;<A href=3D"http://www.lpi.nsw.gov.au"=20
  target=3D_blank>http://www.lpi.nsw.gov.au</A>&gt;</FONT></U><FONT =
face=3DArial>=20
  </FONT></P><BR><CODE><FONT=20
  =
size=3D3><BR><BR>********************************************************=
*******<BR>This=20
  message is intended for the addressee named and <BR>may contain =
confidential=20
  information. If you are not the <BR>intended recipient, please delete =
it and=20
  notify the sender. <BR>Views expressed in this message are those of =
the=20
  <BR>individual sender, and are not necessarily the views of =
the<BR>Department=20
  of Information Technology &amp; Management.<BR><BR>This email message =
has been=20
  swept by MIMEsweeper <BR>for the presence of computer=20
  =
viruses.<BR>*************************************************************=
**<BR></BLOCKQUOTE></FONT></CODE></BODY></HTML>

------=_NextPart_000_048A_01C2DDA5.66486CC0--


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