RE: Recovery from online backups/archived logs on another system

  • From: Josh Collier <Josh.Collier@xxxxxxxxxxxx>
  • To: "'oracle-l@xxxxxxxxxxxxx'" <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 14 Apr 2004 13:18:38 -0700

Matthew,

I also resolved a similar problem with the method described below. It should
fix you up.

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx]On Behalf Of Rothouse, Michael
Sent: Wednesday, April 14, 2004 12:52 PM
To: oracle-l@xxxxxxxxxxxxx
Subject: RE: Recovery from online backups/archived logs on another
system


I ran into this exact problem about 18 months ago.  MetaLink
Note:183367.1 resolved my problem.  Specifically section "IV. WHEN
RECOVERING ' USING BACKUP CONTROLFILE' OPTION TO DO INCOMPLETE
RECOVERY".

SQL> startup mount;
SQL> recover database using backup controlfile until cancel;
Apply existing archived redo log files as prompted; type CANCEL when no
more exist on disk
SQL> alter database open resetlogs;


-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Matthew J. Brown
Sent: Wednesday, April 14, 2004 2:56 PM
To: oracle-l@xxxxxxxxxxxxx
Subject: Recovery from online backups/archived logs on another system

I have an Oracle 8i database that I'm trying to create a standby copy of
for testing / possible future DR use.  The database is in ARCHIVELOG
mode.
=20
On the master database, I have placed each tablespace in turn into
backup mode, copied the underlying datafile, then turned off backup
mode.  I have taken copies of the control files.
=20
I put these on my standby database and copied all the archived
transaction logs (for a period of before, during, and substantially
after the period of the backups) to that server too.
=20
I am then attempting to do a recovery using:
=20
open mount exclusive
recover database using backup controlfile
=20
The recover process starts OK taking, as I expected, the first log from
the point where backups started and rolling them forward one by one.
However, it is never satisfied.  It never says anything along the lines
of 'backup complete' - it wants more and more archived logs, and when
there are none left it still wants more, even though the transaction
logs it's now applying are substantially later than the backups taken.
=20
If I CANCEL out of the recovery and attempt to
=20
alter database open resetlogs
=20
I get=20
=20
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: '/u03/oracle/oradata/v7/system01.dbf'
=20
Why is it doing this when I have fed it every single transaction log
available?  None are missing.
=20
Thanks for any assistance,
=20
-Matt

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: