Veritas-bu

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

2003-04-01 18:55:38
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:55:38 -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_01C2F8AA.322CF0D0
Content-Type: text/plain;
        charset="iso-8859-1"

Wait, sorry, I missed the "NDMP" in the subject line - forget the following,
I can't speak about NDMP.
-M

-----Original Message-----
From: Donaldson, Mark [mailto:Mark.Donaldson AT experianems DOT com]
Sent: Tuesday, April 01, 2003 4:33 PM
To: 'Vikas Saini'; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] NDMP selective restore of two files to two diffe
rent volume



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
<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_01C2F8AA.322CF0D0
Content-Type: text/html;
        charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: [Veritas-bu] NDMP selective restore of two files to two different 
volume</TITLE>

<META content="MSHTML 5.50.4923.2500" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=557585423-01042003><FONT face=Arial color=#0000ff size=2>Wait, 
sorry, I missed the "NDMP" in the subject line - forget the following, I can't 
speak about NDMP.</FONT></SPAN></DIV>
<DIV><SPAN class=557585423-01042003><FONT face=Arial color=#0000ff 
size=2>-M</FONT></SPAN></DIV>
<BLOCKQUOTE>
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Donaldson, Mark 
  [mailto:Mark.Donaldson AT experianems DOT com]<BR><B>Sent:</B> Tuesday, April 
01, 
  2003 4:33 PM<BR><B>To:</B> 'Vikas Saini'; 
  veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> RE: [Veritas-bu] 
NDMP 
  selective restore of two files to two diffe rent volume<BR><BR></FONT></DIV>
  <P><FONT face=Arial color=#0000ff size=2>Did they start out in those 
locations 
  or is this a restore to a different location?</FONT> </P>
  <P><FONT face=Arial color=#0000ff size=2>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 face=Arial color=#0000ff size=2>&nbsp; bprestore &lt;options&gt; 
  /vol1/file1 /vol2/file2</FONT> </P>
  <P><FONT face=Arial color=#0000ff size=2>If you are restoring to a different 
  location, you can use a "rename" file.&nbsp; Create a file with the path 
  changes in it, for example in a file called "/tmp/rename", place the 
following 
  two lines:</FONT></P>
  <P><FONT face=Arial color=#0000ff size=2>&nbsp; change /path1/file1 to 
  /vol1/file1</FONT> <BR><FONT face=Arial color=#0000ff size=2>&nbsp; change 
  /path1/file2 to /vol2/file2</FONT> </P>
  <P><FONT face=Arial color=#0000ff size=2>You can also manipulate just 
  directories on a per line basis</FONT> <BR><FONT face=Arial color=#0000ff 
  size=2>&nbsp; change /path1 to /path2 </FONT></P>
  <P><FONT face=Arial color=#0000ff size=2>...and all files in /path1 will 
write 
  into /path2</FONT> </P>
  <P><FONT face=Arial color=#0000ff size=2>Don't have stray spaces or blank 
  lines in the rename file, they're significant.</FONT> </P>
  <P><FONT face=Arial color=#0000ff size=2>I think this is the answer you're 
  looking for.&nbsp; If not, post back.</FONT> </P>
  <P><FONT face=Arial color=#0000ff size=2>-M</FONT> </P>
  <UL>
    <P><FONT face=Arial></FONT>&nbsp;<FONT face=Tahoma size=1>-----Original 
    Message-----</FONT> <BR><B><FONT face=Tahoma size=1>From: &nbsp;</FONT></B> 
    <FONT face=Tahoma size=1>Vikas Saini [<A 
    href="mailto:vikas.saini AT onstor DOT com">mailto:vikas.saini AT onstor 
DOT com</A>] 
    </FONT><BR><B><FONT face=Tahoma size=1>Sent:&nbsp;&nbsp;</FONT></B> <FONT 
    face=Tahoma size=1>Tuesday, April 01, 2003 3:04 PM</FONT> <BR><B><FONT 
    face=Tahoma size=1>To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT face=Tahoma 
    size=1>veritas-bu AT mailman.eng.auburn DOT edu</FONT> <BR><B><FONT 
face=Tahoma 
    size=1>Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT 
    face=Tahoma size=1>[Veritas-bu] NDMP selective restore of two files to two 
    different volume</FONT> </P>
    <P><FONT face=Arial size=2>Hi All,</FONT> 
    <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face=Arial size=2>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 face=Arial size=2>Thanks</FONT> <BR><FONT face=Arial 
    size=2>Vikas</FONT> <BR><FONT face=Arial size=2>&nbsp;</FONT> 
</P></UL></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C2F8AA.322CF0D0--

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