2

I have a Database with Transparent Data Encryption enabled across tablespaces. We have a storage appliance we're using RMAN to backup to which has native encryption, deduplication and compression enabled by default. Since the backup sets are currently encrypted, we lose out on the compression and dedup features of the appliance, costing us MUCH more in disk than expected.

Is it possible to create a non-encrypted backup a TDE-encrypted tablespace using RMAN?

I've been reading through the RMAN docs, Oracle support site, and as many other web articles I have been able to find but have yet to find anything helpful.

Thanks for any assistance or advice!

1 Answer 1

1

RMAN makes binary copies of the files, so you can't really not include the TDE, though you can do incremental backups with block change tracking to keep them as small as possible. See here: https://docs.oracle.com/en/database/oracle/oracle-database/19/bradv/rman-backup-concepts.html#GUID-16069217-F44A-45BF-BAE6-774B99155E3A

Also note that TDE provides a different level of protection than the device-level encryption and deduplication on your storage device. The device-level encryption only prevents someone from stealing the device, since files would be decrypted transparently as they are presented to the server OS. By comparison, TDE prevents someone from stealing and decrypting an individual file from the device through a server OS, using a conventional file transfer method like sftp.

If you have a reason - or more likely a requirement - to encrypt at the file level and not just at the device level, then disabling TDE on your backups - even if it could be done - would be a complete abandonment of your data protection policy. Best practice says that your backups should receive at least the same level of protection as your live data files, since backups are often moved off site or to non-production environments and considered easier to steal.

2
  • Thanks! Great info. We do have encryption enabled for our offsite backups so we're ok there. From what I understand the ExaData appliances have TDE turned on by default. Commented Aug 6, 2022 at 15:20
  • Yes, Exadata uses TDE by default; they also use their own storage services, so deduplication isn't an issue, and compression is handled through the database, not the server OS or storage devices.
    – pmdba
    Commented Aug 7, 2022 at 3:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.