Export Database in 9i

Hi there,
I want to know if there is any way to scheduale ana automatic export for a specific user, and if there is a way for that, how can i do this?
Please be specific.
Thanks in advance.

Hi.
If you have a folder to contain all files that are required :
d:\oracle\export
Make a parfile, d:\oracle\export\exp.par, that contains all in parameters to exp.exe
Example:
USERID = SYSTEM/****
BUFFER=5000000
FILE=d:\oracle\export\exp_full.dmp
LOG=d:\oracle\export\exp_full.log
CONSISTENT=Y
STATISTICS=none
Create a bat file d:\oracle\export\exp_full.bat:
set ORACLE_HOME="ORACLE_HOME dirctory"
set ORACLE_SID="SID name"
%ORACLE_HOME%\bin\exp parfile=d:\oracle\export\exp.par
Open scheduler from your control panel and create a job where the program to run is this bat file.
If you only want some particular schema for export, replace the full=Y parameter
with OWNER=schema_owner1,schema_owner2,...schema_ownerN.
Hopes this helps you
PS : Not tested, ad hoc.
rgds
Kjell

Similar Messages

  • 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.

  • 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....

  • 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

  • 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.

  • 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

  • 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.

  • 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

  • Performance for full export database.

    Hi,
    Is it possibe to estimate or measure how much time needs to export the whole database?
    Should I use the parameter "direct=y" to speed up the export process?
    Thanks very much.
    Frank

    Hi,
    I tried the export in the database server, but the error is encountered.
    Is it because the user(system) is different from owner(ds_ap_dwh)?
    Anyone can advise me? thanks alot.
    Frank.
    C:\>exp system/manager owner=ds_ap_dwh direct=y file=g:\oracle\export\ds_ap_dwh.d
    mp log=g:\oracle\export\ds_ap_dwh.log
    Export: Release 9.2.0.1.0 - Production on Tue May 29 23:48:36 2007
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Release 9.2.0.1.0 - Production
    JServer Release 9.2.0.1.0 - Production
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user DS_AP_DWH
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user DS_AP_DWH
    About to export DS_AP_DWH's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    EXP-00056: ORACLE error 24324 encountered
    ORA-24324: service handle not initialized
    EXP-00056: ORACLE error 24324 encountered
    ORA-24324: service handle not initialized
    EXP-00000: Export terminated unsuccessfully

  • Export database failes

    Hi everybody,
    doing a simple export from an Essbase application, but cannot it fails to open the target file. Path exists and permissions are OK. Don't get it....
    Any idea?
    MAXL> export database AXN_Sim.BewMod all data to data_file "S:\\Programme\\Hyperion\\BewTool\\export\\AXN_Sim.out";
    OK/INFO - 1019020 - Writing Free Space Information For Database [BewMod].
    OK/INFO - 1005029 - Parallel export enabled: Number of export threads [1].
    * ERROR - 1005000 - Ascii Backup: Failed to open S:\Programme\Hyperion\BewTool\export\AXN_Sim.out..*
    MAXL> logout;
    Edited by: bjaegle on Sep 30, 2009 3:15 PM

    Same isse...
    MAXL> export database AXN_Sim.BewMod all data to data_file "S:\\Programme\\Hyperion\\BewTool\\export\\AXN_Sim.txt";
    OK/INFO - 1019020 - Writing Free Space Information For Database [BewMod].
    OK/INFO - 1005029 - Parallel export enabled: Number of export threads [1].
    ERROR - 1005000 - Ascii Backup: Failed to open S:\Programme\Hyperion\BewTool\export\AXN_Sim.txt..
    Edited by: bjaegle on Sep 30, 2009 4:30 PM

  • How can I export database incremental?

    I want export database for backup.
    how can i export database incremental?

    What Oracle version are you using ?
    The following is from 8.1.7 documentation about INCTYPE parameter :
    Incremental, Cumulative, and Complete Exports
    Important: Incremental, cumulative, and complete Exports are obsolete features that will be phased out in a subsequent release. You should begin now to migrate to Oracle's Backup and Recovery Manager for database backups.

  • Backup / Export database

    What are the different purposes of "Backup" and "Export" database in Oracle DBMS ???
    And about the meaning, they are same or different ???
    Thanks !
    Carollynn.

    As I can see it, an export does not really give you the same possibilities as a backup (although I see the block verification iusse, I use dbverify regularily).
    The export can be used in two ways. Re-import single tables if e.g. a user wrote wrong data into it. But beware of referential integrity. Then you can import the whole schema/database into a NEW database and you will have a copy of your database at the time the export was taken. You have to make sure, CONSISTENT=Y is set and that, as a general precaution, nobody is connected to the database itself. Otherwise, you might set yourself up for data integrity problems.
    Full (hot) backups allow to repair the current instance to a certain point in time. You do not change the instance, you repair it. If done right, you can bring your database back to the point of failure time. Also, you can repair singe tablespaces, ... .
    We use both exports for creating copies of databases (e.g. for testing) and for migration from e.g. Oracle 7.3.3 to 8.1.5.
    Taking daily hot backups is our main backup mechanism.
    Eckhard

  • Import & export database

    hi
    iam a vovice user & working on tables can you tell me detailed solution that how can i export database from my computer & how can i import that database on another computer

    Hi...
    i am a vovice user & working on tables can you tell me detailed solution that how can i export database from my computer & how can i import that database on another computerThere are lots of documents available on this topic.FOr any oracle related document you can go to [http://tahiti.oracle.com/].
    What is the oracle version you are using.If on 10g or above use expdp.
    Export can be done
    1. Object level 2. Schema level 3. Full 4.Tablespace level
    I would prefer instead of taking a full export backup and importing it into another database, take the export of the required application schemas and import it into the target database.

  • Error while exporting database

    Hi guys!!!
    i get the following error while i export the objects of a database.The error occurs during the table's exportation:
    EXP-00003: no definition of memory found for the segment (5, 5713).
    I noticed that the error occurs only in the tables that have a sdo_geometry column.
    What can cause this error?
    Thank you,
    Angelo

    HI
    Yes I have experienced this. To get around this I export my tables locally, so that I use the same version of the export utilitiy as the database.
    This is a known issue see METALINK NOTE:274076.1
    (Bug 3784697)
    "This problem during export has been introduced with the 9.2.0.5 patchset, an export from the 9.2.0.5.0 or any higher release database (e.g. 9.2.0.6.0 or 10.1.0.4.0) with a lower release export utility, e.g. 9.2.0.4.0 or 8.1.7.4.0 will now produce the EXP-3 error."
    Dawn

Maybe you are looking for

  • Condition type: DIFF-Rounding Off

    Dear Colleagues, The condition type DIFF-Rounding off is not woring in sales order. Config details as follows. 1. OB90->Respective Company Code, Currency & rounding unit of '5' is being set in this transaction. 2. Define condition type DIFF via Trans

  • Time required to create FPGA

    Eric Pesek and I came across many slow sections when we worked through the example in the "Getting Started with the NI PCI-5640R IF Transceiver and the LabVIEW FPGA Module" guide.              We began on page 11 of the guide with Creating an FPGA Ap

  • Lightroom 5 on Mac OSX Lion very buggy.

    None of the tools work. When I click on the spot removal tool, change the settings, then click on the image, Lightroom minimizes the entire image and selects an image that I am not working on. Also, upon importing photos, I cannot chose just one or t

  • Network drive has disappeared !

    To be honest this a probably NOT a Mac question as I'm sure the fault lies in the network drive, however I know there are some brainy guys and gals out there who almost certainly know the answer to this problem, so here goes: I have a LaCie 2Big netw

  • Time-Machine Backup of File-Vaulted Account - Problem?

    This is the situation: I have to install the last good backup from Time-Machine. I did this but my drive was encrypted using File-Vault. Now I cannot get past the login to my account at startup!!!! My password is CORRECT. I am the only user. The logi