Q
Manage Learn to apply best practices and optimize your operations.

How to perform incomplete recovery to overcome Oracle database error

Learn how to perform incomplete recovery in Oracle to overcome an error after restoring with RESETLOGs in this tip from Oracle expert Brian Peasland.

I have taken the backup of a database (Oracle 9i, installed in UNIX AIX OS), and when I restore the backup and...

start the Oracle database, the database is mounted. Then when I issue the "alter database open resetlogs" command, I get the following error:

ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/data/oracle/NYP15S1D/data03/SYSTEM_01.dbf'
 
How can I resolve the issue?

To get past this issue and since you tried to open with RESETLOGS, you will have to perform incomplete recovery. Do the following:

STARTUP MOUNT

ALTER DATABASE RECOVER UNTIL CANCEL;

Apply the redo logs. When done, enter CANCEL

ALTER DATABASE OPEN RESETLOGS;

This was last published in August 2010

Dig Deeper on Oracle database backup and recovery

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close