Automatic EXP export of database 11gR1

Dear All,
I use to take backup daily of my database 11gR1 on Linux from my client window machine through exp comand.
I have to go on a leave for one week. I want to automate this procedure that export of schemas in database is taken automatically on daily basis. What is the easiest process to do this.
Regards,
Imran

You should use Oracle 11g Scheduler to automate your backup process
Please refer to below pages:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/schedover.htm#i1106753
http://johanlouwers.blogspot.com/2009/03/oracle-database-11g-scheduler.html
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
[Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

Similar Messages

  • While Exporting Oracle9i Database with 10g EXP.

    Hi Friends,
    when export ing Oracle9i Database with Oracle10g EXP utility, it gives following error.
    EXP-00056: ORACLE error 6550 encountered
    ORA-06550: line 1, column 41:
    PLS-00302: component 'SET_NO_OUTLINES' must be declared
    ORA-06550: line 1, column 15:
    PL/SQL: Statement ignored
    EXP-00000: Export terminated unsuccessfully

    You can't use 10g exp against 9i database.
    Use 9i exp.
    Sybrand Bakker
    Senior Oracle DBA

  • Import and export the database table

    I would like to know what is the syntax of using imp.exe and exp.exe to import and export the database table?
    Could anyone teach me what is the syntax and how could do the export and import in the Forms?
    Thanks a loT~

    try: imp help=yes
    Or read the documentation online on OTN.

  • Where to run SQL statements in Oracle Database 11gR1 ?

    Folks,
    Hello. I have just installed Oracle Database 11gR1 and login to Database Control page. There are 4 tabs on the top: Database, Setup, Preference, Help and Logout.
    I just create a table "table1" in "Database" tap. But I don't see anywhere to run SQL statement such as Select, Insert, Update.
    Can any folk tell me where to run SQL statements in Oracle Database 11gR1 ?
    Or
    Can any folk provide a User Manual for Oracle DB 11gR1 ?

    You can run from a terminal or install an SQL client and connect from there.
    http://www.articlesbase.com/databases-articles/how-to-install-oracle-11g-client-1793770.html
    Best Regards
    mseberg
    Assuming you have an oracle OS user on Linux you can try typing sqlplus at you OS command prompt. Generally you will have a .bash_profile with setting like this:
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    export PATH
    # Oracle Settings
    TMP=/tmp; export TMP
    TMPDIR=$TMP; export TMPDIR
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=/u01/app/oracle/product/11.2.0
    #export DISPLAY=localhost:0.0
    export TZ=CST6CDT 
    export ORACLE_SID=ORCL
    export ORACLE_TERM=xterm
    #export TNS_ADMIN= Set if sqlnet.ora, tnsnames.ora, etc. are not in $ORACLE_HOME/network/admin
    export NLS_LANG=AMERICAN;
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    export LD_LIBRARY_PATH
    # Set shell search paths
    PATH=/usr/sbin:$PATH; export PATH
    export PATH=$PATH:$ORACLE_HOME/bin
    # CLASSPATH:
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
    CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib
    export EDITOR=vi
    set -o vi
    PS1='$PWD:$ORACLE_SID >'Edited by: mseberg on Jul 11, 2011 3:18 PM

  • Regarding - Export of database - confussion

    When I am doing export my database at the end of the result shows
    export "terminated" successfully completed.Any how i have no problem
    in the file while i import i got 100% data.
    The word "terminated" is making confussion -
    what is the purpose of the word "terminated" meaning?

    :D Good one Howard ;)
    See even with help=Y , its terminating :D
    C:\>exp help=y
    Export: Release 9.0.1.3.1 - Production on Fri Oct 19 11:45:23 2007
    (c) Copyright 2001 Oracle Corporation.  All rights reserved.
    You can let Export prompt you for parameters by entering the EXP
    command followed by your username/password:
         Example: EXP SCOTT/TIGER
    Or, you can control how Export runs by entering the EXP command followed
    by various arguments. To specify parameters, you use keywords:
         Format:  EXP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
         Example: EXP SCOTT/TIGER GRANTS=Y TABLES=(EMP,DEPT,MGR)
                   or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
    USERID must be the first parameter on the command line.
    Keyword    Description (Default)      Keyword      Description (Default)
    USERID     username/password          FULL         export entire file (N)
    BUFFER     size of data buffer        OWNER        list of owner usernames
    FILE       output files (EXPDAT.DMP)  TABLES       list of table names
    COMPRESS   import into one extent (Y) RECORDLENGTH length of IO record
    GRANTS     export grants (Y)          INCTYPE      incremental export type
    INDEXES    export indexes (Y)         RECORD       track incr. export (Y)
    DIRECT     direct path (N)            TRIGGERS     export triggers (Y)
    LOG        log file of screen output  STATISTICS   analyze objects (ESTIMATE)
    ROWS       export data rows (Y)       PARFILE      parameter filename
    CONSISTENT cross-table consistency    CONSTRAINTS  export constraints (Y)
    FEEDBACK             display progress every x rows (0)
    FILESIZE             maximum size of each dump file
    FLASHBACK_SCN        SCN used to set session snapshot back to
    FLASHBACK_TIME       time used to get the SCN closest to the specified time
    QUERY                select clause used to export a subset of a table
    RESUMABLE            suspend when a space related error is encountered(N)
    RESUMABLE_NAME       text string used to identify resumable statement
    RESUMABLE_TIMEOUT    wait time for RESUMABLE
    TTS_FULL_CHECK       perform full or partial dependency check for TTS
    TABLESPACES          list of tablespaces to export
    TRANSPORT_TABLESPACE export transportable tablespace metadata (N)
    TEMPLATE template name which invokes iAS mode export
    Export terminated successfully without warnings.
    C:\>So no problems :)
    Sidhu

  • Export oracle database schema without data

    Hi All,
    cany any one tell me how to export oracle database schema without data using exp command not datapump command.

    step 1
    type exp help=y
    step 2
    read the output
    step 3 now run exp ... rows=n
    Life can be so easy when you aren't lazy. You don't waste time asking to be spoon fed by others if you can do something yourself in 2 seconds.
    Sybrand Bakker
    Senior Oracle DBA

  • Exporting a database....

    Hello,
    I'd like export my Database to my user "DSV". How can I do this ?
    I'm using oracle 8i version...
    Yours
    Fernando.

    Hello,
    I'd like export my Database to my user "DSV". How can
    I do this ?
    I'm using oracle 8i version...
    Yours
    Fernando.Your question is a little confusing. Technically you can't export/import a database to an user. Because user is part of a database not ves versa.
    If you mean you have an existing user you want to import his objects to user DSV then you can use fromuser/touser parameter of import.
    For example,
    exp userid=user/pass owner=old_user file=dump
    imp userid=user/pass fromuser=old_user touser=DSV file=dump

  • Exporting full database...

    Dear All,
    While exporting full database objects of sys user are exported or not?
    Please tell me in details.
    Thanks In advance.
    PSP.

    I agree all your point. But, what will you do when an object is dropped such as TABLE >when the DB is 5 T or more.
    Would you do a PIT? would you?
    I accept that we use this exp/imp as one way of data migration. It doesn't become it is a >migration tool not a backup tool.
    Then why would ppl say it is a logical backup not as migration tool. ppl say we can use >this as one way for data migration.Then there's when your sounded backup plan comes in play.
    We use to do a full exp every day from our small databases, and the retention policy is 14 days.
    In the Biggest database a full exp is not possible due batch processing at night, so we take a home made incremental export for the big objects and the rest of tables.
    In 10g i think you can set the flashback to 2 weeks and that's all we need. (ya its a lot of space but it depends on your policy and your database size).
    I'm not against EXP/ IMP at all, but you cant rely on them other than getting back a table or a stored procedure from certain date.
    what i've noticed is that lot of people use exp/imp in small databases and this is their main backup strategy, but when they start working with big databases this approach is just not enough.
    This is why you have to work and review your corporate backup policy.
    It doesn't matter if you are an excellent DBA, if you took 3 days (or more) to restore your database you are just not doing your work.
    my 2c.
    Edit:
    May be i need to clarify something.
    Physical backup is intended to fast restore your database from a crash.
    Logical Backup is used to migrate data, even if its into the same database.

  • Export oracle database failure

    hi all,
    i have just exported oracle database and result failure. I export oracle database as user SYS, and in the logfile i receive a error as follow:
    EXP-00084: Unexpected DbmsJava error -1031 at step 6661
    EXP-00008: ORACLE error 1031 encountered
    ORA-01031: insufficient privileges
    EXP-00000: Export terminated unsuccessfully
    before i exported, i met this error and then i compile the package that invalid, but now after the packages are compiled , unsucessful export db.
    can anyone help me handle this error?
    thanks,

    TyL wrote:
    hi all,
    after i connect the DB through exp utility without "as sysdba", then i exported the DB sucessful.
    so can anyone explain for me why is?
    Edited by: TyL on Oct 18, 2011 1:25 AM
    >hi all,
    after i connect the DB through exp utility without "as sysdba", then i exported the DB sucessful.
    so can anyone explain for me why is?
    Edited by: TyL on Oct 18, 2011 1:25 AM
    I"m not sure why, but the utilities manual has been consistent over the versions about warning not to export "as sysdba"
    *From the 8i Utilities* (http://download.oracle.com/docs/cd/A87860_01/doc/server.817/a76955/ch01.htm#16802)
    Invoking Export As SYSDBA
    SYSDBA is used internally and has specialized functions; its behavior is not the same as for generalized users. Therefore, you should not typically need to invoke Export as SYSDBA. However, there may be a few situations in which you need to do so, usually at the request of Oracle technical support.
    *From the 9.2 Utilities* (http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm#1004778)
    Invoking Export As SYSDBA
    SYSDBA is used internally and has specialized functions; its behavior is not the same as for generalized users. Therefore, you should not typically need to invoke Export as SYSDBA, except in the following situations:
    - At the request of Oracle technical support
    - When using transportable tablespaces (see Transportable Tablespaces)
    *From the 10.2 Utilities *(http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#sthref2155)
    Invoking Export and Import As SYSDBA
    SYSDBA is used internally and has specialized functions; its behavior is not the same as for generalized users. Therefore, you should not typically need to invoke Export or Import as SYSDBA, except in the following situations:
    - At the request of Oracle technical support
    - When importing a transportable tablespace set

  • Error while trying to export my database using this command

    Hi,
    I am trying to export my database using this command :
    expdp system/manager@db1 full=n schemas=kul4231 dumpfile=kul4231_20091122.dmp logfile=kul4231_20091122.log directory=dump_dir1
    Error:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-31626: job does not exist
    ORA-31637: cannot create job SYS_EXPORT_SCHEMA_05 for user SYSTEM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPV$FT_INT", line 600
    ORA-39080: failed to create queues "KUPC$C_1_20091122101110" and "" for Data Pump job
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPC$QUE_INT", line 1606
    ORA-01008: not all variables bound
    DB version : Release 10.2.0.4.0
    all ideas are welcomed!!!!!!!!!!!! let me know where am i going wrong!!!!!!!
    thanks in advance..!!!!!!!!
    venkat.

    What is your SGA settings? (especially streams_pool_size).
    You can try to bump streams_pool_size to 100M if your current setting is below that.
    Regards
    Tomasz K.

  • Oracle Database 11gR1 Enterprise Manager Console Cannot Display in Browser

    Folks,
    Hello. I am running Oracle Database 11gR1 with Operaing System Oracle Linux 5. I have some issues regarding EM connects with the Database Server as below:
    First, the default listener is LISTENER with standard port number 1521 and protocol TCP/IP.
    Its corresponding service naming S1 is with port 1521 and protocol TCP/IP and hostname localhost.localdomain.
    I run this listener in the following way:
    Step 1: [user@localhost bin]./lsnrctl start LISTENER (This command runs sucessfully.)
    Step 2: [user@localhost bin] ./sqlplus SYS/SYS as sysdba (This command starts sqlplus sucessfully.)
    Step 3: [user@localhost sqldeveloper] ./sqldeveloper.sh (This command invokes SQL Developer sucessfully.)
    But when start Enterprise Manager Console, it cannot connect with the Database. I do it in this way:
    [user@localhost bin] ./emctl start dbconsole
    The above command's output is:
    https://localhost.localdomain:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ... ...
    When open the link https://localhost.localdomain:1158/em/console/aboutApplication in browser, this message comes up:
    The connection to localhost.localdomain: 1158 cannot be established.
    Thus, I add Port Number 1158 into both LISTENER and Service Naming S1. I run ./emctl start dbconsole again and get this message:
    The connection to localhost.localdomain:1158 was interrupted while the page was loading.
    In order to solve the above issue, I create another listener LISTENER2 and another Service Naming S2 with Port Number 1158 and protocol TCP/IP because
    in my point of view, each listener only can have one Port Number(1521 or 1158) and its corresponding Service Naming (S1 or S2) need to have the same Port Number and Protocol (TCP/IP).
    But when I run [user@localhost bin]./lsnrctl start LISTENER2, this message comes up: the listener supports no service.
    From the message, it seems that LISTENER2 cannot work with its corresponding Service Naming S2 with Port 1158.
    EM with Port 1158 cannot display in Browser.
    My questions are :
    First, Is there any relationship needed to be established between listener(LISTENER2) and Service Naming(S2) in order to display EM in Browser ?
    Second, how do folks display EM in browser ?
    Thanks.

    Folks,
    Hello. Thanks a lot for replying. I do the following command: [user@localhost bin]$ wget http://localhost.localdomain:1158/em
    The command returns the message:
    --11:36:33-- http://localhost.localdomain:1158/em
    Resolving localhost.localdomain... 127.0.0.1
    Connecting to localhost.localdomain|127.0.0.1|:1158... connected.
    HTTP request sent, awaiting response... 200 No headers, assuming HTTP/0.9
    Length: unspecified
    Saving to: `em'
    [ <=>                                                                                                              ] 7 --.-K/s in 0.002s
    11:36:33 (4.15 KB/s) - Read error at byte 7 (Connection reset by peer).Retrying.
    --11:36:34-- (try: 2) http://localhost.localdomain:1158/em
    Connecting to localhost.localdomain|127.0.0.1|:1158... connected.
    HTTP request sent, awaiting response... 200 No headers, assuming HTTP/0.9
    Length: unspecified
    Saving to: `em.1'
    100%[=================================================================================================================>] 7 --.-K/s in 0s
    11:36:34 (16.8 KB/s) - Read error at byte 7 (Connection reset by peer).Retrying.
    The above message repeats again and again until finally returns the following message:
    11:39:02 (40.2 KB/s) - Read error at byte 7 (Connection reset by peer).Giving up.
    In browser, http://localhost.localdomain:1158/em cannot display and pop up a Windows with the message: You have chosen to open whicn is BIN file from http://localhost.localdomain:1158 What sholud FireFox do with this file ? Save to Disk ?
    My question is:
    I don't know how to display http://localhost.localdomain:1158/em in Browser. How to solve the issue ?
    Thanks.

  • Can you have a PDF fit on the viewer's screen automatically when exporting from InDesign CS4?

    Can you have a PDF fit on the viewer's screen automatically when exporting from InDesign CS4?

    If you were to upgrade to InDesign CS5 or CS5.5 and if you exported as Adobe PDF (Interactive), you could set the View settings for Page Layout and Zoom.
    While, as Jongware points out, its possible for individual users to override that option (Preferences > Page Display > Default Layout and Zoom), the number who will actually do that is actually very tiny.

  • How to automate the Export Window feature?

    How can I automate the Export Window (while in the All Computers view) feature?
    I've looked in the Automator program but the Export Window Action is unavailable. Can someone point me in the right direction?

    cleaning up old questions. I never found a way to do it but I no longer need to do it.

  • How can I export my database created in Oracle8 into Oracle 8i/9i..

    I am running my database in Oracle8 and want to switch to Oracle8i. What procedure should I take to export my database into Oracle 8i/9i. Please help me .....
    my email is [email protected]
    Thanks in anticipation.
    Nadeem Iqbal Bhatti

    Please see the Oracle8i Migration Guide for 8i migrations.
    http://download.oracle.com/docs/cd/A87860_01/doc/server.817/a86632/toc.htm

  • Export 500gb database size to a 100gb file system space in oracle 10g

    Hi All,
    Please let me the know the procedure to export 500gb database to a 100gb file system space. Please let me know the procedure.

    user533548 wrote:
    Hi Linda,
    The database version is 10g and OS is linux. Can we use filesize parameter for the export. Please advice on this.FILESIZE will limit the size of a file in case you specify multiple dumpfiles. You could also could specify multiple dump directory (in different FS) when given multiple dumpfiles.
    For instance :
    dumpfile=dump_dir1:file1,dump_dir2:file2,dump_dir3:file3...Nicolas.

Maybe you are looking for