This is a multi-part message in MIME format.
------=_NextPart_000_02A8_01C2DDA0.04CDFEB0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Two caveats:
1. You can't do this if you've multiplexed the tape, or if you have =
chosen a
fragment size of anything other than 0.
2. You can't do this on Windows unless you have the MKS toolkit
(http://www.mkssoftware.com/products/tk/ds_tksa.asp)
(That's the only way _I_ know of to get the MT command on Windows, =
and
you have to download the ASPI drivers for your SCSI card.)
-----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 jerome =
bauwens
Sent: Wednesday, February 26, 2003 5:43 AM
To: Andrew Wilkin; veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] Recovering a whole tape via cmd line.
Hi,
=20
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.
=20
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
=20
Hope this helps
Jerome
----- Original Message -----=20
From: Andrew Wilkin <mailto:Andrew.Wilkin AT ditm.nsw.gov DOT au> =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_02A8_01C2DDA0.04CDFEB0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>
<META content=3D"MSHTML 6.00.2722.900" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D179105217-26022003><FONT face=3DArial color=3D#0000ff =
size=3D2>Two=20
caveats:</FONT></SPAN></DIV>
<DIV><SPAN class=3D179105217-26022003><FONT face=3DArial color=3D#0000ff =
size=3D2>1. You=20
can't do this if you've multiplexed the tape, or if you have chosen a =
fragment=20
size of anything other than 0.</FONT></SPAN></DIV>
<DIV><SPAN class=3D179105217-26022003><FONT face=3DArial color=3D#0000ff =
size=3D2>2. You=20
can't do this on Windows unless you have the MKS toolkit (<A=20
href=3D"http://www.mkssoftware.com/products/tk/ds_tksa.asp">http://www.mk=
ssoftware.com/products/tk/ds_tksa.asp</A>)</FONT></SPAN></DIV>
<DIV><SPAN class=3D179105217-26022003><FONT face=3DArial color=3D#0000ff =
size=3D2> (That's the only way _I_ know of to get the =
MT command=20
on Windows, and you have to download the ASPI drivers for your SCSI=20
card.)</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
face=3DTahoma 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>jerome=20
bauwens<BR><B>Sent:</B> Wednesday, February 26, 2003 5:43 =
AM<BR><B>To:</B>=20
Andrew Wilkin; veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> =
Re:=20
[Veritas-bu] Recovering a whole tape via cmd =
line.<BR><BR></FONT></DIV>
<DIV><FONT face=3DArial>Hi,</FONT></DIV>
<DIV> </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=20
the original location.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3Dr_ansi size=3D2>
<P>mt -f /dev/rmt/4cb rewind </P>
<P>[zeus]:/transferts/hetre_tar >mt -f /dev/rmt/4cbn fsf </P>
<P>[zeus]:/transferts/hetre_tar >mt -f /dev/rmt/4cbn fsr </P>
<P>[zeus]:/transferts/hetre_tar >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>/usr/openv/netbackup/bin/tar =
–xvf=20
/dev/rmt/4cbn</P></FONT><FONT size=3D2>
<P>…</P></FONT><FONT face=3Dr_ansi size=3D2>
<P>[zeus]:/transferts/hetre_tar >mt -f /dev/rmt/4cb rewind </P>
<P>[zeus]:/transferts/hetre_tar >mt -f /dev/rmt/4cbn fsf 3 </P>
<P>[zeus]:/transferts/hetre_tar >mt -f /dev/rmt/4cbn =
fsr</P></FONT><FONT=20
face=3Dr_ansi size=3D1>
<P>[zeus]:/transferts/hetre_tar>/usr/openv/netbackup/bin/tar =
–xvf=20
/dev/rmt/4cbn</P>
<P><FONT face=3DArial size=3D2></FONT> </P>
<P><FONT face=3DArial size=3D2>Hope this helps</FONT></P>
<P>Jerome</P></FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-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 title=3DAndrew.Wilkin AT ditm.nsw.gov DOT au=20
href=3D"mailto:Andrew.Wilkin AT ditm.nsw.gov DOT au">Andrew Wilkin</A> =
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
title=3Dveritas-bu AT mailman.eng.auburn DOT edu=20
=
href=3D"mailto:'veritas-bu AT mailman.eng.auburn DOT
edu'">'[email protected]=
ng.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=20
whole 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=20
on 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 face=3DArial color=3D#000080 size=3D2>Andrew =
Wilkin</FONT><FONT=20
face=3DArial><BR></FONT><FONT face=3DArial size=3D2>Computer Systems =
Analyst</FONT><FONT face=3DArial> </FONT></P>
<P><FONT face=3DArial size=3D2>Department of Information Technology =
&=20
Management</FONT><FONT face=3DArial><BR></FONT><FONT face=3DArial =
size=3D2>Land=20
& Property Information - New South Wales</FONT><FONT =
face=3DArial>=20
</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 face=3DArial =
color=3D#0000ff=20
size=3D2>www.lpi.nsw.gov.au <<A =
href=3D"http://www.lpi.nsw.gov.au"=20
target=3D_blank>http://www.lpi.nsw.gov.au</A>></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=20
the<BR>Department of Information Technology & =
Management.<BR><BR>This=20
email message has been swept by MIMEsweeper <BR>for the presence of =
computer=20
=
viruses.<BR>*************************************************************=
**<BR></BLOCKQUOTE></BLOCKQUOTE></FONT></CODE></BODY></HTML>
------=_NextPart_000_02A8_01C2DDA0.04CDFEB0--
|