SlideShare a Scribd company logo
1 of 22
What’s New in Oracle 19c & 18c Recovery
Manager (RMAN)?
Satishbabu Gunukula, Oracle ACE
• 20+ Years of Experience in Database Technologies and
specialized in high availability solutions.
• Masters Degree in Computer Applications
• Written articles for major publications
• Oracle Certified Professional Oracle 8i,9i,10g
• Oracle Certified Expert Oracle 10g RAC
http://www.oracleracexpert.com
Program Agenda
• Overview of RMAN
• PLUGGABLE DATABASE clause in GRANT and REVOKE
commands
• Recovery catalog support for PDBs
• Duplicate PDBs to an existing CDB
• Duplicate databases to Oracle Cloud
• RMAN backups usable after migration
• Demo
• Q& A
Overview of RMAN
• Oracle Recovery Manager (RMAN) is the most persistent demands of
performant, manageable backup and recovery, for all Oracle data formats
• Oracle RMAN provides a complete solution for efficient backup and recovery
of Oracle database. It is designed to provide block-level corruption detection
during backup and recovery.
• Oracle RMAN optimizes space consumption using multiplexing and backup set
compression.
• Oracle RMAN provides common interface via Enterprise Manager, command
line across different host operating systems and offers features like
parallelization , backup retention policy, detailed history of al backups…etc.
• Oracle RMAN integrates with Oracle secure backup as well as third party
media management products such as Commvault, Rubriki, DD Boost…etc.
Oracle 19c New features
New features in Oracle release 19c
• PLUGGABLE DATABASE clause in GRANT and REVOKE commands – From 19c,
you can grant and revoke privileges on a specific PDB to a database user.
RMAN> GRANT CATALOG FOR PLUGGABLE DATABASE emp_pdb TO usr_bkp;
RMAN> REVOKE CATALOG FOR PLUGGABLE DATABASE emp_pdb FROM
usr_bkp;
• Recovery catalog support for PDBs – When you are connected to target PDB
you can connect to recovery catalog .
RMAN> CONNECT TARGET “usr_bkp@emp_pdb AS SYSBACKUP";
Oracle 18c New features
New features in Oracle release 18c, Version 18.1
• Duplicate PDBs to an existing CDB – The DUPLICATE PLUGGABLE DATEBASE
command is used to duplicate PDB to an existing CDB.
• Duplicate database to Oracle Cloud – Using this feature you can duplicate on
premise database to Oracle Cloud
• RMAN backups usable after migration – RMAN backups created before the
non-CDB or PDB was migrated into a different target CDB can be used for
recovery operations.
Oracle 18c New features
Duplicate PDB’s to an existing CDB
Duplicate PDBs to an existing CDB – To perform duplicate of CDB or
PDB the source instance must have the below COMPATIBLE initialization
parameter.
• To duplicate CDB, the source CDB instance must be 12.2.0 or higher.
• To duplicate PDB to a new CDB, the database instance must be 12.2.0 or
higher
• To duplicate a PDB to an existing CDB, the source CDB and the destination
CDB must 18.0.0 or higher
Oracle 18c New features
Duplicate PDB’s to an existing CDB
Prerequisites for Duplicating a PDB to an Existing CDB:
The following prerequisites are applicable
– On the source and destination CDB the COMPATIBLE initialization
parameter must set to 18.0.0 or higher
– The source CDB and the auxiliary CDB (duplicate) must use local undo
– The PDB that user duplicating must be in read-only or read-write mode
– The destination CDB to which the PDB is being duplicated must be open
in read-write mode
– On the destination CDB, the initialization parameter
REMOTE_RECOVERY_FILE_DEST must be set
– The RMAN must connect to the root of the auxiliary (duplicate) CDB
– The destination CDB must use a spfile
Oracle 18c New features
Duplicate PDB’s to an existing CDB
Prerequisites for Performing Duplication with Encryption:
The following prerequisites are applicable when using the AS ENCRYPTED or AS
DECRYPTED clauses.
– To make use of these new features, the COMPATIBLE initialization
parameter must be set to 18.0.0 or higher
– The master key must be set at least once using the ADMINISTER KEY
MANAGEMENT SET ENCRYPTION KEY command.
– Oracle keystore used to encrypt databases, CDBs, or tablespaces on the
source database must be copied to the duplicate/auxiliary database and
then opened.
Oracle 18c New features
Duplicate PDB’s to an existing CDB
To duplicate PDB to an existing CDB using RMAN DUPLICATE
command using the PLUGGABLE DATABASE clause.
RMAN> DUPLICATE PLUGGABLE DATABASE src-pdb1 TO dest_pdb1 FROM
ACTIVE DATABASE;
RMAN> DUPLICATE PLUGGABLE DATABASE src_pdb1 AS dest_pdb1 TO
dest_cdb1 FROM ACTIVE DATABASE;
If you do not use Oracle Managed files the you need to use
DB_FLE_NAME_CONVERT in the DUPLICATE command.
Oracle 18c New features
Duplicate Databases to Oracle Cloud
• Use the DUPLICATE command to duplicate an on-premise database to Oracle
Cloud. Both active duplication and backup-based methods are supported.
• Oracle databases on Oracle Cloud are always encrypted even if no encryption
clause is specified during duplication.
• The COMPATIBLE parameter of the source and Oracle Cloud must be set to
18.0.0 or higher
Oracle 18c New features
Duplicate Databases to Oracle Cloud
Follow the steps to successfully migrate database to Cloud:
1. Ensure the prerequisites for the DUPLICATION technique are met, see
Prerequisites for Duplicating a Database".
2. Configure the Oracle Database cloud backup module, See Oracle Cloud
Using Oracle Database Backup Service
3. Complete the planning tasks, as described in "Planning to Duplicate a
Database"
4. Prepare the auxiliary instance, as described in "Preparing the Auxiliary
Instance"
• You must create auxiliary instance as CDB and start instance with
enable_pluggable_database=TRUE in the initialization parameter file
• When instructed to create an initialization parameter file for the auxiliary instance, user
must copy the file from the source database. This ensures that the auxiliary instance is
also a CDB. After you copy the file you need to perform the following steps:
– Modify the DB_NAME parameter
– Modify the various destination/location parameters
• Start the auxiliary instance in NOMOUNT mode.
Oracle 18c New features
Duplicate Databases to Oracle Cloud
5. Start RMAN and connect to the root as a common user with the SYSBACKUP
privilege or SYSDBA.
6. If the source CDB uses encryption, then open the Oracle keystore that
contains the master key on the source CDB.
7. Configure RMAN channels, if necessary, as described in "Configuring RMAN
Channels for Use in Duplication".
8. On the destination CDB, open the Oracle keystore from the source CDB. If the
destination CDB uses a password-based software keystore, then you must
specify the password used to open this keystore
SET DECRYPTION WALLET OPEN IDENTIFIED BY 'password';
9. Use the DUPLICATE command to duplicate the source CDB. Note that Using
duplication to create a standby database to Oracle Cloud is not supported
Oracle 18c New features
Duplicate an Oracle Cloud database as an On-premise Database
Follow the steps to duplicate an Oracle Cloud database as an On-prem
1. Ensure that the prerequisites for the selected duplication technique are met,
as described in "Prerequisites for Duplicating a Database“
2. Configure the Oracle Database Cloud Backup Module, see Oracle Cloud Using
Oracle Database Backup Service
3. Complete the planning tasks described in "Planning to Duplicate a Database"
4. Prepare the auxiliary instance, as described in "Preparing the Auxiliary
Instance“
• You must create auxiliary instance as CDB and start instance with
enable_pluggable_database=TRUE in the initialization parameter file
• When instructed to create an initialization parameter file for the auxiliary instance, user
must copy the file from the source database. This ensures that the auxiliary instance is
also a CDB. After you copy the file you need to perform the following steps:
– Modify the DB_NAME parameter
– Modify the various destination/location parameters
• When instructed to connect to the necessary instances, start RMAN and connect to the
root as a common user with SYSDBA or SYSBACKUP privilege. On both instances, the
password for the user performing the duplication operation must be the same.
Oracle 18c New features
Duplicate an Oracle Cloud database as an On-premise Database
5. Copy oracle keystore from Oracle Cloud to the auxiliary instance. The auxiliary
instance needs to decrypt the data files from Oracle Cloud before encrypting
them again by using the Oracle keystore in the Oracle Cloud database.
6. Configure RMAN channels, if necessary, as described in "Configuring RMAN
Channels for Use in Duplication“
7. On the auxiliary instance, open the Oracle keystore that was copied from the
source Oracle Cloud database.
– If the destination CDB use a password-based software keystore then you must specify the
password used to open the keystore. The following command sets the password used to open
a password-based software keystore.
SET DECRYPTION WALLET OPEN IDENTIFIED BY 'password';
8. Use the DUPLICATE command to duplicate the source CDB.
– To create a duplicate database that does not use encryption, use the AS DECRYPTED option in
the DUPLICATE command. For example:
DUPLICATE DATABASE TO my_cdb FROM ACTIVE DATABASE AS DECRYPTED;
Oracle 18c New features
RMAN backups usable after migration
• The RMAN commands used to backup and recover CDBs and PDBs are the
same as those used for non-CDBs, with minor variations in the syntax.
• The backup and recovery operations performed on non-CDBs can also be
performed on CDBs and PDBs. This includes the following:
– Full and incremental backups
– Complete and point-in-time recovery (PITR)
– Reporting operations (such as listing and cross-checking backups)
– Flashback Database
Oracle 18c New features
RMAN backups usable after migration
• Connecting to CDBs and PDBs
To connect to CDBs and PDBs in one of the following ways
– Connect using operating system authentication . You are connected to
the root as the SYS user with the SYSDBA privilege
$ rman target /
– Connect locally as a common user
$rman target sys
– Connect as a common user through Oracle Net Services
$rman target usr_bkp@my_cdb
Oracle 18c New features
RMAN backups usable after migration
• To connect as TARGET to a PDB, use one of the following techniques:
– Connect with a net service name that resolves to a service for that PDB
rman target usr_bkp@emp_pdb
– Connect locally as a common user or user with the SYSDBA or SYSBACKUP
privilege
$ rman target “usr_bkp@emp_pdb as sysdba"
Oracle 18c New features
RMAN backups usable after migration
Backup and Complete Recovery of CDBs
• To perform backup and complete recovery operations on a whole multitenant
container database (CDB), user needs to connect as TARGET to the root.
• The connection must be established as a common user with the SYSBACKUP
or SYSDBA privilege.
• After you connect to the root, the same commands used to perform
operations on non-CDBs are used to perform backup and complete recovery
on the entire CDB.
Oracle 18c New features
RMAN backups usable after migration
When relocating a PDB or cloning a non-CDB as a PDB, user may want to retain
the use of preplugin backups. In order to preplugin backups to be usable in the
destination CDB, the metadata about the preplugin backups must be exported to
the RMAN repository of the destination CDB.
Please find the technique for making the backups usable:
• Creating a PDB by cloning a non-CDB
When the non-CDB is opened in read/write mode, user must execute the
DBMS_PDB.EXPORTRMANBACKUP procedure as the last step before cloning. When user plugging in
the non-CDB as a PDB to a destination CDB, the operation copies the backup metadata of the
source non-CDB into the data dictionary of the destination CDB.
• Relocating a PDB to another CDB
When user unplug the source PDB, the backup metadata is automatically exported. Therefore, you
do not need to execute DBMS_PDB.EXPORTRMANBACKUP.
Preplugin backups are usable only on the destination CDB into which you plug in
the source non-CDB or PDB.
Reference
• Oracle 19c & 18c Backup and Recovery Reference
• https://docs.oracle.com/en/database/oracle/oracle-database/19/rcmrf/
• https://docs.oracle.com/en/database/oracle/oracle-database/18/bradv/
• Oracle 19C & 18c Documentation
https://docs.oracle.com/en/database/oracle/oracle-database/19/index.html
• https://docs.oracle.com/en/database/oracle/oracle-database/18/index.html
Summary
• Each Oracle database release comes with enhancements to
Oracle Recovery Manager (RMAN) and make use of these
new features for pressing demands for backup and
recovery operations.
Questions & Answers

More Related Content

What's hot

Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slidesMohamed Farouk
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Markus Michalewicz
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1Satishbabu Gunukula
 
Backup and recovery in oracle
Backup and recovery in oracleBackup and recovery in oracle
Backup and recovery in oraclesadegh salehi
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionMarkus Michalewicz
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on ExadataAnil Nair
 
Exploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12cExploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12cZohar Elkayam
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle MultitenantJitendra Singh
 
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionOracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionMarkus Michalewicz
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insightsKirill Loifman
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationMarkus Michalewicz
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cSatishbabu Gunukula
 
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodLudovico Caldara
 
Fast Start Failover DataGuard
Fast Start Failover DataGuardFast Start Failover DataGuard
Fast Start Failover DataGuardBorsaniya Vaibhav
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ssAnil Nair
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slidesMohamed Farouk
 
Maria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High AvailabilityMaria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High AvailabilityOSSCube
 

What's hot (20)

Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1
 
Backup and recovery in oracle
Backup and recovery in oracleBackup and recovery in oracle
Backup and recovery in oracle
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion Edition
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on Exadata
 
Exploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12cExploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12c
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle Multitenant
 
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionOracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insights
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - Presentation
 
ASM
ASMASM
ASM
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
 
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The Hood
 
Fast Start Failover DataGuard
Fast Start Failover DataGuardFast Start Failover DataGuard
Fast Start Failover DataGuard
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ss
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slides
 
Maria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High AvailabilityMaria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High Availability
 

Similar to What's new in Oracle 19c & 18c Recovery Manager (RMAN)

What’s new in oracle 12c recovery manager (rman)
What’s new in oracle 12c recovery manager (rman)What’s new in oracle 12c recovery manager (rman)
What’s new in oracle 12c recovery manager (rman)Satishbabu Gunukula
 
RMAN - New Features in Oracle 12c - IOUG Collaborate 2017
RMAN - New Features in Oracle 12c - IOUG Collaborate 2017RMAN - New Features in Oracle 12c - IOUG Collaborate 2017
RMAN - New Features in Oracle 12c - IOUG Collaborate 2017Andy Colvin
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationFrancisco Alvarez
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intropasalapudi
 
0396 oracle-goldengate-12c-tutorial
0396 oracle-goldengate-12c-tutorial0396 oracle-goldengate-12c-tutorial
0396 oracle-goldengate-12c-tutorialKlausePaulino
 
RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)Gustavo Rene Antunez
 
Collaborate 2012 - RMAN eliminate the mystery
Collaborate 2012 - RMAN eliminate the mysteryCollaborate 2012 - RMAN eliminate the mystery
Collaborate 2012 - RMAN eliminate the mysteryNelson Calero
 
6212883126866262792 performance testing_cloud
6212883126866262792 performance testing_cloud6212883126866262792 performance testing_cloud
6212883126866262792 performance testing_cloudLocuto Riorama
 
Winning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantWinning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantPini Dibask
 
Containerizing ContentBox CMS
Containerizing ContentBox CMSContainerizing ContentBox CMS
Containerizing ContentBox CMSGavin Pickin
 
Optimizing your Database Import!
Optimizing your Database Import! Optimizing your Database Import!
Optimizing your Database Import! Nabil Nawaz
 
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...Frederic Descamps
 

Similar to What's new in Oracle 19c & 18c Recovery Manager (RMAN) (20)

What’s new in oracle 12c recovery manager (rman)
What’s new in oracle 12c recovery manager (rman)What’s new in oracle 12c recovery manager (rman)
What’s new in oracle 12c recovery manager (rman)
 
RMAN - New Features in Oracle 12c - IOUG Collaborate 2017
RMAN - New Features in Oracle 12c - IOUG Collaborate 2017RMAN - New Features in Oracle 12c - IOUG Collaborate 2017
RMAN - New Features in Oracle 12c - IOUG Collaborate 2017
 
Les 20 dup_db
Les 20 dup_dbLes 20 dup_db
Les 20 dup_db
 
15362590.ppt
15362590.ppt15362590.ppt
15362590.ppt
 
Oracle 12c - Multitenant Feature
Oracle 12c - Multitenant FeatureOracle 12c - Multitenant Feature
Oracle 12c - Multitenant Feature
 
Les 07 rman_rec
Les 07 rman_recLes 07 rman_rec
Les 07 rman_rec
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? Presentation
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
 
Presentation day2 oracle12c
Presentation day2 oracle12cPresentation day2 oracle12c
Presentation day2 oracle12c
 
0396 oracle-goldengate-12c-tutorial
0396 oracle-goldengate-12c-tutorial0396 oracle-goldengate-12c-tutorial
0396 oracle-goldengate-12c-tutorial
 
Presentation day4 oracle12c
Presentation day4 oracle12cPresentation day4 oracle12c
Presentation day4 oracle12c
 
RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)
 
Les 08 Dupe Db
Les 08 Dupe DbLes 08 Dupe Db
Les 08 Dupe Db
 
Collaborate 2012 - RMAN eliminate the mystery
Collaborate 2012 - RMAN eliminate the mysteryCollaborate 2012 - RMAN eliminate the mystery
Collaborate 2012 - RMAN eliminate the mystery
 
Creating database
Creating databaseCreating database
Creating database
 
6212883126866262792 performance testing_cloud
6212883126866262792 performance testing_cloud6212883126866262792 performance testing_cloud
6212883126866262792 performance testing_cloud
 
Winning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantWinning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle Multitenant
 
Containerizing ContentBox CMS
Containerizing ContentBox CMSContainerizing ContentBox CMS
Containerizing ContentBox CMS
 
Optimizing your Database Import!
Optimizing your Database Import! Optimizing your Database Import!
Optimizing your Database Import!
 
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...
 

More from Satishbabu Gunukula

Oracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptxOracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptxSatishbabu Gunukula
 
Oracle Data Pump Enhancements in Oracle 21c.pptx
Oracle Data Pump Enhancements in Oracle 21c.pptxOracle Data Pump Enhancements in Oracle 21c.pptx
Oracle Data Pump Enhancements in Oracle 21c.pptxSatishbabu Gunukula
 
Cloning an Oracle Home or Oracle Install.pptx
Cloning an Oracle Home or Oracle Install.pptxCloning an Oracle Home or Oracle Install.pptx
Cloning an Oracle Home or Oracle Install.pptxSatishbabu Gunukula
 
Oracle database upgrade to 12c and available methods
Oracle database upgrade to 12c and available methodsOracle database upgrade to 12c and available methods
Oracle database upgrade to 12c and available methodsSatishbabu Gunukula
 
One database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12cOne database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12cSatishbabu Gunukula
 
Install oracle binaris or clonse oracle home
Install oracle binaris or clonse oracle homeInstall oracle binaris or clonse oracle home
Install oracle binaris or clonse oracle homeSatishbabu Gunukula
 
Oracle golden gate 12c New Features
Oracle golden gate 12c New FeaturesOracle golden gate 12c New Features
Oracle golden gate 12c New FeaturesSatishbabu Gunukula
 
Sql server mission_critical_performance_tdm_white_paper
Sql server mission_critical_performance_tdm_white_paperSql server mission_critical_performance_tdm_white_paper
Sql server mission_critical_performance_tdm_white_paperSatishbabu Gunukula
 
Time for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACTime for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACSatishbabu Gunukula
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application clusterSatishbabu Gunukula
 

More from Satishbabu Gunukula (13)

Oracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptxOracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptx
 
Oracle Data Pump Enhancements in Oracle 21c.pptx
Oracle Data Pump Enhancements in Oracle 21c.pptxOracle Data Pump Enhancements in Oracle 21c.pptx
Oracle Data Pump Enhancements in Oracle 21c.pptx
 
Cloning an Oracle Home or Oracle Install.pptx
Cloning an Oracle Home or Oracle Install.pptxCloning an Oracle Home or Oracle Install.pptx
Cloning an Oracle Home or Oracle Install.pptx
 
Oracle database upgrade to 12c and available methods
Oracle database upgrade to 12c and available methodsOracle database upgrade to 12c and available methods
Oracle database upgrade to 12c and available methods
 
One database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12cOne database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12c
 
Why virtual private catalog?
Why virtual private catalog?Why virtual private catalog?
Why virtual private catalog?
 
Install oracle binaris or clonse oracle home
Install oracle binaris or clonse oracle homeInstall oracle binaris or clonse oracle home
Install oracle binaris or clonse oracle home
 
Oracle golden gate 12c New Features
Oracle golden gate 12c New FeaturesOracle golden gate 12c New Features
Oracle golden gate 12c New Features
 
Sql server mission_critical_performance_tdm_white_paper
Sql server mission_critical_performance_tdm_white_paperSql server mission_critical_performance_tdm_white_paper
Sql server mission_critical_performance_tdm_white_paper
 
Time for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACTime for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RAC
 
Convert single instance to RAC
Convert single instance to RACConvert single instance to RAC
Convert single instance to RAC
 
Ioug tip book11_gunukula
Ioug tip book11_gunukulaIoug tip book11_gunukula
Ioug tip book11_gunukula
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
 

Recently uploaded

No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...Sheetaleventcompany
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Kayode Fayemi
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Delhi Call girls
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Hasting Chen
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubssamaasim06
 
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Salam Al-Karadaghi
 
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Chameera Dedduwage
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxNikitaBankoti2
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfOpen Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfhenrik385807
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024eCommerce Institute
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AITatiana Gurgel
 
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStrSaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStrsaastr
 
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...NETWAYS
 
Mathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMoumonDas2
 
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Pooja Nehwal
 
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfCTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfhenrik385807
 
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝soniya singh
 
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...henrik385807
 

Recently uploaded (20)

No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubs
 
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
 
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Vaishnavi 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Vaishnavi 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
 
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfOpen Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AI
 
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStrSaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
SaaStr Workshop Wednesday w: Jason Lemkin, SaaStr
 
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
 
Mathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptx
 
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
 
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfCTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
 
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
Call Girls in Sarojini Nagar Market Delhi 💯 Call Us 🔝8264348440🔝
 
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
 

What's new in Oracle 19c & 18c Recovery Manager (RMAN)

  • 1. What’s New in Oracle 19c & 18c Recovery Manager (RMAN)? Satishbabu Gunukula, Oracle ACE • 20+ Years of Experience in Database Technologies and specialized in high availability solutions. • Masters Degree in Computer Applications • Written articles for major publications • Oracle Certified Professional Oracle 8i,9i,10g • Oracle Certified Expert Oracle 10g RAC http://www.oracleracexpert.com
  • 2. Program Agenda • Overview of RMAN • PLUGGABLE DATABASE clause in GRANT and REVOKE commands • Recovery catalog support for PDBs • Duplicate PDBs to an existing CDB • Duplicate databases to Oracle Cloud • RMAN backups usable after migration • Demo • Q& A
  • 3. Overview of RMAN • Oracle Recovery Manager (RMAN) is the most persistent demands of performant, manageable backup and recovery, for all Oracle data formats • Oracle RMAN provides a complete solution for efficient backup and recovery of Oracle database. It is designed to provide block-level corruption detection during backup and recovery. • Oracle RMAN optimizes space consumption using multiplexing and backup set compression. • Oracle RMAN provides common interface via Enterprise Manager, command line across different host operating systems and offers features like parallelization , backup retention policy, detailed history of al backups…etc. • Oracle RMAN integrates with Oracle secure backup as well as third party media management products such as Commvault, Rubriki, DD Boost…etc.
  • 4. Oracle 19c New features New features in Oracle release 19c • PLUGGABLE DATABASE clause in GRANT and REVOKE commands – From 19c, you can grant and revoke privileges on a specific PDB to a database user. RMAN> GRANT CATALOG FOR PLUGGABLE DATABASE emp_pdb TO usr_bkp; RMAN> REVOKE CATALOG FOR PLUGGABLE DATABASE emp_pdb FROM usr_bkp; • Recovery catalog support for PDBs – When you are connected to target PDB you can connect to recovery catalog . RMAN> CONNECT TARGET “usr_bkp@emp_pdb AS SYSBACKUP";
  • 5. Oracle 18c New features New features in Oracle release 18c, Version 18.1 • Duplicate PDBs to an existing CDB – The DUPLICATE PLUGGABLE DATEBASE command is used to duplicate PDB to an existing CDB. • Duplicate database to Oracle Cloud – Using this feature you can duplicate on premise database to Oracle Cloud • RMAN backups usable after migration – RMAN backups created before the non-CDB or PDB was migrated into a different target CDB can be used for recovery operations.
  • 6. Oracle 18c New features Duplicate PDB’s to an existing CDB Duplicate PDBs to an existing CDB – To perform duplicate of CDB or PDB the source instance must have the below COMPATIBLE initialization parameter. • To duplicate CDB, the source CDB instance must be 12.2.0 or higher. • To duplicate PDB to a new CDB, the database instance must be 12.2.0 or higher • To duplicate a PDB to an existing CDB, the source CDB and the destination CDB must 18.0.0 or higher
  • 7. Oracle 18c New features Duplicate PDB’s to an existing CDB Prerequisites for Duplicating a PDB to an Existing CDB: The following prerequisites are applicable – On the source and destination CDB the COMPATIBLE initialization parameter must set to 18.0.0 or higher – The source CDB and the auxiliary CDB (duplicate) must use local undo – The PDB that user duplicating must be in read-only or read-write mode – The destination CDB to which the PDB is being duplicated must be open in read-write mode – On the destination CDB, the initialization parameter REMOTE_RECOVERY_FILE_DEST must be set – The RMAN must connect to the root of the auxiliary (duplicate) CDB – The destination CDB must use a spfile
  • 8. Oracle 18c New features Duplicate PDB’s to an existing CDB Prerequisites for Performing Duplication with Encryption: The following prerequisites are applicable when using the AS ENCRYPTED or AS DECRYPTED clauses. – To make use of these new features, the COMPATIBLE initialization parameter must be set to 18.0.0 or higher – The master key must be set at least once using the ADMINISTER KEY MANAGEMENT SET ENCRYPTION KEY command. – Oracle keystore used to encrypt databases, CDBs, or tablespaces on the source database must be copied to the duplicate/auxiliary database and then opened.
  • 9. Oracle 18c New features Duplicate PDB’s to an existing CDB To duplicate PDB to an existing CDB using RMAN DUPLICATE command using the PLUGGABLE DATABASE clause. RMAN> DUPLICATE PLUGGABLE DATABASE src-pdb1 TO dest_pdb1 FROM ACTIVE DATABASE; RMAN> DUPLICATE PLUGGABLE DATABASE src_pdb1 AS dest_pdb1 TO dest_cdb1 FROM ACTIVE DATABASE; If you do not use Oracle Managed files the you need to use DB_FLE_NAME_CONVERT in the DUPLICATE command.
  • 10. Oracle 18c New features Duplicate Databases to Oracle Cloud • Use the DUPLICATE command to duplicate an on-premise database to Oracle Cloud. Both active duplication and backup-based methods are supported. • Oracle databases on Oracle Cloud are always encrypted even if no encryption clause is specified during duplication. • The COMPATIBLE parameter of the source and Oracle Cloud must be set to 18.0.0 or higher
  • 11. Oracle 18c New features Duplicate Databases to Oracle Cloud Follow the steps to successfully migrate database to Cloud: 1. Ensure the prerequisites for the DUPLICATION technique are met, see Prerequisites for Duplicating a Database". 2. Configure the Oracle Database cloud backup module, See Oracle Cloud Using Oracle Database Backup Service 3. Complete the planning tasks, as described in "Planning to Duplicate a Database" 4. Prepare the auxiliary instance, as described in "Preparing the Auxiliary Instance" • You must create auxiliary instance as CDB and start instance with enable_pluggable_database=TRUE in the initialization parameter file • When instructed to create an initialization parameter file for the auxiliary instance, user must copy the file from the source database. This ensures that the auxiliary instance is also a CDB. After you copy the file you need to perform the following steps: – Modify the DB_NAME parameter – Modify the various destination/location parameters • Start the auxiliary instance in NOMOUNT mode.
  • 12. Oracle 18c New features Duplicate Databases to Oracle Cloud 5. Start RMAN and connect to the root as a common user with the SYSBACKUP privilege or SYSDBA. 6. If the source CDB uses encryption, then open the Oracle keystore that contains the master key on the source CDB. 7. Configure RMAN channels, if necessary, as described in "Configuring RMAN Channels for Use in Duplication". 8. On the destination CDB, open the Oracle keystore from the source CDB. If the destination CDB uses a password-based software keystore, then you must specify the password used to open this keystore SET DECRYPTION WALLET OPEN IDENTIFIED BY 'password'; 9. Use the DUPLICATE command to duplicate the source CDB. Note that Using duplication to create a standby database to Oracle Cloud is not supported
  • 13. Oracle 18c New features Duplicate an Oracle Cloud database as an On-premise Database Follow the steps to duplicate an Oracle Cloud database as an On-prem 1. Ensure that the prerequisites for the selected duplication technique are met, as described in "Prerequisites for Duplicating a Database“ 2. Configure the Oracle Database Cloud Backup Module, see Oracle Cloud Using Oracle Database Backup Service 3. Complete the planning tasks described in "Planning to Duplicate a Database" 4. Prepare the auxiliary instance, as described in "Preparing the Auxiliary Instance“ • You must create auxiliary instance as CDB and start instance with enable_pluggable_database=TRUE in the initialization parameter file • When instructed to create an initialization parameter file for the auxiliary instance, user must copy the file from the source database. This ensures that the auxiliary instance is also a CDB. After you copy the file you need to perform the following steps: – Modify the DB_NAME parameter – Modify the various destination/location parameters • When instructed to connect to the necessary instances, start RMAN and connect to the root as a common user with SYSDBA or SYSBACKUP privilege. On both instances, the password for the user performing the duplication operation must be the same.
  • 14. Oracle 18c New features Duplicate an Oracle Cloud database as an On-premise Database 5. Copy oracle keystore from Oracle Cloud to the auxiliary instance. The auxiliary instance needs to decrypt the data files from Oracle Cloud before encrypting them again by using the Oracle keystore in the Oracle Cloud database. 6. Configure RMAN channels, if necessary, as described in "Configuring RMAN Channels for Use in Duplication“ 7. On the auxiliary instance, open the Oracle keystore that was copied from the source Oracle Cloud database. – If the destination CDB use a password-based software keystore then you must specify the password used to open the keystore. The following command sets the password used to open a password-based software keystore. SET DECRYPTION WALLET OPEN IDENTIFIED BY 'password'; 8. Use the DUPLICATE command to duplicate the source CDB. – To create a duplicate database that does not use encryption, use the AS DECRYPTED option in the DUPLICATE command. For example: DUPLICATE DATABASE TO my_cdb FROM ACTIVE DATABASE AS DECRYPTED;
  • 15. Oracle 18c New features RMAN backups usable after migration • The RMAN commands used to backup and recover CDBs and PDBs are the same as those used for non-CDBs, with minor variations in the syntax. • The backup and recovery operations performed on non-CDBs can also be performed on CDBs and PDBs. This includes the following: – Full and incremental backups – Complete and point-in-time recovery (PITR) – Reporting operations (such as listing and cross-checking backups) – Flashback Database
  • 16. Oracle 18c New features RMAN backups usable after migration • Connecting to CDBs and PDBs To connect to CDBs and PDBs in one of the following ways – Connect using operating system authentication . You are connected to the root as the SYS user with the SYSDBA privilege $ rman target / – Connect locally as a common user $rman target sys – Connect as a common user through Oracle Net Services $rman target usr_bkp@my_cdb
  • 17. Oracle 18c New features RMAN backups usable after migration • To connect as TARGET to a PDB, use one of the following techniques: – Connect with a net service name that resolves to a service for that PDB rman target usr_bkp@emp_pdb – Connect locally as a common user or user with the SYSDBA or SYSBACKUP privilege $ rman target “usr_bkp@emp_pdb as sysdba"
  • 18. Oracle 18c New features RMAN backups usable after migration Backup and Complete Recovery of CDBs • To perform backup and complete recovery operations on a whole multitenant container database (CDB), user needs to connect as TARGET to the root. • The connection must be established as a common user with the SYSBACKUP or SYSDBA privilege. • After you connect to the root, the same commands used to perform operations on non-CDBs are used to perform backup and complete recovery on the entire CDB.
  • 19. Oracle 18c New features RMAN backups usable after migration When relocating a PDB or cloning a non-CDB as a PDB, user may want to retain the use of preplugin backups. In order to preplugin backups to be usable in the destination CDB, the metadata about the preplugin backups must be exported to the RMAN repository of the destination CDB. Please find the technique for making the backups usable: • Creating a PDB by cloning a non-CDB When the non-CDB is opened in read/write mode, user must execute the DBMS_PDB.EXPORTRMANBACKUP procedure as the last step before cloning. When user plugging in the non-CDB as a PDB to a destination CDB, the operation copies the backup metadata of the source non-CDB into the data dictionary of the destination CDB. • Relocating a PDB to another CDB When user unplug the source PDB, the backup metadata is automatically exported. Therefore, you do not need to execute DBMS_PDB.EXPORTRMANBACKUP. Preplugin backups are usable only on the destination CDB into which you plug in the source non-CDB or PDB.
  • 20. Reference • Oracle 19c & 18c Backup and Recovery Reference • https://docs.oracle.com/en/database/oracle/oracle-database/19/rcmrf/ • https://docs.oracle.com/en/database/oracle/oracle-database/18/bradv/ • Oracle 19C & 18c Documentation https://docs.oracle.com/en/database/oracle/oracle-database/19/index.html • https://docs.oracle.com/en/database/oracle/oracle-database/18/index.html
  • 21. Summary • Each Oracle database release comes with enhancements to Oracle Recovery Manager (RMAN) and make use of these new features for pressing demands for backup and recovery operations.

Editor's Notes

  1. 1