Oracle 12c Container and Pluggable Database Backup and Restore
Oracle 12c Container and Pluggable Database Backup and Restore
Oracle 12c Container and Pluggable Database Backup and Restore
Restore
The introduction of this new concept also forced Oracle to introduce some new
enhancements to the already existent BACKUP, RESTORE, and RECOVERY
commands to enable us to be able to make an efficient backup or restore of the complete
CDB. This includes all PDBs or just one of more PDBs, or if you want to be more
specific, you can also just backup or restore one or more tablespaces from a PDB.
Some examples of how to use the RMAN commands when performing a backup on
Oracle 12c are:
RMAN> BACKUP DATABASE; (To backup the CBD + all PDBs)
RMAN> BACKUP DATABASE root; (To backup only the CBD)
RMAN> BACKUP PLUGGABLE DATABASE pdb1,pdb2; (To backup all specified
PDBs)
RMAN> BACKUP TABLESPACE pdb1:example; (To backup a specific tablespace
in a PDB)