Site icon IT Tutorial

RMAN-20003: target database incarnation not found in recovery catalog

Hi,

Sometimes You can get “RMAN-20003: target database incarnation not found in recovery catalog ” error.

 

Details of error are as follows.

RMAN-20003: target database incarnation not found in recovery catalog
Cause: RESETLOGS CHANGE# and/or time of the target database doesn’t match any database incarnation in the recovery catalog.
Action: if target database was opened with RESETLOGS option then use ‘reset database’ to register the new incarnation.

This error is related with the catalog database, to solve this error, reset database as follows.

 

RMAN> resync catalog;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of resync command on default channel at 10/12/2019 18:03:24
RMAN-20003: target database incarnation not found in recovery catalog



RMAN> reset database;

new incarnation of database registered in recovery catalog
starting full resync of recovery catalog
full resync complete


RMAN> CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';

old RMAN configuration parameters:
CONFIGURE DEFAULT DEVICE TYPE TO 'DISK';
new RMAN configuration parameters:
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete

RMAN> exit

Do you want to learn more details about RMAN, then read the following articles.

https://ittutorial.org/rman-backup-restore-and-recovery-tutorials-for-beginners-in-the-oracle-database/

 

Exit mobile version