Veritas-bu

[Veritas-bu] Image Restore

2003-08-12 16:17:40
Subject: [Veritas-bu] Image Restore
From: james AT lim DOT com (James K. Wade)
Date: Tue, 12 Aug 2003 15:17:40 -0500
This is a multi-part message in MIME format.

------_=_NextPart_001_01C3610E.C7C1BB88
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Howdy Mark,

=20

I tried using that initially, but it does not delete anything that was
added.

ie....The developer installed rpm packages on his linux box (php4)

(mysql) and a new apache version.  Problem is that the code the website

was written in (php3) crashed and burned when running with php4.

=20

So, the developer wants to go back in time and have the unit the same

as it was a week ago. Using the -s & -e flag will only restore the files

the way they were, but if he added a rpm of php4, it will still be
there.

At least that's what the developer is seeing when I used -s & -e.

=20

Anyway around this. I didn't see a way to tell bprestore to remove any

files that are new or did I miss it?

=20

Cheers and Thanks...James

=20

-----Original Message-----
From: Donaldson, Mark [mailto:Mark.Donaldson AT experianems DOT com]=20
Sent: Tuesday, August 12, 2003 2:10 PM
To: James K. Wade; veritas-bu AT mailman.eng.auburn DOT edu
Subject: {Spam?} RE: [Veritas-bu] Image Restore

=20

Yup.  The bprestore command has "-s" & "-e" flags for a start & end date
range.

=20

-M

=20

SYNOPSIS
 /usr/openv/netbackup/bin/bprestore   [-A    |    -B]    [-BR
  be_redirection_path]  [-F file_options] [-K] [-l | -H |
  -y] [-r] [-T] [-L progress_log [-en]] [-R  rename_file]
  [-C   client]   [-D   client]  [-S  master_server]  [-t
  policy_type] [-p policy] [-s mm/dd/yy  [hh:mm:ss]]  [-e
  mm/dd/yy     [hh:mm:ss]]     [-w     [hh:mm:ss]]    [-k
  "keyword_phrase"] -f listfile | filenames

-----Original Message-----
From: James K. Wade [mailto:james AT lim DOT com]
Sent: Tuesday, August 12, 2003 1:40 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Image Restore

Howdy,

=20

I've done restores using both the gui and the command

line, but I have a system that needs to be a certain image

on a certain date.

=20

A developer was working with a production apache, mysql,

& php linux box and it does not work. He want to restore

the image of the box on a specific date.

=20

Can this be done on the command line?

=20

Thanks...James


------_=_NextPart_001_01C3610E.C7C1BB88
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">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<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
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.emailstyle17
        {font-family:Arial;
        color:windowtext;}
span.EmailStyle18
        {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>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<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'>Howdy Mark,</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'>&nbsp;</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'>I tried using that initially, but =
it does
not delete anything that was added.</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'>ie&#8230;.The developer installed =
rpm
packages on his linux box (php4)</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'>(mysql) and a new apache =
version.&nbsp;
Problem is that the code the website</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'>was written in (php3) crashed and =
burned
when running with php4.</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'>&nbsp;</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'>So, the developer wants to go back =
in time
and have the unit the same</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'>as it was a week ago. Using the =
&#8211;s &amp;
-e flag will only restore the files</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'>the way they were, but if he added =
a rpm
of php4, it will still be there.</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'>At least that&#8217;s what the =
developer is
seeing when I used &#8211;s &amp; -e.</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'>&nbsp;</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'>Anyway around this. I didn&#8217;t =
see a
way to tell bprestore to remove any</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'>files that are new or did I miss =
it?</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'>&nbsp;</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'>Cheers and =
Thanks&#8230;James</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'>&nbsp;</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> Donaldson, Mark
[mailto:Mark.Donaldson AT experianems DOT com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, August 12, =
2003
2:10 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> James K. Wade;
veritas-bu AT mailman.eng.auburn DOT edu<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> {Spam?} RE: =
[Veritas-bu]
Image Restore</span></font></p>

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

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>Yup.&nbsp; The =
bprestore
command has &quot;-s&quot; &amp; &quot;-e&quot; flags for a start &amp; =
end
date range.</span></font></p>

</div>

<div>

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

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>-M</span></font><=
/p>

</div>

<div>

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

</div>

<div>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
color=3Dblue
face=3D"Courier New"><span =
style=3D'font-size:12.0pt;font-family:"Courier New";
color:blue'>SYNOPSIS<br>
&nbsp;/usr/openv/netbackup/bin/bprestore&nbsp;&nbsp; =
[-A&nbsp;&nbsp;&nbsp;
|&nbsp;&nbsp;&nbsp; -B]&nbsp;&nbsp;&nbsp; [-BR<br>
&nbsp; be_redirection_path]&nbsp; [-F file_options] [-K] [-l | -H |<br>
&nbsp; -y] [-r] [-T] [-L progress_log [-en]] [-R&nbsp; rename_file]<br>
&nbsp; [-C&nbsp;&nbsp; client]&nbsp;&nbsp; [-D&nbsp;&nbsp; client]&nbsp;
[-S&nbsp; master_server]&nbsp; [-t<br>
&nbsp; policy_type] [-p policy] [-s mm/dd/yy&nbsp; [hh:mm:ss]]&nbsp; =
[-e<br>
&nbsp; mm/dd/yy&nbsp;&nbsp;&nbsp;&nbsp; =
[hh:mm:ss]]&nbsp;&nbsp;&nbsp;&nbsp;
[-w&nbsp;&nbsp;&nbsp;&nbsp; [hh:mm:ss]]&nbsp;&nbsp;&nbsp; [-k<br>
&nbsp; &quot;keyword_phrase&quot;] -f listfile | =
filenames</span></font></p>

</div>

<blockquote =
style=3D'margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=3DMsoNormal =
style=3D'margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> James K. Wade
[mailto:james AT lim DOT com]<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, August 12, =
2003
1:40 PM<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] =
Image Restore</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Howdy,</span></font></p>

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

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>I&#8217;ve done restores =
using both
the gui and the command</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>line, but I have a system =
that needs
to be a certain image</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>on a certain =
date.</span></font></p>

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

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>A developer was working =
with a
production apache, mysql,</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>&amp; php linux box and it =
does not
work. He want to restore</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>the image of the box on a =
specific
date.</span></font></p>

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

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Can this be done on the =
command
line?</span></font></p>

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

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Thanks&#8230;James</span></f=
ont></p>

</blockquote>

</div>

</body>

</html>

------_=_NextPart_001_01C3610E.C7C1BB88--

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