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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: RECOVERY PROBLEM

RE: RECOVERY PROBLEM

From: John Kanagaraj <john.kanagaraj_at_hds.com>
Date: Wed, 06 Mar 2002 16:33:23 -0800
Message-ID: <F001.004217B0.20020306163323@fatcity.com>


Just to go a little further into the 'why'...

When a tablespace is either put into backup mode or taken out of backup mode, a redo entry that records this event is made in the online redolog. When you copy off the datafiles, SYSTEM.DBF records that you put these tablespaces in hot backup mode. When you deleted all the files, including the online redolog, the redo vectors that record the fact that the tablespaces came out of hot backup mode are now not available. When the database is opened now with RESETLOGS, all datafiles need to come up to the maximum SCN amongst themselves - details of which is present only in the first archive logs generated *after* the backup completed on the source system. I.e. you *SHOULD* have altered system to switch logfile, and preserved the contents of the last online redolog. You will then have to apply at least this one archivelog with a CANCEL based recovery before opening the database.

Hth,
John Kanagaraj
Oracle Applications DBA
DBSoft Inc
(W): 408-970-7002

Grace - Getting something we don't deserve Mercy - NOT getting something we deserve

Click on 'http://www.needhim.org' for Grace and Mercy that is freely available!

> -----Original Message-----
> From: K Gopalakrishnan [mailto:kaygopal_at_yahoo.com]
> Sent: Wednesday, March 06, 2002 2:40 PM
> To: Multiple recipients of list ORACLE-L
> Subject: RE: RECOVERY PROBLEM
>
>
> Hi,
>
> It is expected behaviour only. That is why it is recommended
> to do a log
> switch and copy the log files once
> the backup is complete
>
>
> Best Regards,
> K Gopalakrishnan
> Bangalore, INDIA
>
>
>
> -----Original Message-----
> Sent: Wednesday, March 06, 2002 12:49 PM
> To: Multiple recipients of list ORACLE-L
>
>
> Hi All!
> I'm trying recovery TEST database from hot backup.
> I create database with a couple tables. Make couple log
> switches to generate
> redo log files (basically it's generate 3 redo log files:
> arch.log1_15.dbf
> , arch.log1_16.dbf, arch.log1_17.dbf).
> Then I run hot backup and backup all dbf files, redo log
> files, control
> files and arch redo log files. Shutdown database and delete all files.
> Then I restore all files from hot backup. Then I mount
> database and run:
>
> SVRMGR> recover database using backup control file until cancel;
> ORA-00279: change 28494 generated at 03/06/02 13:19:24 needed
> for thread 1
> ORA-00289: suggestion :
> /u00/app/oracle/admin/TEST/arch/arch.log1_18.dbf
> ORA-00280: change 28494 for thread 1 is in sequence #18
> Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
>
> cancel
>
> ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS
> would get error
> below
> ORA-01195: online backup of file 1 needs more recovery to be
> consistent
> ORA-01110: data file 1:
> '/ff01uc31/ora_c15d05/TEST/oradata/system01.dbf'
>
> It's looking for arch.log1_18.dbf files, which is, was not
> they're when I
> run my hot backup.
> Any ideas what I did wrong?
>
> Thanks a lot.
> Oracle 8.1.5 on Digital Unix
>
> Greg.
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Greg Faktor
> INET: FAKTORG_at_labs.wyeth.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: K Gopalakrishnan
> INET: kaygopal_at_yahoo.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: John Kanagaraj
  INET: john.kanagaraj_at_hds.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Mar 06 2002 - 18:33:23 CST

Original text of this message

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