How do I export with sensitive user data encrypted?

My need for Organization sent prod database backup dump to a client, but want me to encrypt a user password and some data.

What expdp parameter can do that?

Or anyway that I can do?

Thanks in advance.

To show you how export and import be encrypted at a level very basic here is an example of export database orcl (source) schema rmanencrypt to devorcl (target database)

Export encrypted schema 'rmanencrypt '.

Source Database

[oracle@localhost ~]$ expdp \'/as sysdba\' DIRECTORY=DATA_PUMP_DIR DUMPFILE=encrypted.dmp schemas=rmanencrypt LOGFILE=encrypted.log ENCRYPTION=ALL ENCRYPTION_PASSWORD=foobar

Export: Release 11.2.0.3.0 - Production on Wed Jan 11 11:21:47 2012

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "SYS"."SYS_EXPORT_SCHEMA_01":  "/******** AS SYSDBA" DIRECTORY=DATA_PUMP_DIR DUMPFILE=encrypted.dmp schemas=rmanencrypt LOGFILE=encrypted.log ENCRYPTION=ALL ENCRYPTION_PASSWORD=********
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 128 KB
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
. . exported "RMANENCRYPT"."D"                           5.945 KB       4 rows
. . exported "RMANENCRYPT"."E"                           8.578 KB      14 rows
Master table "SYS"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
******************************************************************************
Dump file set for SYS.SYS_EXPORT_SCHEMA_01 is:
  /home/oracle/app/oracle/admin/orcl/dpdump/encrypted.dmp
Job "SYS"."SYS_EXPORT_SCHEMA_01" successfully completed at 11:22:36

In the target database, that this scheme there.

SQL> r
  1  select username from dba_users
  2* where username='RMANENCRYPT'

no rows selected

Now import the backup first, giving a wrong password.

[oracle@localhost dpdump]$ impdp \'/as sysdba\' DIRECTORY=DATA_PUMP_DIR DUMPFILE=encrypted.dmp ENCRYPTION_PASSWORD=fooba

Import: Release 11.2.0.3.0 - Production on Wed Jan 11 11:27:31 2012

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39002: invalid operation
ORA-39176: Encryption password is incorrect.

Now with the correct password

[oracle@localhost dpdump]$ impdp \'/as sysdba\' DIRECTORY=DATA_PUMP_DIR DUMPFILE=encrypted.dmp ENCRYPTION_PASSWORD=foobar

Import: Release 11.2.0.3.0 - Production on Wed Jan 11 11:27:47 2012

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SYS"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "SYS"."SYS_IMPORT_FULL_01":  "/******** AS SYSDBA" DIRECTORY=DATA_PUMP_DIR DUMPFILE=encrypted.dmp ENCRYPTION_PASSWORD=********
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
. . imported "RMANENCRYPT"."D"                           5.945 KB       4 rows
. . imported "RMANENCRYPT"."E"                           8.578 KB      14 rows
Job "SYS"."SYS_IMPORT_FULL_01" successfully completed at 11:27:58

SQL> conn rmanencrypt/rmanencrypt
Connected.

SQL> select * from tab; 

TNAME                          TABTYPE  CLUSTERID
------------------------------ ------- ----------
D                              TABLE
E                              TABLE

HTH.

Kind regards
NORTH CAROLINA

Tags: Database

Similar Questions

  • View: Non-persistent Desktop with persistent user data

    We need to have a non persistent desktop which has a small persistent area (separate drive?), where the user profiles are stored.  Our goal is to have the stay of software/OS in a non persistent state but allow for user profiles to be created/saved on the computer.  Did someone do something similar to what could be useful in pointing me in the right direction?

    Thank you!

    Not persistent are ment to do exactly that.  As suggested must be addressed on a profile management system, you could probably get by with roaming profiles provided that you keep some controls tightened on them.

    Alternatively, you can use a pool of persistent by using user data disks and use the "Refresh OS disk on logoff" setting set to 'Always' or 'all the X days '.  That mimics a non-persistent pool without the need for some other profile management.

  • How to create personalized with a dynamic date stamps

    I tried to create a customized with a dynamic date stamp. But the date is not dynamic. Help, please

    There are a number of things that need to be properly configured for a stamp to work as a dynamic stamp, form the name of template to the calculation script. If you provide the details of how you set the PDF stamp, it would be useful, as would the next book that has all the information you need: www.amazon.com/About-Stamps-Acrobat® - without paper-Workflows/dp/0985614706 /.

  • How to recover the backup of user data DVD

    Windows 7 Home Edition premium, I did a backup of the user data at 25 DVD before restoring the original operating system from the recovery partition.  Now I want to restore data from the DVD. I can't find anything in the title of recovery and restoration. but I found an EXE called RecoveryMrg on the 1st DVD.  By clicking on it, I get an hourglass when I put the cursor on the window of the files on the dvd.

    He suggested in another post on the forum this should take a while. Well, it has been a few hours.

    In the resource monitor DISK tab, I don't see any activity for the DVD player. (But I don't know that it should show op it)

    Is that long normally? Or it's the wrong way to restore files of the user?

    Thank you

    I'm glad you had your important data stored on your computer!
    The HP_TOOLS partition contains the recovery image. If you have recovery media (DVD/USB), then it is not necessary to have this partition to restore your system to the factory settings. If you want to restore, you will need perform an HP recovery to factory settings.

    I hope this helps.

  • How to Documents and settings\All Users Data\ in Vista?

    I'm doing a game "cheats" and he said: go to "Documents and Settings\All Users\Aplication Data\... "How to this area? I think I have to go to the "C:" prompt, but I do not remember how to get there. Thank you

    The Documents and Settings folder has been moved to C:\Users\...

  • Preselect country, title etc. with the user data

    I have a page on my Web site for user account information, name, address, e-mail, etc.. And I managed to use modules such as {module_homeaddress} so that their saved information is displayed in the form field using the value = "" function. " I wonder if I can do it with drop-down lists for the country and the title etc. At best, I did < value of option '{module_homecountry}' > - select this option to change - < / option >, but it isn't look great and is unclear what is recorded.

    It goes the same for newsletter subscription boxes.

    Thank you.

    Hey Liam,.

    Fastest thing - put details screen to update on a page, look at how he runs the country from the drop-down lists and filling based on CRM input

  • How to stay active with 2 users at a time without getting other disconnected?

    Hello
    How can I stay active on 2 users both in Vista Ultimate sp2. Because when I change user I noticed that another be disconnected in the user list task manager. I tried fasting method of switching, but it was not useful. Can someone kindly help me on this? I want to just turn on 2 user like windows xp pro account.

    Hi Strang3r007,

    While testing on Windows vista and Windows XP computers, I was not able to get a difference. On both computers when you use the option of users switch it will quote only the status of the user as disconnected in the task manager that does not mean that the user account is disconnected.

    Please let us know how it works under Windows XP computer as you said.

    Fast user switching will keep the user to other programs of accounts that run in the background and is the only option. And the Task Manager does not display users running other programs.

  • How to share programs with all users?

    I created standard user profiles in Wondows 7 Home premium to my children more couple other users, but they cannot see or use one of the programs that I have installed under my account admin; like MS Office, Itunes, etc. etc.

    Could someone please help me understand how I do all visible programs to all users because there seems to be not having only two options when you set up a user account.

    I myself remember that maybe I should have selected an option during the installation of the program (MS Office, Itunes etc.) ' allow access to all users ', but do not see this option during installation.

    It's my first experience of the user windows 7 having worked on XP pro.

    Thanks for any help, support or advice.

    You have selected the option to install the programs only for the current user and all users. Otherwise, all users would have the program shortcut icons on their Menus start. You can add these shortcuts to the Start Menu > all programs by placing them from all users start menu.

    http://www.howtogeek.com/HOWTO/6463/stupid-geek-tricks-how-to-open-the-start-menu-folder-in-Windows-7/

    Right click on the "All programs" button from the Start Menu and choose 'Open' to get user-specific Start Menu folder. Choose "Open All Users" to download the file of the start - the system-wide Menu.

    %Appdata%\Microsoft\Windows\Start Menu folder or user-specific and
    C:\ProgramData\Microsoft\Windows\Start Menu for all users. MS - MVP - Elephant Boy computers - don't panic!

  • How can I start with administrator user accounts in Win 8 if I have the standard account?

    I have a standard account and an active account manager. I need administrator privileges to manage some apps, such as Iolo System and so for...

    I would like to know how to access this two accounts alternately.

    Thank you

    Hello

    Please go back and let us know the status of the issue.

    Your Microsoft account is an administrator account or a standard account?

  • name the file exported with date

    Hi, I use this command to export my schema

    exp file = c:\expdat.dmp med/med

    I think that if I use the same command over and over again, it will replace the old file with the new one? right?

    2. I want to name the file exported with the sysdate (date and time)? , and I think it's a way to create a new file and does not replace the old file.

    Thank you

    Here is an example of adding a date for a file name:

    > exp med/med file=c:\expdat.%date:~10,4%%date:~7,2%%date:~4,2%.dmp

    To add as a data and once, you just need something based on time that is unique, so try something like:

    > exp med/med file=c:\expdat.%date:~10,4%%date:~7,2%%date:~4,2%.%time:~1,1%%time:~3,2%%time:~6,2%%time:~9,2%.dmp

  • How to get help with Add ons and extensions that stop working

    I have saved passwords and it has stopped working. It's so hard to get help with Moxilla

    rosemarybales said

    I still don't know why the extension button passwords saved with the key icon has stopped working.

    This button displays the saved passwords in Firefox's built-in password manager, is no separate passwords that record you in Dashlane. Can you save passwords in both places? (Well, I guess you do.)

    I have a guess on why it has stopped working. Firefox 40 has some changes to how extensions can work with the user interface, so quite a few extensions that have been more than one year must be updated for Firefox 40. It has been updated on January 10, 2012.

    Anyway, the way of 'long' to display the passwords saved in Firefox is through the Options page, the Security Panel, the saved passwords button.

  • How can we export itno csv data file for oracle forms

    Hello

    How can we export itno csv data file for oracle forms

    For example. I have the block called A.what never the data displayed on a block, when I click on a button, displays the block data, must be exported to the csv file.

    My application is running on the unix operating system.

    Please help on this.

    First of all.  What is your version of forms (for example: 11.1.2.2.0 not 11g).  Finally, who will use the .csv file?  If it is a user on their client computer - CLIENT_TEXT_IO TEXT_IO or WebUtil are standard packages used to export data to a file of Oracle Forms.

    The amount of data to be exported?  If you export only a couple hundred lines - export of Froms will be OK.  If you export more lines than that (300 + lines) then the export will be extremely slow to your username.  Keep in mind that forms is not designed to perform data exports - there are better tools available for this...

    Craig...

  • How do I export data from one day to backup disk.

    Hi all

    Here we have a requirement like, we need to download the data from one day to the external drive and we must compire the exported data and the data in the table.
    I googled and I have discovered that using expdp command we can export the table content, but my Question is how do I export data from one day. My table having 2 years of data and I need download the data of only one day.

    expdp scott/tiger@db10g tables = EMP, DEPT = TEST_DIR dumpfile = EMP_DEPT.dmp expdpEMP_DEPT.log = logfile directory

    Can someone tell me how to download data from one day to the table & compare data exported with the data in the table. (I know both exported and data of the table data will be the same that we are downloading data of the actual table, but for tests, I need to know how to compare).


    Thank you
    Sree

    However, I do not understand the scenario but here is a way to compare:
    (1) change the name of the table newly created in another name
    (2) import the exported file once again

    you will have the same data in both tables

  • How to share the library with multiple users?

    I have a Mac Pro 2008.  I have four internal hard drives.  One of them is an SSD that is my boot drive.  I have another internal drive that houses my music and movies (2 TB).

    I have four different connections - mine (admin), my wife, my son, my daughter.

    How can I share music on (2 TB) library with other users?  I read to the music folder (shared) - however since the 2 TB is not a boot disc, there is no shared folder.

    You try to share an iTunes library, or the drive contains just music files.

    Other users can see the drive, or simply don't have access to the records.

  • How can I export images from Photos with Lightroom or Photoshop?

    How can I export images from Photos with Lightroom or Photoshop?

    Use the file ➙ export Original unmodified for Photos X menu option.

Maybe you are looking for

  • Installed updates available every day

    My PC asks me if I want to download updates 5 same again and again. I keep saying downloads are successful and I look at the history of downloads and they are there. But my PC still keeps asking me over and over again of downloadSecurity update for W

  • Can not update anything. 8024A 000, E_UNEXPECTED (0x8000fff) error codes and much more.

    I'm having a lot of problems with Vista that I suspect may be related. I just replaced my drive hard and, using system recovery on my computer DVD, managed to reinstall Windows Vista on the new drive. However, I don't seem to be able to run Windows U

  • decommissioning of package installed windows 7

    I recently rebooted windows 7 on my wife and my own computers dell laptops. I chose ultimate pro for two machines, but his machine did not accept the product key and is him asking to activate. Y at - it a shortcut to push back on his machine to the v

  • authentication Microsoft Active Directory iDRAC 7

    Hello I installed Microsoft Active Directory on iDRAC 7 with some very basic options (no certificate, no Single Sign-On, not Kerberos Keytab, the Standard schema). Everything works fine. The problem is that we have 2 forests with full trust configure

  • Serial number for photoshop elements Prime Minister 11 free download

    There are a number of sites offering free download of the first 11 elements.  I can't install because I don't have a serial number.  Someone knows a way to get a.  Adobe has said that I have to buy.