Backing Up to Oracle Database Backup Cloud Service Using Dual-Mode Encryption
You can use dual-mode encryption to back up to Oracle Database Backup Cloud Service. Dual-mode encryption is a combination of password encryption and Transparent Data Encryption (TDE).
Prerequisites
See Prerequisites for Backups and Restores with Oracle Database Backup Cloud Service for prerequisites.
Procedure
-
Enable encryption using the
SET ENCRYPTION
command.If TDE is configured for the Oracle database you're backing up, omit the
ONLY
keyword with theSET ENCRYPTION
command to indicate the backup is protected with both a password and the configured transparent encryption. -
Back up the database using the
BACKUP DATABASE
command. Include archived redo log files, if required.
Note:
If you forget or lose the password, you won’t be able to restore the backup.
For information about restoring and recovering backups, see Restoring Backups from Oracle Database Backup Cloud Service.
The following commands create a back up of the entire database by using dual-mode encryption.
RMAN> SET ENCRYPTION ON IDENTIFIED BY 'my_pswd';
RMAN> BACKUP DEVICE TYPE sbt DATABASE;