rename PDB during duplicate of CDB
From: Jeffrey Beckstrom <jbeckstrom_at_gcrta.org>
Date: Fri, 13 Dec 2019 10:26:07 -0500
Message-Id: <5DF3AD8F0200000B000676F5_at_groupwise2014.gcrta.org>
Date: Fri, 13 Dec 2019 10:26:07 -0500
Message-Id: <5DF3AD8F0200000B000676F5_at_groupwise2014.gcrta.org>
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
-- http://www.freelists.org/webpage/oracle-lReceived on Fri Dec 13 2019 - 16:26:07 CET