RMAN-05520: Database Name Mismatch (Auxiliary Has PROD, Command Specified CLONE)
Error
When running RMAN DUPLICATE
, you get this error:
Why This Happens
-
RMAN started duplication.
-
During the process, it mounted the auxiliary database with the wrong name (
PROD
— from the target). -
Duplication failed partway, so the auxiliary still thinks it is the source DB.
Solution
-
Shutdown the auxiliary database immediately:
-
Start the auxiliary database in NOMOUNT with the correct PFILE:
-
Re-run the RMAN duplicate command:
Important
-
Make sure the DB_NAME in the auxiliary PFILE matches what you mention in the
DUPLICATE TO
command. -
If duplication fails after mounting, always shutdown and restart the auxiliary in NOMOUNT before retrying.
Post a Comment
Post a Comment