SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

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
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfSrirakshaSrinivasan2
 
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
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsAnil Nair
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONMarkus Michalewicz
 
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
 
Fast Start Failover DataGuard
Fast Start Failover DataGuardFast Start Failover DataGuard
Fast Start Failover DataGuardBorsaniya Vaibhav
 
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]Markus Michalewicz
 
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 1
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 1Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 1
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 1SolarWinds
 
Database Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitectureDatabase Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitecturePini Dibask
 
Oracle Transparent Data Encryption (TDE) 12c
Oracle Transparent Data Encryption (TDE) 12cOracle Transparent Data Encryption (TDE) 12c
Oracle Transparent Data Encryption (TDE) 12cNabeel Yoosuf
 
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
 
MAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMarkus Michalewicz
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratopSandesh Rao
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Aaron Shilo
 
Cluster Health Advisor (CHA) Deep Dive by Mark Scardina
Cluster Health Advisor (CHA)  Deep Dive by Mark ScardinaCluster Health Advisor (CHA)  Deep Dive by Mark Scardina
Cluster Health Advisor (CHA) Deep Dive by Mark ScardinaMarkus Michalewicz
 
Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020Anil Nair
 

Mais procurados (20)

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...
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
 
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
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret Internals
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLON
 
One PDB to go, please!
One PDB to go, please!One PDB to go, please!
One PDB to go, please!
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
 
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
 
Fast Start Failover DataGuard
Fast Start Failover DataGuardFast Start Failover DataGuard
Fast Start Failover DataGuard
 
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
 
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 1
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 1Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 1
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 1
 
Database Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitectureDatabase Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant Architecture
 
Oracle Transparent Data Encryption (TDE) 12c
Oracle Transparent Data Encryption (TDE) 12cOracle Transparent Data Encryption (TDE) 12c
Oracle Transparent Data Encryption (TDE) 12c
 
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
 
MAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19c
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratop
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
 
Cluster Health Advisor (CHA) Deep Dive by Mark Scardina
Cluster Health Advisor (CHA)  Deep Dive by Mark ScardinaCluster Health Advisor (CHA)  Deep Dive by Mark Scardina
Cluster Health Advisor (CHA) Deep Dive by Mark Scardina
 
Presentation 12c pdb
Presentation 12c pdbPresentation 12c pdb
Presentation 12c pdb
 
Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020
 

Semelhante a 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
 

Semelhante a 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-...
 

Mais de 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
 
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
 
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
 

Mais de Satishbabu Gunukula (14)

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
 
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
 
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
 

Último

Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven CuriosityUnlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven CuriosityHung Le
 
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...David Celestin
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...amilabibi1
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoKayode Fayemi
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Baileyhlharris
 
Digital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of DrupalDigital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of DrupalFabian de Rijk
 
Zone Chairperson Role and Responsibilities New updated.pptx
Zone Chairperson Role and Responsibilities New updated.pptxZone Chairperson Role and Responsibilities New updated.pptx
Zone Chairperson Role and Responsibilities New updated.pptxlionnarsimharajumjf
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIINhPhngng3
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar TrainingKylaCullinane
 
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdfSOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdfMahamudul Hasan
 
Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatmentnswingard
 
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...ZurliaSoop
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfSkillCertProExams
 
Introduction to Artificial intelligence.
Introduction to Artificial intelligence.Introduction to Artificial intelligence.
Introduction to Artificial intelligence.thamaeteboho94
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lodhisaajjda
 

Último (17)

Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven CuriosityUnlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
 
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Bailey
 
ICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdfICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdf
 
Digital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of DrupalDigital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of Drupal
 
Zone Chairperson Role and Responsibilities New updated.pptx
Zone Chairperson Role and Responsibilities New updated.pptxZone Chairperson Role and Responsibilities New updated.pptx
Zone Chairperson Role and Responsibilities New updated.pptx
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio III
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdfSOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
 
in kuwait௹+918133066128....) @abortion pills for sale in Kuwait City
in kuwait௹+918133066128....) @abortion pills for sale in Kuwait Cityin kuwait௹+918133066128....) @abortion pills for sale in Kuwait City
in kuwait௹+918133066128....) @abortion pills for sale in Kuwait City
 
Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatment
 
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
 
Introduction to Artificial intelligence.
Introduction to Artificial intelligence.Introduction to Artificial intelligence.
Introduction to Artificial intelligence.
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.
 

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.

Notas do Editor

  1. 1