ORA-01152: file string was not restored from a sufficiently
old backup
Answers were Sorted based on User's Feedback
Answer / guest
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.
Please add more information about this Error
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / suhas d
Hello,
If we use a backup controlfile and do recovery, it is
mandatory to open the database with the RESETLOGS option
(incomplete or point in time recovery).
The Backup and Recovery Basics Oracle doc states this
clearly.
If this is an ARCHIVE mode database and controlfile was
backed up using RMAN 'BACKUP CURRENT CONTROLFILE' or such,
we can do incomplete recovery and open resetlogs.
SQL> recover database until cancel using backup controlfile;
Copy over as many archived logs from source to the local
(target) log_archive_dest folder (suggested) and give full
path directions in the above command.
Recovery can happen until you wish to. Type CANCEL when
done and open the database with resetlogs option.
Regards,
Suhas
| Is This Answer Correct ? | 0 Yes | 0 No |
ORA-01097: cannot shutdown while in a transaction - commit or rollback first
ORA-07745: slemcl: $CLOSE failure
RMAN-06171: not connected to target database
ORA-22887: type of REF column is not the same as that of its scoped table
ORA-02800: Requests timed out
QSM-00786: the name string is invalid for directive string
IMP-00099: Warning: The typeid in the dump file for object type "string"."string" is invalid
ORA-24363: measurements in characters illegal here
ORA-16575: request terminated at broker discretion
ORA-06790: TLI Driver: poll failed
ORA-09836: addCallback: could not add a port to the callback set.
ORA-00060: deadlock detected while waiting for resource