Using encryption with data pump
Table or full database dumps can also be a major source of information theft in case it is not protected. Oracle also provides encryption options for data pump exports using TDE or passwords. In this recipe we will generate dumps by exporting the HR
schema using different encryption options. Next, we will import each dump by remapping the tablespace USERS
to the tablespace ENCRYPTED_TBS
, and using related options.
Getting ready
All steps will be performed on the database HACKDB
.
How to do it...
- Create a directory
/security/datapump
for dumps and change its ownership to the useroracle
:mkdir –p /backup/datapump chown oracle:oinstall /backup/datapump
- Connect as the user
system
and create an oracle directory mapped ...
Get Oracle 11g Anti-hacker's Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.