EXPDP and IMPDP from existing database to new 'scratch' database

Hi All,
THis is the first time i'm trying to export and import (using datapump) from one database into a brand spanking new database.
Source/Target OS - WIndows 2008 R2 Standard
Source/Target - Oracle 11G Release 2 (same patch updates - 11.2.0.3.3)
I took a full expd of the source database.
I created the same directory structure on the target as the source. I created an empty database on the target server with the same name as the source.
I am trying to use impdp to import this full export into the target database, with the end goal being everything is the same on the target as it is on the source (users, tablespaces, data, schemas, etc...).
I am running into some errors (object already exists, a few others to mention). But my question is, is this a proper way of copying a database from one server to a new server?
Thanks in advance

Thanks, here are some of the errors i've received:
ORA-31684: Object type ROLE:"HS_ADMIN_EXECUTE_ROLE" already exists
ORA-39111: Dependent object type OBJECT_GRANT:"ORDDATA" skipped, base object type SEQUENCE:"ORDDATA"."ORDDCM_DICT_A_DA_ID_SEQ" already exists
ORA-39082: Object type TRIGGER:"M_SYS"."MVP_OPD_D_TRG" created with compilation warnings
Cannot set an SCN larger than the current SCN. If a Streams Capture configuration was imported then the Apply that processes the captured messages needs to be dropped and recreated. See My Oracle Support article number 1380295.1.Table "SYSTEM"."DEF$_DEFAULTDEST" exists. Data will be appended to existing table but all dependent metadata will be skipped due to table_exists_action of append
ORA-31693: Table data object "SYSMAN"."MGMT_SYSTEM_PERFORMANCE_LOG" failed to load/unload and is being skipped due to error:
ORA-29913: error in executing ODCIEXTTABLEFETCH callout
ORA-02291: integrity constraint (SYSMAN.MGMT_SYSTEM_PERFORMANCE_LOG_FK) violated - parent key not found
ORA-31693: Table data object "ORDDATA"."ORDDCM_DOCS" failed to load/unload and is being skipped due to error:
ORA-29913: error in executing ODCIEXTTABLEFETCH callout
ORA-00001: unique constraint (ORDDATA.ORDDCM_DOCS_PK) violated
ORA-39082: Object type TRIGGER:"M_SYS"."M_US_PRIVS_TRG" created with compilation warnings
...and then the logfile finishes with this:
Job "SYS"."SYS_IMPORT_FULL_01" completed with 6542 error(s) at 12:56:31

Similar Messages

  • How do I download my music and photos from existing iPad to new iphone

    How do I download music and photos from existing iPad to new iphone

    Perform a backup to iTunes from the old device and then a restore to the new device, use ITunes to do this.  BTW, always sync photos to a computer to store them safely (use iPhoto on a mac or to a designated folder on a PC).  Never trust an iOS device to keep photos without having them synced to a computer.

  • How to use expdp and impdp in oracle 12c on a pluggable database

    Hi,
    I have a pluggable database in a container DB. I have to use expdp to export a table and later import the table into another pluggable database.
    How can i tell expdp to which pluggable database I want to connect?
    Thanks,
    Sarayu

    Then
    1. Add newpdb to  tnsnames.ora ?
    2. connect to pluggable database create a directory.
    sqlplus sys/<password>@newpdb as sysdba
    create or replace directory exp_dir as '/u01/app';
    grant read, write on directory exp_dir to scott;
    3. export emp table of scott user.  -- with sys user
    expdp directory=exp_dir dumpfile=TDUMP.DMP TABLES='SCOTT'.'EMP'
    username: sys@newpdb as sysdba
    password: <password>
    Regards
    Mahir M. Quluzade
    Paste here result.

  • Expdp and impdp from 10.1.0.4 to 11.2.0.3

    On Oracle 10.1.0.4, I made a data pump as system user:
    sql> CREATE OR REPLACE DIRECTORY TEST_DIR AS 'C:\test';
    C:\> expdp system/********@BDSPROD FULL=Y directory=TEST_DIR dumpfile=BDSPROD.dmp logfile=expdpbdsprod.log On another server with Oracle 11.2.0.3, I tried to make impdp. There is a database with same name and structure of BDSPROD:
    sql> CREATE OR REPLACE DIRECTORY TEST_DIR AS 'C:\test';
    C:\test>impdp system/oracle@bdsprod full=Y directory=test_dir dumpfile=c:\test\bdsprod.dmp
    Import: Release 11.2.0.3.0 - Production on Mon Oct 29 14:45:08 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
    Connected to: Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-39088: file name cannot contain a path specification

    In the impdp command argument dumpfile doesnt need to have full path. You do have directory argument specified so just do:
    impdp system/oracle@bdsprod full=Y directory=test_dir dumpfile=bdsprod.dmp

  • Move all data from one database to other using oracle expdp and impdp tool

    I need to move all of the data from one database to another. For that I am using oracle expdp and impdp tool.
    I have the full database export dump file. I moved that dump file to my other database.
    Now when I try to use impdp tools it gives lots of error regarding path mismatch,user not exists, role not exists.
    As my datafile path of source database does not match with the target database path , also the users are not there in target database. I dont want to create all the tablespaces that in my source database as there are 82 tablespaces.Is there any way by which I can move my all data without using remap option for tablespaces or users and grants.

    The FULL parameter indicates that a complete database export is required. The following is an example of the full database export and import syntax.
    The user must have the privielge of EXP_FULL_DATABASE
    expdp system/password@db10g full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=expdpDB10G.log
    impdp system/password@db10g full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=impdpDB10G.logGO through below linkfor more details...
    http://www.oracle-base.com/articles/10g/OracleDataPump10g.php
    Regards
    Umi
    Edited by: Umi on Feb 4, 2011 2:27 AM

  • Full expdp and impdp: one db to another

    Hi! Good Day!
    I Would like to ask for any help regarding my problem.
    I would like to create a full export of one database to and import it on another database. This 2 database are on a separate machines.
    I am trying to use the expdp and impdp tool to do this task. However, i have been experiencing some problems during the import task.
    here is the detail of my problems:
    When i try to impdp the dump file, it seems that i was not able to iimport the user's data and metadata.
    Here is the exact command that i've used during the import and export task:
    export (server #1)
    expdp user01/******** directory=ora3_dir full=y dumpfile=db_full%U.dmp filesize=2G parallel=4 logfile=db_full.log
    import (server #2)
    impdp user01/******** directory=ora3_dir dumpfile=db_full%U.dmp full=y log=db_full.log sqlfile=db_full.sql estimate=blocks parallel=4
    here is the log that was generated during the impdp running:
    Import: Release 10.2.0.1.0 - 64bit Production on Friday, 27 November, 2009 17:41:07
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    Master table "SSMP"."SYS_SQL_FILE_FULL_01" successfully loaded/unloaded
    Starting "SSMP"."SYS_SQL_FILE_FULL_01": ssmp/******** directory=ora3_dir dumpfile=ssmpdb_full%U.dmp full=y logfile=ssmpdb_full.log sqlfile=ssmpdb_full.sql
    Processing object type DATABASE_EXPORT/TABLESPACE
    Processing object type DATABASE_EXPORT/PROFILE
    Processing object type DATABASE_EXPORT/SYS_USER/USER
    Processing object type DATABASE_EXPORT/SCHEMA/USER
    Processing object type DATABASE_EXPORT/ROLE
    Processing object type DATABASE_EXPORT/GRANT/SYSTEM_GRANT/PROC_SYSTEM_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/GRANT/SYSTEM_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/ROLE_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/DEFAULT_ROLE
    Processing object type DATABASE_EXPORT/SCHEMA/TABLESPACE_QUOTA
    Processing object type DATABASE_EXPORT/RESOURCE_COST
    Processing object type DATABASE_EXPORT/SCHEMA/DB_LINK
    Processing object type DATABASE_EXPORT/TRUSTED_DB_LINK
    Processing object type DATABASE_EXPORT/SCHEMA/SEQUENCE/SEQUENCE
    Processing object type DATABASE_EXPORT/SCHEMA/SEQUENCE/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type DATABASE_EXPORT/DIRECTORY/DIRECTORY
    Processing object type DATABASE_EXPORT/DIRECTORY/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type DATABASE_EXPORT/DIRECTORY/GRANT/CROSS_SCHEMA/OBJECT_GRANT
    Processing object type DATABASE_EXPORT/CONTEXT
    Processing object type DATABASE_EXPORT/SCHEMA/PUBLIC_SYNONYM/SYNONYM
    Processing object type DATABASE_EXPORT/SCHEMA/SYNONYM
    Processing object type DATABASE_EXPORT/SCHEMA/TYPE/TYPE_SPEC
    Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PRE_SYSTEM_ACTIONS/PROCACT_SYSTEM
    Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/POST_SYSTEM_ACTIONS/PROCACT_SYSTEM
    Processing object type DATABASE_EXPORT/SCHEMA/PROCACT_SCHEMA
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/PRE_TABLE_ACTION
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/GRANT/CROSS_SCHEMA/OBJECT_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/INDEX/INDEX
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/COMMENT
    Processing object type DATABASE_EXPORT/SCHEMA/PACKAGE/PACKAGE_SPEC
    Processing object type DATABASE_EXPORT/SCHEMA/PACKAGE/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/FUNCTION/FUNCTION
    Processing object type DATABASE_EXPORT/SCHEMA/FUNCTION/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/PROCEDURE/PROCEDURE
    Processing object type DATABASE_EXPORT/SCHEMA/PROCEDURE/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/FUNCTION/ALTER_FUNCTION
    Processing object type DATABASE_EXPORT/SCHEMA/PROCEDURE/ALTER_PROCEDURE
    Processing object type DATABASE_EXPORT/SCHEMA/VIEW/VIEW
    Processing object type DATABASE_EXPORT/SCHEMA/VIEW/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/VIEW/GRANT/CROSS_SCHEMA/OBJECT_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/VIEW/COMMENT
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type DATABASE_EXPORT/SCHEMA/PACKAGE_BODIES/PACKAGE/PACKAGE_BODY
    Processing object type DATABASE_EXPORT/SCHEMA/TYPE/TYPE_BODY
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/STATISTICS/TABLE_STATISTICS
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/POST_TABLE_ACTION
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TRIGGER
    Processing object type DATABASE_EXPORT/SCHEMA/VIEW/TRIGGER
    Processing object type DATABASE_EXPORT/SCHEMA/JOB
    Processing object type DATABASE_EXPORT/SCHEMA/DIMENSION
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/POST_INSTANCE/PROCACT_INSTANCE
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/POST_INSTANCE/PROCDEPOBJ
    Processing object type DATABASE_EXPORT/SCHEMA/POST_SCHEMA/PROCOBJ
    Processing object type DATABASE_EXPORT/SCHEMA/POST_SCHEMA/PROCACT_SCHEMA
    Job "SSMP"."SYS_SQL_FILE_FULL_01" successfully completed at 17:43:09
    Thank you in advance.

    I believe there are lines like that in the export log.
    here's an extract from the log file:
    Processing object type DATABASE_EXPORT/SCHEMA/VIEW/TRIGGER
    Processing object type DATABASE_EXPORT/SCHEMA/JOB
    Processing object type DATABASE_EXPORT/SCHEMA/DIMENSION
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/POST_INSTANCE/PROCACT_INSTANCE
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/POST_INSTANCE/PROCDEPOBJ
    Processing object type DATABASE_EXPORT/SCHEMA/POST_SCHEMA/PROCOBJ
    Processing object type DATABASE_EXPORT/SCHEMA/POST_SCHEMA/PROCACT_SCHEMA
    . . exported "SSMP"."SMALLBOX" 450.2 MB 2489790 rows
    . . exported "SSMP"."LTCONFSB" 397.9 MB 3122899 rows
    . . exported "SSMP"."INFRJCT" 317.3 MB 3615810 rows
    . . exported "SSMP"."ICTEST1" 202.5 MB 789618 rows
    . . exported "SSMP"."EQUIPERF" 315.3 MB 3008636 rows
    . . exported "SSMP"."INFOPE2" 190.7 MB 569039 rows
    . . exported "SSMP"."SMALLBSB" 189.8 MB 2659468 rows
    . . exported "PRS1"."STKDTLOLD" 193.4 MB 983322 rows
    . . exported "SSMP"."ICTEST11" 185.2 MB 553916 rows
    . . exported "PRS1"."PURCHASE" 166.5 MB 122787 rows
    . . exported "SSMP"."JIGREC" 183.5 MB 2664488 rows
    . . exported "SSMP"."SALES" 112.4 MB 294134 rows
    . . exported "SSMP"."P_INFOPE" 160.4 MB 485773 rows
    . . exported "SSMP"."CIOP" 128.1 MB 385160 rows
    . . exported "SSMP"."SMALLBOX2" 126.0 MB 589964 rows
    . . exported "SSMP"."SHIPOUT" 123.4 MB 281778 rows
    . . exported "SSMP"."INFHISTORY" 129.9 MB 786844 rows
    . . exported "SYSMAN"."MGMT_TARGETS" 14.90 KB 11 rows
    . . exported "SSMP"."LOGCNT" 4.937 KB 1 rows
    . . exported "SSMP"."WEEKINF" 45.07 KB 700 rows
    . . exported "SSMP"."DEPTNM" 12.33 KB 81 rows
    . . exported "SSMP"."WFRID" 5.953 KB 2 rows
    . . exported "SSMP"."MATDTLS" 85.53 KB 199 rows
    . . exported "SSMP"."ICRATTACH" 9.257 KB 11 rows
    . . exported "SSMP"."WIP2" 20.34 KB 67 rows
    . . exported "SSMP"."MATINFO" 17.83 KB 43 rows
    . . exported "SSMP"."ICRFAPP" 11.48 KB 11 rows
    . . exported "SSMP"."WMXINF" 43.60 KB 500 rows
    . . exported "SSMP"."MLDMACHINE" 32.30 KB 228 rows
    . . exported "SSMP"."ICRNAME" 10.48 KB 23 rows
    . . exported "SSMP"."XLODCNT" 4.937 KB 1 rows
    . . exported "SSMP"."IJPLODCNT" 5.234 KB 1 rows
    . . exported "SSMP"."MONTHINF" 14.67 KB 152 rows
    . . exported "SSMP"."YYSTMP" 15.57 KB 59 rows
    . . exported "SSMP"."MPRICE" 39.95 KB 365 rows
    . . exported "SYSMAN"."ESM_COLLECTION" 8.585 KB 91 rows
    . . exported "SSMP"."INFCHKSHT" 6.406 KB 4 rows
    . . exported "SSMP"."MRKLNO" 4.929 KB 1 rows
    . . exported "SSMP"."JPNMARK" 5.890 KB 2 rows
    . . exported "SSMP"."LODCNT" 4.921 KB 1 rows
    . . exported "SSMP"."MRPNAME" 29.73 KB 310 rows
    . . exported "SYSMAN"."EXPORT000381" 49.68 KB 244 row

  • Expdp and impdp  doubt

    hello frnds ,
    I have a expdp dumpfile of a schema from linux ES4 server ,oracle 10 g
    can I use above server dumpfile and impdp in solaris 10 ,oracle 10 g database ..is it possible ?
    thanks

    A corrupted dump file would almost certainly generate a different error message. Either the import utility will blow up when it encountered an invalid header or it will abort in the middle of the import when corruption is found. The error message you're receiving does not indicate that your dump file is corrupt.
    There is no way to validate a dump file short of trying to import it.
    I hope that you are doing a daily export as a supplement to a proper backup not as a replacement for a physical backup. If you're not doing a physical backup, you really want to do so-- export is no replacement for taking a proper backup.
    I'm confused about where the dump file resides now. Have you placed the dump file in the DUMP_FILE_DIR on the destination server? Or are you stating that you cannot put the dump file on the destination server at all? Or something else?
    Justin

  • Using expdp and impdp instead of exp and imp

    Hi All,
    I am trying to use expdp and impdp instead of exp and imp.
    I am facing few issues while using expdb. I have a Job which exports data from one DB server and then its imported so another DB server. Both DB servers are run on separate machines. Job runs on various clients machine and not on any of DB server.
    For using expdp we have to create DIRECTORY and as I understand it has to be created on DB server. Problem here is Job can not access DB Server or files on DB server. Also dump file created is moved by Job to other machines based on requirement( Usually it goes to multiple DB server).
    I need way to create dump files on server where job runs.
    If I am not using expdp correctly please guide. I am new to expdp/impdp and imp/exp.
    Regards,

    Thanks for quick reply ..
    Job executing expdb/impdp runs on Red Hat Enterprise Linux Server release 5.6 (Tikanga)
    ORACLE server Release 11.2.0.2.0
    Job can not access the ORACLE server as it does not have privileges (In fact there is no user / password to access ORACLE server machines). Creating dump on oracle server and moving is not an option for this JOB. It has to keep dump with itself.
    Regards,

  • How to move my movies and music from old PC to new PC

    how to move my movies and music from old PC to new PC+

    The following article(s) may help you.
    Moving your iTunes library to a new computer

  • Trying to transfer apps and settings from iphone 4 to new iphone 5 - need help

    Trying to transfer apps and settings from iphone 4 to new iphone 5 - need help

    http://support.apple.com/kb/ht2109

  • I am trying the expdp and impdp utility getting error

    I am trying the expdp and impdp utility, as per the documentation I logged in as sys and created a directory datapumpt in the location 'C:\oracle\odp' , i did grant the read and write privilege to my user_id.
    when i tried the expdp command in the prompt its throwing errors:
    Ora:39002 invalid operation
    ora: 39070 unable to open the log file
    ora: 29283 invalid file operation
    ora:06512 : at sys.utl_file line 475
    ora: 29283 invalid file operation.
    Operating system : windows / oracle version : 10.1.0.3.0
    Operating system : Linux AS4
    please help me on this.

    I'm afraid there is a big problem...
    C:\oracle\odp is a windows path
    If the Oracle server is running under Linux, your directory is invalid.
    A directory is an "alias" for a folder on the server, not on the client !!!
    The expdp/utl_file/... won't access folder on the client !

  • How do i transfer my music library and playlist from old computer to new computer with windows 7

    How do I transfer my music library and playlist from old computer to new computer with windows 7?

    Type "move itunes library" into the google search bar.

  • After change HDD for my MAC, How to transfer music, video and app from my IPAD to new iTunes

    after change Hard disk for my MAC, How to transfer music, video and app from my IPAD to new iTunes,

    you can only transfer music and video you bought on the ipad
    this is don by choosing it in the menu called transfer purchases to itunes or something like that
    apps can only be bought once you in itunes you can always choose purchases and show apps not on this ipad and get it back that way

  • HT1766 I backed up everything on my old phone to iCloud and restored from there to my new phone 2 days ago and it still hasn't downloaded my photos. Is there a quick way to do it?

    I backed up everything on my old phone to iCloud and restored from there to my new phone 2 days ago and it still hasn't downloaded my photos. Is there a quick way to do it?

    Are these pics in your camera roll?  How many pics are we talking about here?

  • HT201269 My PC crashed. iTunes was on it and now all files are gone. All music does exist on iPad. How do I get the music that had been downloaded from iTunes and copied from my CDs onto new PC from iPad. Would rather not use cloud.

    PC crashed. iTunes was on it and now all files are gone. All music both purchased  and copied from CDs is on iPad. How do I get the music back onto the PC without using the cloud. Afraid if sync will wipe all music from iPad.

    You would need to download iTunes on comp and download purchases again (you don't have to pay again) and upload your CDs again IF you sync your iPad to your computer it will erase everything

Maybe you are looking for

  • Can no longer change bit rate in AAC custom import setting

    I want to change personal settings of AAC, but I can't. Still only the last setting, that was 192 Kbps Stereo. My iTunes version is 10.7

  • JMS Messaging configuration

    Hi, I wrote a Flex app (prototype of JMS dashboard), which: 1) every 3 secs generates JMS message with some random number and sends it to JMS queue; 2) receives that message from JMS queue, gets that number and displays it in the LineChart component.

  • Print filename in PL/SQL

    Hi, I'd like to do this: PL/SQL command in PROCEDURE .. spool emp.lst select e_id,ename,sal from my_tab; and then print automatically to network printer the result in emp.lst (on windows). How to do it, please. Linda.

  • Help me solve color and dark print issue with a new monitor recommendation!

    I know, I hate "surveys" too. I'm thinking of attacking my color and dark printing issues w\LR and CS4, by investing in a new monitor. I currently have an 20' early edition Apple Cinema Display. The monitor is the last hardware (software) item in my

  • Problem with extracting USERID

    I have the following code but it didn't seems to work: Select COY_C, --Company Code which is the first 3 letterof the userid Substr(USER_M, 1, 1) || --this part of the code can work but no the rest of the code. Substr(USER_M, instr(USER_M, ,1,1)+1)||