RMAN-20005: target database name is ambiguous


Sometimes You can get “RMAN-20005: target database name is ambiguous ” error.


Details of error are as follows.

RMAN-20005: target database name is ambiguous
Cause: two or more databases in the recovery catalog match this name
Action: None
RMAN-03002: failure of restore command at 12/04/2020 14:24:20
RMAN-06004: ORACLE error from recovery catalog database: 
RMAN-20005: target database name is ambiguous

This error is related with the Database ID in the Catalog database.

To solve this error, Firstly set DBID and try again.



RMAN> set DBID=1343463786;


Try again, if it is not solved then connect catalog database and run the unregister and register database .


connect catalog user/pwd@CATALOG_DB
connect target /

RMAN> unregister database;
RMAN> register database;



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



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 *