Unix Technical Forum

RE: Clarification on ONBAR restore sequence..

This is a discussion on RE: Clarification on ONBAR restore sequence.. within the Informix forums, part of the Database Server Software category; --> This message is in MIME format. Since your mail reader does not understand this format, some or all of ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 07:13 PM
Rajasekaran, Rajesh
 
Posts: n/a
Default RE: Clarification on ONBAR restore sequence..


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_01C34D63.F0A0D8C0
Content-Type: text/plain;
charset="iso-8859-1"

Hi,

Thanks for your response.

Onbar will look only the ixbar.0 file until the database comes to
quiescent/online mode. So i thought, i can restore the level 0 with the
original ixbar.0 using "onbar -p -r -w" and then while the database is in
recovery mode, after altering the ixbar.0 to include the level 1 entries,
restarting with "onbar -p -r -w" will restore only level 1 .
Do you mean to say that the second "onbar -r -p -w" will still perform the
level-0 restore ?


Rajesh Rajasekaran
Informix Database Administrator
Forest Pharmaceuticals Inc.
314-493-7073 (Work)

-----Original Message-----
From: Abraham Kirubakaran [mailto:bull_informix@yahoo.com]
Sent: Friday, July 18, 2003 2:24 PM
To: Rajasekaran, Rajesh; 'informix-list@iiug.org'
Subject: Re: Clarification on ONBAR restore sequence..


Hypothetically, when you begin the restore, you should
have all the information from the Level-0 forward ,
which includes the information about level-1. The
engine checks two places, the ixbar file and the
sysutils.bar_* tables. Unless you have them in place,
the backup will very likely fail.
I have done the restore using the "Manipulated" ixbar
file for a full point in time restore, but did'nt have
to use the level-1, which prevents me from affirming
my opinion.

Thksz
Abraham

--- "Rajasekaran, Rajesh"
<RRajasekaran@forestpharm.com> wrote:
> Hi
>
> I would like to clarify regarding the ONBAR
> restore.
>
> I want to perform an alternate client restore.The
> backups are serial whole
> system backup using "onbar -b -w -L 0".I have the
> ixbar file which contains
> only the recent level-0 entries. Assuming that the
> RESTARTABLE_RESTORE is
> enabled, i perform the physical restore with "onbar
> -r -p -w" and the
> database comes to "Fast recovery mode".
>
> At this point, i wanted to restore a subsequent
> level-1. So i will be either
> replacing the ixbar.0 file with another ixbar that
> contains level 1 entries
> or an ixbar which contains both the already restored
> level-0 and the new
> level 1 entries. I now start again the restore
> "onbar -r -p -w" since there
> is no specific command to restore only level 1.
>
> The whole issue is that I can take the level 1
> backup from the source system
> only towards the end time of level 0 restore on
> the alternate client.
> Hence I will not have the updated ixbar (level1)
> entries during the level0
> restore. Hence i got to replace the ixbar and hoping
> to kick off only level
> 1.
>
> 1)Will ONBAR restore only the level 1 ? or Will it
> go back and restore
> level-0 followed by level-1 ?
> 2)Will it restore only level 1 if the newly replace
> ixbar file contains
> only the level1 entries ?
>
> Your suggestions/comments are greatly appreciated.
>
> Rajesh Rajasekaran
> Informix Database Administrator
> Forest Pharmaceuticals Inc.
> 314-493-7073 (Work)
>
> sending to informix-list



__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

------_=_NextPart_001_01C34D63.F0A0D8C0
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: Clarification on ONBAR restore sequence..</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi,</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp; Thanks for your response.&nbsp; </FONT>
</P>

<P><FONT SIZE=3D2>&nbsp; Onbar will look only the ixbar.0&nbsp; file =
until the database comes to quiescent/online mode. So i thought, i can =
restore the level 0 with the original ixbar.0 using &quot;onbar -p -r =
-w&quot; and then while the database is in recovery mode, after =
altering the ixbar.0 to include the level 1 entries, restarting with =
&quot;onbar -p -r -w&quot; will restore only level 1 . </FONT></P>

<P><FONT SIZE=3D2>Do you mean to say that the second &quot;onbar -r -p =
-w&quot; will still perform the level-0 restore ?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Rajesh Rajasekaran</FONT>
<BR><FONT SIZE=3D2>Informix Database Administrator</FONT>
<BR><FONT SIZE=3D2>Forest Pharmaceuticals Inc.</FONT>
<BR><FONT SIZE=3D2>314-493-7073 (Work)</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Abraham Kirubakaran [<A =
HREF=3D"mailto:bull_informix@yahoo.com">mailto:bul l_informix@yahoo.com</=
A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Friday, July 18, 2003 2:24 PM</FONT>
<BR><FONT SIZE=3D2>To: Rajasekaran, Rajesh; =
'informix-list@iiug.org'</FONT>
<BR><FONT SIZE=3D2>Subject: Re: Clarification on ONBAR restore =
sequence..</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hypothetically, when you begin the restore, you =
should</FONT>
<BR><FONT SIZE=3D2>have all the information from the Level-0 forward =
,</FONT>
<BR><FONT SIZE=3D2>which includes the information about level-1. =
The</FONT>
<BR><FONT SIZE=3D2>engine checks two&nbsp; places, the ixbar file and =
the</FONT>
<BR><FONT SIZE=3D2>sysutils.bar_* tables. Unless you have them in =
place,</FONT>
<BR><FONT SIZE=3D2>the backup will very likely fail.</FONT>
<BR><FONT SIZE=3D2>I have done the restore using the =
&quot;Manipulated&quot; ixbar</FONT>
<BR><FONT SIZE=3D2>file for a full point in time restore, but did'nt =
have</FONT>
<BR><FONT SIZE=3D2>to use the level-1, which prevents me from =
affirming</FONT>
<BR><FONT SIZE=3D2>my opinion.</FONT>
</P>

<P><FONT SIZE=3D2>Thksz</FONT>
<BR><FONT SIZE=3D2>Abraham</FONT>
</P>

<P><FONT SIZE=3D2>--- &quot;Rajasekaran, Rajesh&quot;</FONT>
<BR><FONT SIZE=3D2>&lt;RRajasekaran@forestpharm.com&gt; wrote:</FONT>
<BR><FONT SIZE=3D2>&gt; Hi </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; I would like to clarify regarding the =
ONBAR</FONT>
<BR><FONT SIZE=3D2>&gt; restore.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I want to perform an alternate client =
restore.The</FONT>
<BR><FONT SIZE=3D2>&gt; backups are serial whole</FONT>
<BR><FONT SIZE=3D2>&gt; system backup using &quot;onbar -b -w -L =
0&quot;.I have the</FONT>
<BR><FONT SIZE=3D2>&gt; ixbar file which contains</FONT>
<BR><FONT SIZE=3D2>&gt; only the recent level-0 entries. Assuming =
that&nbsp; the</FONT>
<BR><FONT SIZE=3D2>&gt; RESTARTABLE_RESTORE is</FONT>
<BR><FONT SIZE=3D2>&gt; enabled, i perform the physical restore with =
&quot;onbar</FONT>
<BR><FONT SIZE=3D2>&gt; -r -p -w&quot;&nbsp; and the</FONT>
<BR><FONT SIZE=3D2>&gt; database comes to &quot;Fast recovery =
mode&quot;. </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; At this point, i wanted to restore a =
subsequent</FONT>
<BR><FONT SIZE=3D2>&gt; level-1. So i will be either</FONT>
<BR><FONT SIZE=3D2>&gt; replacing the ixbar.0 file with another ixbar =
that</FONT>
<BR><FONT SIZE=3D2>&gt; contains level 1 entries</FONT>
<BR><FONT SIZE=3D2>&gt; or an ixbar which contains both the already =
restored</FONT>
<BR><FONT SIZE=3D2>&gt; level-0 and the new</FONT>
<BR><FONT SIZE=3D2>&gt; level 1 entries. I now start again the restore</=
FONT>
<BR><FONT SIZE=3D2>&gt; &quot;onbar -r -p -w&quot; since there</FONT>
<BR><FONT SIZE=3D2>&gt; is no specific command to restore only level =
1.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; The whole issue is that I can take the level =
1</FONT>
<BR><FONT SIZE=3D2>&gt; backup from the source system</FONT>
<BR><FONT SIZE=3D2>&gt; only towards the end&nbsp; time of&nbsp; level =
0 restore on</FONT>
<BR><FONT SIZE=3D2>&gt; the alternate client.</FONT>
<BR><FONT SIZE=3D2>&gt; Hence I will not have the updated ixbar =
(level1)</FONT>
<BR><FONT SIZE=3D2>&gt; entries during the level0</FONT>
<BR><FONT SIZE=3D2>&gt; restore. Hence i got to replace the ixbar and =
hoping</FONT>
<BR><FONT SIZE=3D2>&gt; to kick off only level</FONT>
<BR><FONT SIZE=3D2>&gt; 1.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; 1)Will ONBAR restore only the level 1 ? or Will =
it</FONT>
<BR><FONT SIZE=3D2>&gt; go back and restore</FONT>
<BR><FONT SIZE=3D2>&gt; level-0 followed by level-1 ?</FONT>
<BR><FONT SIZE=3D2>&gt; 2)Will it restore only level 1 if the newly =
replace</FONT>
<BR><FONT SIZE=3D2>&gt; ixbar&nbsp; file contains</FONT>
<BR><FONT SIZE=3D2>&gt; only the level1 entries ?</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Your suggestions/comments are greatly =
appreciated.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Rajesh Rajasekaran</FONT>
<BR><FONT SIZE=3D2>&gt; Informix Database Administrator</FONT>
<BR><FONT SIZE=3D2>&gt; Forest Pharmaceuticals Inc.</FONT>
<BR><FONT SIZE=3D2>&gt; 314-493-7073 (Work)</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; sending to informix-list</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>__________________________________</FONT>
<BR><FONT SIZE=3D2>Do you Yahoo!?</FONT>
<BR><FONT SIZE=3D2>SBC Yahoo! DSL - Now only $29.95 per month!</FONT>
<BR><FONT SIZE=3D2><A HREF=3D"http://sbc.yahoo.com" =
TARGET=3D"_blank">http://sbc.yahoo.com</A></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C34D63.F0A0D8C0--
sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:17 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com