ORA-01152: File 1 was Not Restored From a Sufficiently Old Backup

I got ” ORA-01152: File 1 was Not Restored From a Sufficiently Old Backup ”  error in Oracle database.

 

ORA-01152: File 1 was Not Restored From a Sufficiently Old Backup

 

Details of error are as follows.

ORA-01152: file 1 was not restored from a sufficiently old backup

Cause: An incomplete recovery session was started, but an insufficient number of logs were 
applied to make the database consistent. This file is still in the future of the last log 
applied. The most likely cause of this error is forgetting to restore the file from a backup
 before doing incomplete recovery.

Action: Either apply more logs until the database is consistent or restore the database file
 from an older backup and repeat recovery.




SQL> alter database open;
alter database open
*

ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '+DATA/msdb/datafile/system01.dbf'

 

 

 

file 1 was not restored from a sufficiently old backup

This ORA-01152 error is related with the incomplete recovery session was started, but an insufficient number of logs were applied to make the database consistent. This file is still in the future of the last log applied. The most likely cause of this error is forgetting to restore the file from a backup before doing incomplete recovery.

 

Catalog archivelogs if they are not cataloged or if they are not seen.

RMAN> catalog start with '/oradata/archivelog/';

RMAN> recover database;

 

 

If this command is not recover, then try to run the following command.

SQL> recover database using backup controlfile until cancel;

 

Open database again as follows.

SQL> alter database open;

Database altered.

 

Do you want to learn Oracle Database for Beginners, then read the following articles.

Oracle Tutorial | Oracle Database Tutorials for Beginners ( Junior Oracle DBA )

 

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *