RMAN CDB Duplication While Skipping Selected PDBs
In large domain Oracle Multitenant (CDB/PDB) environments, it is often unnecessary—and inefficient—to duplicate all pluggable databases. RMAN provides the flexibility to duplicate only the required PDBs while skipping others, significantly reducing time, storage, and risk.
This article explains how to:
- Duplicate a Container Database (CDB) from RMAN backup pieces
- Skip selected Finance PDBs
- Use ASM with Oracle Managed Files (OMF)
- Create datafiles and redo logs automatically in +DATA and +RECO
- Run the duplication in background using nohup
Scenario
| Component | Name |
|---|---|
| Source CDB | FINCDB_PROD |
| Target CDB | FINCDB_DEV |
| Backup Location | /backup_local/rman/FINCDB_19JAN2026 |
| ASM Disk Groups | +DATA (datafiles), +RECO (redo logs) |
| Skipped PDBs | FIN_AP_PDB, FIN_AR_PDB, FIN_HR_PDB |
| Required PDBs | FIN_GL_PDB, FIN_FA_PDB |
Prerequisites
- Valid RMAN full backup of source CDB
- Target Oracle Home installed and patched
- ASM disk groups +DATA and +RECO mounted
- Adequate storage and permissions
- Auxiliary instance not registered in CRS (for non-RAC)
Step 1: Create a Minimal Initialization Parameter File (PFILE)
Create a basic PFILE for the auxiliary database.
Save as:
Step 2: Start Auxiliary Database in NOMOUNT Mode
Confirm status:
Step 3: RMAN Duplicate Command (Skip Finance PDBs)
Create the RMAN command file:
Step 4: Run Duplication in Background
Monitor progress:
Step 5: ASM File Placement (Automatic)
Because the following parameters are set:
Oracle automatically:
- Creates datafiles and tempfiles in +DATA
- Creates online redo logs in +RECO
- Uses OMF naming (no manual file mapping)
Step 6: Post-Duplicate Validation
Check CDB Status
Verify PDBs
Expected:
Required PDBs → OPENSkipped PDBs → NOT PRESENT
Validate ASM Locations

Post a Comment
Post a Comment