Restoring a full export

I need to restore a test database from a full export. What is the procedure for this? Do I need to blow away the existing DB and then import? Thank you,
David

When performing the full import beware of the SYS schema. You are supposed to import specific schemas and objects. You should be aware also that when issuing the full=y, if the export was generated at the highest abstraction level (database), then tablespace definitions will be stored there too and import will try to recreate them on the same paths as the original file.
~ Madrid

Similar Messages

  • Restore Designer from a FULL EXPORT

    Hi to all ....
    I have a FULL EXPORT of a database (9.2) where there was my Designer Repository my server crash and now I need to restore it in a new Oracle instance
    I try to import the repos_manager user and the user DES that we use for designer
    But not work ......
    Any Idea Help ???
    Thank's in advance

    The user DES (I assume the schema owner) has to be created with the correct privileges (in my script the user is D2K and you may also have to change the tablespaces):
    create user D2K
      default tablespace D2K_RAPID_GROW_D
      temporary tablespace TEMP
      profile DEFAULT
      quota unlimited on d2k_constant_grow_d
      quota unlimited on d2k_constant_grow_i
      quota unlimited on d2k_dependency_d
      quota unlimited on d2k_dependency_i
      quota unlimited on d2k_diagram_d
      quota unlimited on d2k_diagram_i
      quota unlimited on d2k_lob_d
      quota unlimited on d2k_rapid_grow_d
      quota unlimited on d2k_rapid_grow_i
      quota unlimited on d2k_system_meta_d
      quota unlimited on d2k_system_meta_i
      quota unlimited on d2k_temporary_d
      quota unlimited on d2k_temporary_i
      quota unlimited on d2k_version_d
      quota unlimited on d2k_version_i;
    -- Grant/Revoke role privileges
    grant ckr_d2k to D2K with admin option;
    grant ck_oracle_repos_owner to D2K;
    grant connect to D2K;
    grant dba to D2K;
    grant resource to D2K;
    -- Grant/Revoke system privileges
    grant create any synonym to D2K;
    grant drop any synonym to D2K;
    grant unlimited tablespace to D2K;

  • How to do a full export and exclude user specific tables

    Hi all,
    Is it possible to export all objects but one (or more) tables with expdp when doing a full export?
    This is what I've to in mind: (parfile)
    directory=expdp
    dumpfile=full.dmp
    logfile=full.elog
    full=y
    exclude=table:"IN('userA.table_A')"
    This par-file does not encounter any error messages but it doesn't exclude table_A in schema userA either.
    I guess that's because the the term userA is not interpreted as an owner.
    It's not a big deal to filter out a table when doing a schema export.
    I wonder whether it is at all possible do except a table from a full export. If so, I'd value your suggestions.
    Regards,
    Louis

    Louis,
    The exclude parameter in DataPump takes only the object name, not the schema name. So, if you only have one table called 'TableA', then you can just use:
    exclude=table:"IN('table_A')"
    If you have more than one table called 'table_A', then the exclude will exclude all of them. There is no way to specify user_1.table_a with an exclude parameter.
    Dean

  • Error on Full Export - missing SYS.DBMS_REPUTIL

    Hi,
    I´m trying to make a full export of my database (8.1.7.0) and I´m getting the folowwing error when it´s almost finishing:
    . exporting posttables actions
    EXP-00008: ORACLE error 6550 encountered
    ORA-06550: line 1, column 18:
    PLS-00201: identifier 'SYS.DBMS_REPUTIL' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 1118
    ORA-06512: at "SYS.DBMS_SQL", line 316
    ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 84
    ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 135
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully
    What can be wrong ?
    Thanks in advance.

    i think the error is in the pl/sql block
    i mean its a compilation error

  • Full Export/Import Errors with Queue tables and ApEx

    I'm trying to take a full export of an existing database in order to build an identical copy in another database instance, but the import is failing each time and causing problems with queue tables and Apex tables.
    I have used both the export utility and Data Pump (both with partial and full exports) and the same problems are occurring.
    After import, queue tables in my schema are unstable. They cannot be dropped using the queue admin packages as they throw ORA-24002: QUEUE_TABLE <table> does not exist exceptions. Trying to drop the tables causes the ORA-24005: must use DBMS_AQADM.DROP_QUEUE_TABLE to drop queue tables error
    As a result, the schema cannot be dropped at all unless manual data dictionary clean up steps (as per metalink) are done.
    The Apex import fails when creating foreign keys to WWV_FLOW_FILE_OBJECTS$PART. It creates the table ok, but for some reason the characters after the $ are missing so the referencing tables try to refer to WWV_FLOW_FILE_OBJECTS$ only.
    I am exporting from Enterprise Edition 10.2.0.1 and importing into Standard edition 10.2.0.1, but we are not using any of the features not available in standard, and I doubt this would cause the issues I'm getting.
    Can anyone offer any advice on how I can resolve these problems so a full import will work reliably?

    Thanks for the lead!
    After digging around MetaLink some more, it sounds like I'm running into Bug 5875568 (MetaLink Note:5875568.8) which is in fact related to the multibyte character set. The bug is fixed in the server patch set 10.2.0.4 or release 11.1.0.6.

  • Import of Table data only from Full export Dump

    I want to import data inot specified tables of a databse only. Is it possible to do this from a dump file which is the full export of the another database. The database i want to import into is the mirror of the database whose export dump i want to use. Let me know if this is possible and if yes then how i could do this.
    Thanking in advance.

    Please check the following link for full instructions:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/part1.htm#435787
    If on another release, the same documentation is available for it on OTN as well.
    Thanks!

  • Missing grant with full export/full import.

    We have the following problem which is unexplained:
    Using Oracle 9.0.1.4 we full export a database and we import it in full mode in another database which is also running Oracle 9.0.1.4. The database has 1 application schema which owns a lot of PL/SQL object packages and triggers.
    In the source database, all objects are valid and schema owner has SELECT privileges on V$SESSION and execute permission on DBMS_ALERT and DBMS_PIPE.
    I cannot tell you if these privileges have been granted directly or with a role.
    In the target database, package bodys and triggers using V$SESSION and DBMS_ALERT/DBMS_PIPE are invalid because schema owner has not the corresponding privileges.
    Schema owner already existed in the target database. Is it normal than the corresponding privileges have not been imported ?
    I cannot give you the exp/imp command lines but I'm sure full export/full import have been run (I've checked the import log).
    Thanks.
    Message was edited by:
    Pierre Forstmann

    See MetaLink Note:97902.1
    When performing a full export of a database, both objects belonging to SYS and object privileges on SYS's objects (e.g. admin views such as DBA_SEGMENTS, etc.) are not exported.
    To generate the missing privileges you can use the follwing script
    Connect to the original database (the one full export was done from) as SYSTEM using sqlplus and run this script:
    set hea off
    set pagesize 0
    set feedback off
    spool objs_upg.sql
    select 'grant '||privilege||' on '||owner||'.'||
    table_name||' to '||grantee||' '||
    decode(grantable,'YES','WITH Grant option')||';'
    from dba_tab_privs
    where owner = 'SYS'
    select 'grant '||privilege||' ('||column_name||') '||
    ' on '||owner||'.'||table_name||' to '||grantee||' '||
    decode(grantable,'YES','WITH Grant option')||';'
    from dba_col_privs
    where owner = 'SYS'
    spool off

  • Oracle 8i full export fails (ORA-00904)

    Hello Guru's.
    I encounter this problem when i try a full export.
    Database version is 8.1.7.4 and the export utility is also 8.1.7.4
    When i try exporting it generates a ORA-00904 error. I traced on this error and see the following:
    *** SESSION ID:(8.57) 2007-03-21 10:33:53.738
    *** 2007-03-21 10:33:53.738
    ksedmp: internal or fatal error
    ORA-00904: invalid column name
    Current SQL statement for this session:
    SELECT GRANTOR, GRANTORID, GRANTEE, PRIV, WGO, ISDIR, TYPE FROM SYS.EXU8GRN WHERE OBJID = :1 ORDER BY WGO DESC, SEQUENCE
    I checked the compatible parameter:
    (compatible string 8.1.7)
    Any reply greatly appreciated.

    Yeah, well, maybe running catexp.sql will solve that .....
    And it did.
    But more stuff is coming up, proberly when i try to import this thingie into Oracle 10g.
    Thanks, and reply!

  • Restoring Old Full backupset.

    Hi Team,
    I am using Oracle 9i.
    I am taking full bakup of my Oracle database say at 10:00 AM using following script.
    run
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
    ALLOCATE CHANNEL C1 TYPE DISK FORMAT 'C:\BK\DATAFILE_CTL_%d_%T_%p_%s';
    BACKUP DATABASE INCLUDE CURRENT CONTROLFILE;
    RELEASE CHANNEL C1;
    ALLOCATE CHANNEL C2 TYPE DISK FORMAT 'C:\BK\ARCHIVELOG_%d_%T_%p_%s';
    BACKUP ARCHIVELOG ALL;
    RELEASE CHANNEL C2;
    Now on [b]11:00 AM I am taking full backup one more time using same scipt.
    now If I deletes my latest backupset taken on 11:00 AM from it path location & tries to restore Older full backup set taken on 10:00 AM it asks for the lates full backup set(11:00 AM) files as follows....
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/17/2006 16:32:31
    ORA-19505: failed to identify file "C:\BK\DATAFILE_CTL_BALA_20061117_1_398"
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    plz suggest me if I am going wrong anywhere & also way to restore this older backupset.
    Whether I need Point-In-Time recovery here?
    Message was edited by:
    Test_Rman

    If I want to use other backup sets in the later stage then how can I use them to restore the data?If you want to use other backupsets then why are you deleting them?? Crosscheck is the way to delete your backups, delete expire will delete only those backups which are no in sync with actual catalog. If you want to use other backupsets then you must keep is bcz delete means GONE.
    To delete the backups implement a retention window which describe how old backups you want to keep and then use DELETE OBSOLETE to delete obsolete backups means which are older than your retention window. Also start reading the basic backup/reovery guide to understand this whole concept.
    http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96566/toc.htm
    Daljit Singh

  • Essbase Full Export generating erroneously large data files

    On 9.2.1. using BSO
    I have a 1 GB page file that routinely is exported for backups. generates 1 text file about 1.2 GB. using buffered i/o and rle compression.
    recently, the backup occurred as normal but generated 6 text files totaling 10GB.
    I did a maxl force restructure and the .ind and .pag files remained about the same as they were prior to the restructure.
    The restructure did seem to take much longer than normal..
    Any ideas?
    Thanks
    Jeff

    Is this an automated export, or do you go through the user prompts in EAS to create a backup. The size you provided (1.2G off a 1G page file) sounds like a lev0 export. Exports are always going to come out much larger due to the binary and compressed nature of the page files.
    This "feels" like it may have just been an extra/different option checked. The difference between Lev0/Input/Full exports and Columnar/Essbase can easily make jumps in storage space like that...especially changing to Columnar ("Export in column format") can cause a big bump in export sizes. If your member names are long, it causes an even bigger impact on the size of columnar export files.
    Also, I usually encourage Level0 exports, which is smaller and faster than "All Data". However, the default method is "All Data" which would also grow the resultant files, especially with many upper levels.
    On a different note, I would test out your choice of RLE compression. I've personally found very few cases where bitmap wasn't far and away the best choice.

  • Issue Migrating Character Data Using a Full Export and Import

    Hi There;
    I have a database in my local machine that doesn't support Turkish characters. My NLS_CHARACTERSET is WE8ISO8859P1, It must be changed to WE8ISO8859P9 , since it supports full Turkish characters. I would like to migrate character data using a full export and import and my strategy is as follows:
    1- create a full export to a location in network,
    2- create a new database in local machine that it's NLS_CHARACTERSET is WE8ISO8859P9 (I would like to change NLS_LANGUAGE and NLS_TERRITORY by the way)
    3- and implement full import to newly created database.
    I 've implemented first step, but I couldn't implement the second step. I 've created the second step by using toad editor by clicking Create -> New Database but I can not connect the new database. I must connect new database in order to perform full import. How can I do this?
    Thanks in advance.
    Technical Details
    NLS_LANGUAGE.....................AMERICAN
    NLS_TERRITORY.....................AMERICA
    NLS_CURRENCY.....................$
    NLS_ISO_CURRENCY..............AMERICA
    NLS_NUMERIC_CHARACTERS    .,
    NLS_CHARACTERSET.............WE8ISO8859P1
    NLS_CALENDAR.....................GREGORIAN
    NLS_DATE_FORMAT................DD-MON-RR
    NLS_DATE_LANGUAGE...........AMERICAN
    NLS_SORT...............................BINARY
    NLS_TIME_FORMAT.................HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT......DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT............HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT..DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY............ $
    NLS_COMP...............................BINARY
    NLS_LENGTH_SEMANTICS.......BYTE
    NLS_NCHAR_CONV_EXCP........FALSE
    NLS_NCHAR_CHARACTERSET...AL16UTF16
    NLS_RDBMS_VERSION............10.2.0.1.0

    First, if your applications run on Windows, do not use WE8ISO8859P9. Use TR8MSWIN1254.
    Second, if you create a new database, the database is not necessarily immediately accessible to outer world. I do not know Toad and I have no idea if it performs all necessary steps required for the new database to be visible.  For example, in the Toad itself, I assume you should create a new connection that references the new SID of the newly created database and use this new connection to connect. However, connections without a connection string use the ORACLE_SID setting in Registry to tell connecting applications which instance (database) to use.  To change the database accessed with an empty connection string you need to modify Registry (unless Toad has an option to do this for you). If you want to connect without changing Registry, you need a connect string. This requires setting up Oracle Listener to serve the new database (unless default configuration is used and the database registers itself with the default listener). It also requires changing tnsnames.ora file to create an alias for the new database. Net Manager and/or Net Configuration Assistant can help you with this.
    I wonder if Database Configuration Assistant would not be a better tool to create new Oracle databases.
    Thanks,
    Sergiusz

  • Is possible restore backup full from linux to windows?

    Is possible restore backup full from linux to windows, I need know if is possible.
    There are any document about it?

    Hi
    Yes because They are in little endian.
    http://apunhiran.blogspot.com.tr/2009/03/how-to-moveconvert-database-from-linux.html
    Regards

  • Full export - BU and workbooks

    Hi!
    How can I do a full export of the EUL which includes the business areas as well as the workbooks? We are migrating to a new box and I created the EUL with Disc Admin on the new box. But an export through the wizard (on the old box) only takes the BU metadata and not the workbooks. I know you can do it from the command line, but then you have to specify the workbook and we have 60! Any ideas?
    Kind Regards
    Marlene

    Hi Marlene
    You must be working on either 3.1 or 4.1 from where you cannot automatically export the workbooks. I do have a white paper though that might help a little.
    Email me on [email protected] and I will send it to you.
    Best wishes
    Michael

  • Full export and import

    Hi All,
    Kindly give me the document id or links for fully datbase export and import procedure, by the by I am doing full export and import in V 7.1 and the OS is OpenVMS.
    Satya.

    Hi sybrandb,
    For your information - I never asked him to CUT and PAST the steps, from my first post I was asking for the procedure for full exp and imp, and he gave me the 7.1 system administration pdf, which dosent talk anything about full export, you please read that PDF once.
    I was looking for the procedure and below are the metalink docs which give good information about the full export and import. Please go through this aswell.
    Note:15096.1
    Note:10767.1
    Note:61949.1
    Thanks,
    Satya.

  • 9i full export for a large database

    Hi Dear All,
    My organization is going to make one database read only. so requested to take a full export backup of the same which grew upto 600GB. I want to take it into splits of 2gb. what parameters shall I use.
    Prepared the parfile like:
    FILE=/exp/prod/exp01.dmp,/exp/prod/exp02.dmp,/exp/prod/exp03.dmp
    FILESIZE=2G
    Pls suggest me can I proceed with above parameters and what should be the parameter file for importing+* the same.
    Thanks in Advance
    Phani Kumar

    Hello,
    can I proceed with above parameters and what should be the parameter file for importing the same.With the Original Export/Import you may use the FILE and FILESIZE parameters so as to split the Dump into several dump files, and also to Import from several dump files:
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch02.htm#1005411
    For instance, you may use something like this:
    FILE=<dumpfile1>.dmp,<dumpfile2>.dmp,<dumpfile3>.dmp
    FILESIZE=2GIn this example the Size of each Dump Files is limited to 2 GB.
    NB: Use the same setting for FILE and FILESIZE for the Export and the Import.
    how can I user mknod option in aix box with oracle9i for taking 600gb of databaseAbout mknod you may read the following Note of My Oracle Support:
    Large File Issues (2Gb+) when Using Export (EXP-2 EXP-15), Import (IMP-2 IMP-21), or SQL*Loader [ID 30528.1]See the chapter *3. Export and Import with a compressed dump file* and chapter *4. Export and Import to multiple files*.
    Hope this help.
    Best regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on Jun 2, 2011 10:06 AM

Maybe you are looking for

  • Job cancelled

    Dear Team, One of my user has left the job . now his Login ID has been deleted.But I am looking daily two job is cancelled  because these job was scheduled by his name. Now I want to schedule these two job with my login ID. How I schedule these job w

  • How do I combine all my contacts on different devices?

    I have an iMac (running Lion), an iPhone 4S and a New iPad. All are software updated. On my Mac, it appears that I have three different contact lists: All Contacts,iCloud Contacts and iMac Contacts Each of these have some contacts, but none of them h

  • Mail unable to connect with outgoing server...

    Hi everyone!! I've been having a problem with mail for the past week and i can receive but cannot send any mail. Checking the connection doctor there's a message saying it "couldn't connect to the SMTP server" although i have the passwords set correc

  • Can submit buttons or links associated with post or get requests work on iPad's Adobe Reader?

    Hi, I'm trying to call a JSPs from a PDF file using submit buttons and links created dynamically in a Java (iText) code. All buttons and links work fine in my PC but no buttons or dynamically generated links work in my iPad (Adobe Reader 11.0.1). Cou

  • How do I play older iTunes songs?  My old AppleID appears

    I cannot play iTunes songs that I purchased years ago on a computer that is long gone. I tried to "deauthorize all" but this method didn't work.  After I tried this, and then "authorized" this computer, a prompt pops up that says "this computer is no