Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: RMAN Restore Question

Re: RMAN Restore Question

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Wed, 20 Apr 2005 19:06:58 +0200
Message-ID: <5o2d61ltsav2iqp15lo749uvqm1iv2n73f@4ax.com>


On 20 Apr 2005 06:26:09 -0700, amerar_at_iwc.net wrote:

>Then, I used RMAN and restored the control file from a previous backup.
> At this point, The control file has an eariler SCN than the data file
>headers. So, I ussed a 'recover database' which I thought should, roll
>everything forward.
>
>If this is true, why did I still need to open with resetlogs? I
>figured that the rolling forward brought the database back up to
>present.....

You are recovering from a *backup controlfile*. A *backup controlfile* does NOT contain the same information as the production controlfile, hence the SCN in the controlfile isn't equal to the SCN in the datafile.
As you are recovering from a *backup controlfile*, you are performing *incomplete recovery*, which you do by
recover database using backup controlfile until cancel So your script is incorrect.
After *incomplete recovery* using the resetlogs clause is *mandatory*, as *documented*.

Please read the documentation carefully or ask clarification with respect to specific passages in the doc. It is no use to request this group to spell it out for you all again. Please try to understand the basic difference between *complete* and *incomplete* recovery, various people have tried to explain it to you for several weeks now, and you begin to become annoying.

--
Sybrand Bakker, Senior Oracle DBA
Received on Wed Apr 20 2005 - 12:06:58 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US