Veritas-bu

[Veritas-bu] NDMP selective restore of two files to two diffe rent volume

2003-04-01 18:33:21
Subject: [Veritas-bu] NDMP selective restore of two files to two diffe rent volume
From: Mark.Donaldson AT experianems DOT com (Donaldson, Mark)
Date: Tue, 1 Apr 2003 16:33:21 -0700
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_01C2F8A7.14CC37B0
Content-Type: text/plain;
        charset="iso-8859-1"

Did they start out in those locations or is this a restore to a different
location?

If its a restore to the original locations, then just select the two files &
start the restore.  From the command-line, it'll look like:

  bprestore <options> /vol1/file1 /vol2/file2

If you are restoring to a different location, you can use a "rename" file.
Create a file with the path changes in it, for example in a file called
"/tmp/rename", place the following two lines:

  change /path1/file1 to /vol1/file1
  change /path1/file2 to /vol2/file2

You can also manipulate just directories on a per line basis
  change /path1 to /path2 

...and all files in /path1 will write into /path2

Don't have stray spaces or blank lines in the rename file, they're
significant.

I think this is the answer you're looking for.  If not, post back.

-M

>  -----Original Message-----
> From:         Vikas Saini [mailto:vikas.saini AT onstor DOT com] 
> Sent: Tuesday, April 01, 2003 3:04 PM
> To:   veritas-bu AT mailman.eng.auburn DOT edu
> Subject:      [Veritas-bu] NDMP selective restore of two files to two
> different volume
> 
> Hi All,
>       is it possible to do selective restore of two files to two different
> location. I mean restore file1 in /vol1 and restore file2 in /vol2 in one
> shot. if yes then where to specify different relocation path on file
> basis. any input are most welcome
> 
> Thanks
> Vikas
>  

------_=_NextPart_001_01C2F8A7.14CC37B0
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Veritas-bu] NDMP selective restore of two files to two =
different volume</TITLE>
</HEAD>
<BODY>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Did they start out =
in those locations or is this a restore to a different location?</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">If its a restore to =
the original locations, then just select the two files &amp; start the =
restore.&nbsp; From the command-line, it'll look like:</FONT></P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">&nbsp; bprestore =
&lt;options&gt; /vol1/file1 /vol2/file2</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">If you are restoring =
to a different location, you can use a &quot;rename&quot; file.&nbsp; =
Create a file with the path changes in it, for example in a file called =
&quot;/tmp/rename&quot;, place the following two lines:</FONT></P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">&nbsp; change =
/path1/file1 to /vol1/file1</FONT>
<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">&nbsp; change =
/path1/file2 to /vol2/file2</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">You can also =
manipulate just directories on a per line basis</FONT>
<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">&nbsp; change =
/path1 to /path2 </FONT>
</P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">...and all files in =
/path1 will write into /path2</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Don't have stray =
spaces or blank lines in the rename file, they're significant.</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">I think this is the =
answer you're looking for.&nbsp; If not, post back.</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">-M</FONT>
</P>
<UL>
<P><FONT FACE=3D"Arial"></FONT>&nbsp;<FONT SIZE=3D1 =
FACE=3D"Tahoma">-----Original Message-----</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"Tahoma">From: &nbsp;</FONT></B> <FONT =
SIZE=3D1 FACE=3D"Tahoma">Vikas Saini [<A =
HREF=3D"mailto:vikas.saini AT onstor DOT com">mailto:vikas.saini AT onstor DOT 
com</A>=
] </FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"Tahoma">Sent:&nbsp;&nbsp;</FONT></B> =
<FONT SIZE=3D1 FACE=3D"Tahoma">Tuesday, April 01, 2003 3:04 PM</FONT>
<BR><B><FONT SIZE=3D1 =
FACE=3D"Tahoma">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D1 =
FACE=3D"Tahoma">veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><B><FONT SIZE=3D1 =
FACE=3D"Tahoma">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT=
></B> <FONT SIZE=3D1 FACE=3D"Tahoma">[Veritas-bu] NDMP selective =
restore of two files to two different volume</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi All,</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">is it possible to do selective restore of two files to =
two different location. I mean restore file1 in /vol1 and restore file2 =
in /vol2 in one shot. if yes then where to specify different relocation =
path on file basis. any input are most welcome</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Vikas</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;</FONT>
</P>
</UL>
</BODY>
</HTML>
------_=_NextPart_001_01C2F8A7.14CC37B0--

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