rename PDB during duplicate of CDB

  • From: "Jeffrey Beckstrom" <jbeckstrom@xxxxxxxxx>
  • To: "oracle-l-freelist" <oracle-l@xxxxxxxxxxxxx>
  • Date: Fri, 13 Dec 2019 10:26:07 -0500

We are just getting into multi-tenant and have a question about RMAN duplicate. 
We would clone using a backupset of the CDB so no active duplicate.

If I have source:
CDB1
PDB1_PROD

If I want target
CDB2
PDB1_TEST

What duplicate command do I run to duplicate CDB1 to CDB2 while renaming the 
PDB? We use an RMAN catalog so thinking of connecting to CDB2 and the RMAN 
catalog and running:

duplicate database CDB1 to CDB2

However, won't that create PDB1_PROD inside of CDB2


Jeffrey Beckstrom
Lead Database Administrator
Information Technology Department
Greater Cleveland Regional Transit Authority
1240 W. 6th Street
Cleveland, Ohio 44113


Other related posts: