RMAN-20230: datafile copy not found in the recovery catalog

Hi,

Sometimes You can get “RMAN-20230: datafile copy not found in the recovery catalog ” error.

 

Details of error are as follows.

RMAN-20230: datafile copy not found in the recovery catalog
Cause: the specified datafile is not in the recovery catalog or it has been marked deleted
Action: check the datafile copy name or key
RMAN-03002: failure of switch command at 04/23/2020 08:08:34
RMAN-20230: datafile copy not found in the recovery catalog
RMAN-06015: error while looking up datafile copy name: +DATA/MSDB/datafile/data_tbs01

This error is related with the SWITCH DATAFILE ALL is executed after the restore of the datafiles which have been relocated to a new location.

The problem is a ‘SET NEWNAME’ clause for a skipped tablespace, which is therefore not restored.

 

To solve this error by removing the SET NEWNAME-clause for all datafiles which have NOT been restored, for instance due to a SKIP TABLESPACE-clause

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/

 

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 *