Veritas-bu

[Veritas-bu] Restore NBU tape with tar command?

2006-01-03 12:01:40
Subject: [Veritas-bu] Restore NBU tape with tar command?
From: jlightner AT water DOT com (Jeff Lightner)
Date: Tue, 3 Jan 2006 12:01:40 -0500
This is a multi-part message in MIME format.

------_=_NextPart_001_01C61087.5D7BB772
Content-Type: text/plain;
        charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Don't know of a built in option (not saying there isn't one - just
haven't used one) for this.   However you could very easily script it.
Just do an iterative process where you position the tape with the mt
command then do the read with tar then move forward to the next record
with mt (fsf option) and do the read with the tar from there.

=20

________________________________

From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of Andrew
Armstrong
Sent: Tuesday, January 03, 2006 11:14 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Restore NBU tape with tar command?

=20

  I am in the process of putting together a disaster recovery plan in
case our primary server goes down. This server is a stand-alone NBU
server, backing up only itself, etc. I have no problems using NBU to do
the recovery (bare metal restore, etc.), but those above me also require
a vendor-independent recovery plan, in case there are "problems" using
NBU to recover the data. I have experimented with using the NBU version
of tar, and have successfully restored files from the tape. My only
question is this: is it possible to make tar continue to the next backup
set on the tape automatically? Currently, I am only able to restore
small pieces of the system at a time (looks like 2000k or so). I am
familiar with the option to span multi-volume archives, but I would like
to see if there is an option to (for lack of a better way to put it)
start at a certain point on the tape and restore everything from that
point on, without prompts for user intervention. (The requirements for
the DR plan dictate that a user with little or no admin experience
should be able to do the recovery... this is NOT my requirement, but one
put on me by those above)

=20

Any help/advice would be greatly appreciated!

=20

=20

=20

Andrew Armstrong
Network Engineer
CNE CCNA MCP VCP
T & S Brass and Bronze Works
AArmstrong AT TSBrass DOT com
(864) 834-6785

=20

=20


------_=_NextPart_001_01C61087.5D7BB772
Content-Type: text/html;
        charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40";>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-believe-normal-left:yes;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<![if mso 9]>
<style>
p.MsoNormal
        {margin-left:3.0pt;}
</style>
<![endif]>
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dblue =
style=3D'margin-left:3.0pt;margin-top:3.0pt;
margin-right:3.0pt;margin-bottom:.75pt'>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Don&#8217;t know of a built in =
option (not
saying there isn&#8217;t one &#8211; just haven&#8217;t used one) for =
this.&nbsp;&nbsp;
However you could very easily script it.&nbsp; Just do an iterative =
process where
you position the tape with the mt command then do the read with tar then =
move
forward to the next record with mt (fsf option) and do the read with the =
tar
from there.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter =
style=3D'margin:0in;margin-bottom:.0001pt;
text-align:center'><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><b><font =
size=3D2
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa=
n></font></b><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'> =
veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] <b><span =
style=3D'font-weight:
bold'>On Behalf Of </span></b>Andrew Armstrong<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, January =
03, 2006
11:14 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b>
veritas-bu AT mailman.eng.auburn DOT edu<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [Veritas-bu] =
Restore NBU
tape with tar command?</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>&nbsp; =
I am in
the process of putting together a disaster recovery plan in case our =
primary
server goes down. This server is a stand-alone NBU server, backing up =
only
itself, etc. I have no problems using NBU to do the recovery (bare metal
restore, etc.), but those above me also require a vendor-independent =
recovery
plan, in case there are &quot;problems&quot; using NBU to recover the =
data. I
have experimented with using the NBU version of tar, and have =
successfully
restored files from the tape. My only question is this: is it possible =
to make
tar continue to the next backup set on the tape automatically? =
Currently, I am
only able to restore small pieces of the system at a time (looks like =
2000k or
so). I am familiar with the option to span multi-volume archives, but I =
would
like to see if there is an option to (for lack of a better way to put =
it) start
at a certain point on the tape and restore everything from that point =
on,
without prompts for user intervention. (The requirements for the DR plan
dictate that a user with little or no admin experience should be able to =
do the
recovery... this is NOT my requirement, but one put on me by those =
above)<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>&nbsp;<o:p></o:p></span></f=
ont></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>Any =
help/advice
would be greatly appreciated!<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>&nbsp;<o:p></o:p></span></f=
ont></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>&nbsp;<o:p></o:p></span></f=
ont></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>&nbsp;<o:p></o:p></span></f=
ont></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>Andrew =
Armstrong<br>
Network Engineer<br>
CNE CCNA MCP VCP<br>
T &amp; S Brass and Bronze Works<br>
<a href=3D"mailto:AArmstrong AT TSBrass DOT com">AArmstrong AT TSBrass DOT 
com</a><br>
(864) 834-6785<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>&nbsp;<o:p></o:p></span></f=
ont></p>

</div>

<div>

<p class=3DMsoNormal style=3D'margin:0in;margin-bottom:.0001pt'><font =
size=3D2
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>&nbsp;<o:p></o:p></span></f=
ont></p>

</div>

</div>

</body>

</html>

------_=_NextPart_001_01C61087.5D7BB772--

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