Help In Export Database

Hello All
I just finished developing my application using oracle application express (APEX) in order to upload it online as a web site. I have some problems in moving the database from my machine to the server. I'm not familiar with DBA task like export the database. I'm using Oracle database 11G release1 my schema contain the following:
50 Tables
1 Package
5 Procedures
10 Sequences
5 Functions
33 Mining Models (Oracle database Objects)
I need to export this schema as a dmp file and re import it in the server. I tried to use (exp) and (expdp) commands but I keep getting Unknown Command error but without any error number. I just hope if somebody can give me some instruction about how to export my database and what documents should I read. I know some DBA tasks like create user and directory and I have used DBMS_DATA_MINING.EXPORT_MODEL and DBMS_DATA_MINING.IMPORT_MODEL with my data mining objects but I have not export and import a complete database before.
Thanks in advance for the help
AL

Hello,
As you are in 11g, I suggest you to use the Datapump utility (expdp / impdp).
Datapump has many parameters and, they must be well understood, some parameters cannot be used
all together.
So, it's important that you can have a log. For instance you may use the following parameters to export
a Schema and have log:
SCHEMAS=<schema>
CONTENT=ALL
DIRECTORY=<directory>
DUMPFILE=<dump_file>.dmp
LOGFILE=<log_file>.logPlease, have a look on the link below (for 11.1), you'll have much more details:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/part_dp.htm#i436481
Hope this help.
Best regards,
Jean-Valentin

Similar Messages

  • Help on export sybase iq tables with data and import in another database ?

    Help on export Sybase iq 16 tables with data and import into another database ?

    Hi Nilesh,
    If you have table/index create commands (DDLs), you can create them in Developper and import data using one of methods below
    Extract/ Load table
    Insert location method : require IQ servers to be entered in interfaces file
    Backup/Restore : copy entire database content
    If you have not the DDLs, you can generate them using IQ cockpit or SCC.
    http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01773.1604/doc/html/san1288042631955.html
    http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01840.1604/doc/html/san1281564927196.html
    Regards,
    Tayeb.

  • Help: How to forbiden Export utilities to export database?

    Hi all,
    How to forbiden Export utilities to export database?
    Thanks
    Eric David

    please find the required Process ID of the exp job by using the following command :
    $ ps -ef|grep exp
    After finding it kill the pid (assuming PID as 3388) :
    $ kill -9 3388 --- where 3388 is the PID
    I thought it was regarding the process killing...My word misunderstood it...You cannot disable EXP/IMP utility because it comes with the oracle software itself...if you dont want any one to take the export then revoke those privileges from the required users...
    Cheers!
    Edited by: imran khan on 25 Jul, 2011 2:09 AM

  • Errors in Exporting Database

    Hello!
    I am trying to export a user when i got these problems. My Operating System is Windows 2003 ans my Oracle ver is 9.2.0.3.0. Please help me.
    . exporting pre-schema procedural objects and actions
    EXP-00008: ORACLE error 4068 encountered
    ORA-04068: existing state of packages has been discarded
    ORA-04063: package body "SYS.DBMS_AW" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at "SYS.DBMS_AW_EXP", line 216
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_AW_EXP.schema_inf
    o_exp
    . exporting foreign function library names for user RESO
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user RESO
    About to export RESO's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    EXP-00056: ORACLE error 31600 encountered
    ORA-31600: invalid input value EMIT_SCHEMA for parameter NAME in function SET_TR
    ANSFORM_PARAM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 3926
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 4050
    ORA-06512: at "SYS.DBMS_METADATA", line 836
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully

    Your first error results into this,
    ORA-04068:     existing state of packagesstringstringstring has been discardedCause:     One of errors 4060 - 4067 when attempt to execute a stored procedure.
    Action:     Try again after proper re-initialization of any application's state. >
    And looking at the 2nd error code,
    ORA-04063:     %s has errorsCause:     Attempt to execute a stored procedure or use a view that has errors. For stored procedures, the problem could be syntax errors or references to other, non-existent procedures. For views, the problem could be a reference in the view's defining query to a non-existent table. Can also be a table which has references to non-existent or inaccessible types.
    Action:     Fix the errors and/or create referenced objects as necessary. >
    So the said package of Sys has issues. Is this database being upgraded recently and thus is having some invalid packages?
    HTH
    Aman....

  • 1005000 &1005029 Essbase Error - MaxL Export database

    Hi, I'm trying to export data in a MaxL command called by a Perl program (automated batch process) using the following command: export database StgAll.StgAll level0 data in columns to data_file 'H:/Export_folder_server09/StgALL_export_server.txtThe Perl program is called from the server 04 and it export a database on the server 09. The ?H:/Export_folder_server09/? directory is mapped ?network driver? on the server 04. I get the following Error message: Executing [export database StgAll.StgAll level0 data in columns to data_file 'H:/Export_folder_server09/StgALL_export_server.txt']... 1005029 - Parallel export enabled: Number of export threads [1] 1005000 - Ascii Backup: Failed to open [H:/Export_folder_server09/StgALL_export_server.txt]. 9 - Essbase error encountered: [GetProcessState] [1005000] 51 - MaxL execution failedWhat am I doing wrong?Someone can help me ?Thanks in advance, Manon

    I'm not certain if thi sis your problem, but I believe it has something to do with the way you are using / marks in your directory path.Take a look at this excerpt from the MaxL tech doc. I hope this helps you.Use of backslashesIgnored unless preceded by another backslash (the escape character). Must use single quotation marks around the token containing the two backslashes.Example: create or replace group 'R\\D';Result: Group R\D is created.Example (Windows): export database sample.basic using report_file 'Essbase\\App\\Sample\\Basic\\asym.rep' to data_file 'c:\\home\\month2.rpt'; Result: The Windows file paths are interpreted correctly as Essbase\App\Sample\Basic\asym.rep and c:\home\month2.rpt.

  • Want to export database not user. i am using oracle 8i and developer 6i.

    i am using oracle 8i and developer 6i. i have created a button(when_button_pressed) on d2k with this command mentioned below. it is working only for user objects but i need to export database. how can i do this?
    declare
         com varchar2(100);
    begin
    host('exp tAJCO/tAJCO@tajco file=D:\dump\tajco.dmp');
    if
         not form_success then
         message('Export failed.');
    else
         message('Export successful');
    end if;
    end;
    please help me.....
    thanks
    mostafiz

    mostafiz,
    To Export entirel database, use the statement
         Host('EXP tAJCO/tAJCO@tajco FILE=D:\dump\tajco.dmp FULL=YES DIRECT=Y',NO_SCREEN);
    Regards,
    Manu.

  • I got error when I export database ORACLE 9i from solaris 9.

    I want to export full database ORACLE 9i from SOLARIS 9 to import full database on ORACLE 9i on windows.
    I set oracle environment and NSL_LANG with command:
    bash-3.00$ export ORACLE_SID=TIS
    bash-3.00$ export NLS_LANG=AMERICAN_AMERICA.TH8TISASCII
    and then run command to export:
    bash-3.00$ exp system/manager@TIS full=y file= /u03/dmp/TISfull.dmp log=/u03/dmp/exp_TIS.log
    I got error message as:
    Export: Release 9.2.0.1.0 - Production on Thu Oct 8 17:57:32 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Export done in TH8TISASCII character set and UTF8 NCHAR character set
    About to export the entire database ...
    . exporting tablespace definitions
    . exporting profiles
    . exporting user definitions
    . exporting roles
    . exporting resource costs
    . exporting rollback segment definitions
    . exporting database links
    . exporting sequence numbers
    . exporting directory aliases
    . exporting context namespaces
    . exporting foreign function library names
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions
    . exporting system procedural objects and actions
    . exporting pre-schema procedural objects and actions
    EXP-00008: ORACLE error 25153 encountered
    ORA-25153: Temporary Tablespace is Empty
    ORA-06512: at "SYS.DBMS_AW", line 42
    ORA-06512: at "SYS.DBMS_AW", line 105
    ORA-06512: at "SYS.DBMS_AW", line 221
    ORA-06512: at "SYS.DBMS_AW_EXP", line 264
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_AW_EXP.schema_info_exp
    . exporting cluster definitions
    EXP-00056: ORACLE error 25153 encountered
    ORA-25153: Temporary Tablespace is Empty
    ORA-06512: at "SYS.DBMS_LOB", line 424
    ORA-06512: at "SYS.DBMS_METADATA", line 1140
    ORA-06512: at line 1
    EXP-00056: ORACLE error 25153 encountered
    ORA-25153: Temporary Tablespace is Empty
    ORA-06512: at "SYS.DBMS_LOB", line 424
    ORA-06512: at "SYS.DBMS_METADATA", line 1140
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully
    How can I solve this problem?
    Any suggestion?

    #### HOW to solve it.
    ## To check the default temporary tablespace of the database:
    SQL> select property_name, property_value from database_properties;
    ## check DEFAULT_TEMP_TABLESPACE, if it use wrong temporary tablespace, run:
    SQL> alter database default temporary tablespace temp;
    ## check user with temporary tablespace, run command:
    SQL> select username, temporary_tablespace, account_status from dba_users;
    ## change temporary tablespace:
    SQL> create temporary tablespace temp1 tempfile '/data/u01/app/oracle/oradata/TIS/temp_b.dbf' size 100m;
    SQL> alter database default temporary tablespace temp1;
    SQL> drop tablespace temp including contents and datafiles;
    SQL> create temporary tablespace temp tempfile '/data/u01/app/oracle/oradata/TIS/temp01.dbf' size 100m autoextend off extent management local uniform size 1m;
    SQL> alter database default temporary tablespace temp;
    SQL> drop tablespace temp1 including contents and datafiles;
    Thanks

  • Export database in quiet mode

    I'm trying to export database (or part of it) via exp utility. Exp utility should be called from command file or from another process (on windows). If something goes wrong (for example user name or password is not correct) exp pauses it's execution and trying to ask user what to do (for example enter valid user name). This is the problem. I want that exp just finish it's execution without asking any input from user. It is possible at all?
    I have read exp's documentation and not found any command line keys which could run exp in non-interactive mode.

    My export command follows:
    D:\Users\ender>C:\Oracle\Ora102g\bin\exp.exe hr/hr@ORCL102G FULL=Y FILE='D:\Users\ender\My Documents
    \hr.dmp' LOG='D:\Users\ender\My Documents\hr.log'
    Export: Release 10.2.0.1.0 - Production on Tue Apr 10 13:26:54 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    EXP-00023: must be a DBA to do Full Database or Tablespace export
    (2)U(sers), or (3)T(ables): (2)U > ^C
    D:\Users\ender>
    The real problem is not that HR user must be DBA. The problem is that exp asking questions instead of just fail and exit.

  • URGENT HELP master export setup

    URGENT HELP master export setup
    Hi,
    I tried to search in the forum before I sent this request and I did not find my answer.
    I am using Production suite CS4, Windows 7. I am trying to figure out whatr is the best export setups (codec) to send to the post captioned place who works with Final cut pro. It is a 45 min documentayy shot on hxp170 that will be broadcasted on APTN channel (standard and HD). I shot 720p 24 fps (native) My files are 1.33 pixel ratio.
    I want the best quality possible regardless of the size of the file.
    Can Avid DNxHD codec work? (I googled and did not find a proper answer)
    Also a problem: I tried to export an MXF version and an uncompressed AVI. I used Sapphire plug ins (cartoon, film scratch, glow etc) and with some export setup, it make some clips slide up or left of the screen!!! Anyone had that before?
    Also: should I export 24 fps or 23.976?
    Thanks a lot.

    Is this a Premiere Pro question or an After Effects question? Probably better off in the AE forum...
    http://forums.adobe.com/community/aftereffects_general_discussion
    In reference to your first question, it might be worth asking them what they WANT. They may have a preferred pre-broadcast format, and if you can supply that, it may save your material from being transcoded (again).
    MP

  • Need help in export/import

    Hello All,
    I need help in export/import of an  internal table (based on deep structure) to/from desktop either in excel or XML file.
    I have an int table which has to be sent to desktop either in xls or xml file and then import back to an internal table(with deep structure).
    Ex :
    Int table is based on structure.
    Structure has fields
    as
    f1 -
    f2 -
    f3 - table type
    Your help will be appreciated.

    Hi Nishant,
    Please put your question in below mention forum.
    SAP Business One SDK
    Thanks
    Mohammad Imran

  • Urgent- Exporting database tables

    Hi There,
    I am using Oracle 8.0.6. I want export a table from one server to another.(both are unix machines). How can I do it?
    Thanx in advance

    If a table is samll, then I would recommend you to create a dblink between them and use copy command to copy the table from one db to another.
    Export:
    exp system/password file=exp.dmp log=exp.dmp tables=username.table_name direct=y statistics=none
    ftp the exp.dmp file in binary mode to other unix server.
    imp username/password file=exp.dmp log=imp.dmp fromuser=username touser=username full=y
    Do you have same user exists in both databases? Do you have same tablespaces exists on both databases?
    When you import, it will look for the same tablespace as exported database tablespace. Otherwise, the user who is importing revome unlimited tablespace quota and use one tablespace. also, you have to include ignore=y in this scinario.
    Jaffar

  • How to Export DataBase

    Hello
    How to export database in one line query in command Prompt. Again i explain Single Line Query. I have some Problem in it.
    Thanks

    Hi
    It comes bundled with 10g DB Software so when you install your DB software it is automatically installed and available to you.
    Follow this link to get more info on EXPDP
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_overview.htm
    Cheers

  • HELP to open database (again)

    Hi, saga continue:
    svrmgr> startup mount;
    Database mounted
    svrmgr> alter database open read only;
    ORA-16005: database requires recovery
    svrmgr> recover database;
    ORA-00283: recovery session canceled due to errors
    ORA-00264: no recovery required
    svrmgr> alter database open; - hang
    Please help to OPEN database!!!!
    Thnaks in advance,
    Andriy Korud, Ukraine

    You can find how to here:
    http://www.bing.com/search?q=close+sync+services+agent
    http://www.bing.com/search?q=what+is+mac+os+x+sync+services
    Mac OS X: Resetting the SyncServices folder - Apple - Support
    http://support.apple.com/kb/TS1627
      Aug 17, 2012 · Choose Reset Sync Services. Click Reset Sync History. Test for the ... Resetting SyncServices resets your Mac OS X User Account's Sync settings and …
    Sync Services: Advanced troubleshooting for contact and calendar ...
    http://support.apple.com/kb/TS2481

  • Export Database Running Soooo Slow

    Hi,
    I am exporting our oracle 11gR2 database
    C:\Documents and Settings\Administrator>exp system/manager@prod1 FULL=Y STATISTICS=NONE
    Export: Release 11.1.0.6.0 - Production on Tue Apr 26 09:11:53 2011
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit
    Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export done in WE8MSWIN1252 character set and UTF8 NCHAR character set
    server uses UTF8 character set (possible charset conversion)
    About to export the entire database ...
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit
    Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export done in WE8MSWIN1252 character set and UTF8 NCHAR character set
    server uses UTF8 character set (possible charset conversion)
    About to export the entire database ...
    . exporting tablespace definitions
    . exporting profiles
    . exporting user definitions
    . exporting roles
    . exporting resource costs
    . exporting rollback segment definitions
    . exporting database links
    . exporting sequence numbers
    . exporting directory aliases
    . exporting context namespaces
    . exporting foreign function library names
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions
    . exporting system procedural objects and actionsWhy is that it is hanging at "exporting system procedural objects and actions"? It already stayed here for 5 hours.
    How do I count all the procedural objects and actions, so I know how big are they?
    How can I speedup this part?
    Thanks

    843228 wrote:
    I am exporting our oracle 11gR2 database
    Export: Release 11.1.0.6.0 - Production on Tue Apr 26 09:11:53 2011
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bitAre you going to import to 11.1.0.6 server?
    As mentioned a few times, For Oracle Database 10g release 1 (10.1) or higher, Oracle recommends the Data Pump Export and Import utilities... (see the Utilities doc).
    Export done in WE8MSWIN1252 character set and UTF8 NCHAR character set
    server uses UTF8 character set (possible charset conversion)You might want to consider using a client/export character set for the export session that doesn't risk loosing information (e.g. UTF8 / AL32UTF8).
    Why is that it is hanging at "exporting system procedural objects and actions"? It already stayed here for 5 hours.You could turn on tracing for the exp session to try to find out what it is doing. If you have AWR/ASH license then e.g. v$active_session_history might be of some use.
    Edited by: orafad on Apr 26, 2011 9:28 AM

  • How do I get tech help for export pdf during Australian business hours?

    How do I get tech help for export pdf during Australian business hours?

    You can post your issues in this forum or send your questions to DL-exportpdf_feedback.
    Jyh-Jiun Liou

Maybe you are looking for