![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||
Solution Type Predictive Self-Healing Sure Solution 2123358.1 : Oracle Database Appliance (ODA): Backing Up Oracle Databases on ODA to Oracle Cloud
Backing up databases on Oracle Database Appliance (ODA) to Oracle Cloud Storage Applies to:Oracle Database Appliance - Version All Versions to All Versions [Release All Releases]Linux x86-64 PurposeThis document details the steps required to backup Oracle databases running on ODA to Oracle Cloud. DetailsNOTE:You need subscription or trial account for Oracle Database Backup Cloud Service or Oracle Storage Cloud Service. STEPS: 1. Download the Oracle Cloud Backup Module (OCBM) from OTN: 2. Copy the 'opc_install.zip' file to the ODA server. 3. Unzip the 'opc_install.zip' file on the ODA server. It will extract 2 files: [oracle@myoda1n1 tmp]$ unzip opc_installer.zip 4. Install Oracle Cloud Backup Module using the following command. [oracle@myoda1n1 ~]$ java -jar /tmp/opc_install.jar -serviceName Storage -identityDomain usoracle07396 -opcId <userid> -opcPass <password> -l -walletDir $ORACLE_HOME/dbs/opc_wallet -libDir $ORACLE_HOME/lib
NOTE: If ORACLE_HOME & ORACLE_SID is not set when running the above command, please specify the "-configFile" option to explicitly provide the name of the initialization parameter file that will be created. For a complete list of available options, please review the 'opc_readme.txt' file extracted in step 3.
The installation of the OCBM does the following:
5. Configure RMAN Settings. [oracle@myoda1n1 ~]$ echo $ORACLE_SID Recovery Manager: Release 12.1.0.2.0 - Production on Fri Apr 1 09:43:10 2016 Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved. connected to target database: PRODDB (DBID=647811132) RMAN> configure channel device type sbt using target database control file instead of recovery catalog RMAN> show all; using target database control file instead of recovery catalog 6. Enable Encryption For RMAN Backups (required). If you are using an Oracle Wallet (called Keystore in Oracle 12c), you can configure encryption in RMAN settings so that all backups are encrypted. RMAN> CONFIGURE ENCRYPTION FOR DATABASE ON;
If Oracle Wallet is not configured, enable the password encryption using the following command in each RMAN session. RMAN> SET ENCRYPTION ON IDENTIFIED BY "<password>" ONLY';
If encryption is not enabled, RMAN backups to Oracle Cloud will fail with the following message: ORA-27030: skgfwrt: sbtwrite2 returned error
ORA-19511: Error received from media manager layer, error text: KBHS-01602: backup piece 06q9ddqb_1_1 is not encrypted 7. Enable Compression (optional). Optionally, you can enable RMAN backup compression. MEDIUM compression is recommended. RMAN> CONFIGURE COMPRESSION ALGORITHM 'MEDIUM';
8. Once these settings are in place, you can perform the RMAN backup as desired. For example: RMAN> SET ENCRYPTION ON IDENTIFIED BY 'mypassw0rd' ONLY; executing command: SET encryption RMAN> BACKUP DEVICE TYPE SBT AS COMPRESSED BACKUPSET DATABASE PLUS ARCHIVELOG FORMAT '%U';
References<NOTE:1640149.1> - Oracle Database Backup Service - FAQAttachments This solution has no attachment |
||||||||||||
|