Backing Up to Oracle Database Backup Cloud Service Using Password Encryption
You can use password encryption to back up to Oracle Database Backup Cloud Service. The password must be specified each time you back up and restore.
Prerequisites
See Prerequisites for Backups and Restores with Oracle Database Backup Cloud Service for prerequisites.
Procedure
- Specify the password that must be used to encrypt backups. Use the
SET ENCRYPTION
command. - 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.
The following example configures password encryption for the backup and creates a backup of the entire database:
RMAN> SET ENCRYPTION ON IDENTIFIED BY 'my_pswd' ONLY;
RMAN> BACKUP DEVICE TYPE sbt DATABASE;
For information about restoring and recovering backups, see Restoring Backups from Oracle Database Backup Cloud Service.