Backup problem oracle 10g

Dear All,
I have taken backup through EXP utility in CMD prompt. the database version is Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 and EXP version is same..
but when i m importing the .dmp file to other system which also has Oracle Database 10g Enterprise Edition Release 10.2.0.3.0. but it shows " import terminated unsuccessfully" and import version is 9.1.0.5.1.
Please help me.

only.ashish99 wrote:
Dear All,
I have taken backup through EXP utility in CMD prompt. the database version is Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 and EXP version is same..exp is not a backup, it's just logical dump.
but when i m importing the .dmp file to other system which also has Oracle Database 10g Enterprise Edition Release 10.2.0.3.0. but it shows " import terminated unsuccessfully" and import version is 9.1.0.5.1. If on other system is installed 10.2.0.3, but You still see that import is using 9.1., then probably YOu have more than one ORACLE_HOME on that machine.
set correct env variables in order to use 10g ORACLE_HOME and imp utility from it.
echo $ORACLE_HOME
echo $PATH
both should return path to 10g ORACLE_HOME.

Similar Messages

  • Hot backups in Oracle 10g R2

    Hi
    How to take up Hot backups (On-line backup) in Oracle 10g Release 2 in Windows environment.
    Pls give me the link or steps for do the hot back-ups.
    Thanks

    I think you are test ENV?
    Did you archive the current log file which i mentioned in the earlier post
    if so and if you the archived log
    Shutdown the DB
    Rename the file you copied
    move the D:\oradata\*.dbf(whihc was backed up by you)in the original directory and
    from sqlplus issue
    SQL>startup mount
    SQL>recover database
    this hould work
    But make sure you have the backup before deleting/renaming the the file you backed up by HOTbackup

  • Problem Oracle 10g database Installation on Windows 2003 Server

    Hi All,
    I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
    I double-insured that there is enough disk-space and I am also in the Administrators-Group.
    Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
    Regards
    Muhammad Shoaib

    898118 wrote:
    Hi All,
    I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
    I double-insured that there is enough disk-space and I am also in the Administrators-Group.
    Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
    Regards
    Muhammad ShoaibOracle really doesn't like to be installed into directories with spaces in their names.

  • Login problem: Oracle 10g EM

    Hi,
    I installed Oracle 10g (version 10.2.0.3.0) on my system which has Windows Vista Home Basic as its operating system. After successful installation em was started automatically and i tried to login with sys account with below details
    uname: sys
    pass: which i supplied during installation
    connect as: sysdba
    when i try to login, it simply returns the login page again. When i supply a wrong password intentionaly, it gives me the usual error message 'wrong uname/pass'. But when i supply authentic info it simply refreshes the page. I checked that the Oracle services are all up and running.
    Another interesting behavior is when i try to login with system account (which is by default unlocked) with the password i supplied during installation, it says wrong username/password. I tried a little bit of trial error and saw i can login to the commande prompt with scott/tiger (in case i unlocked it during installation) but i can not login to em with this account. It behaves exactly same, simply refreshes the page and no error message.
    Can someone please help me to figure out this problem, i am pretty confused what is going wrong here.
    thanks in advance,
    Arnab.

    user5813004 wrote:
    I installed Oracle 10g (version 10.2.0.3.0) on my system which has Windows Vista Home Basic as its operating system. The symptom you describe is exactly the same as most people who install Oracle database on Vista (or XP) HOME.
    If you want the Enterprise Manager to work, you are encouraged to upgrade your OS to the minimum certified by Oracle, as discussed in the installation docs.

  • Bizarre Problem: Oracle 10g disconnected

    We are facing an bizarre problem in Oracle 10G. We are trying to compile a package specification. As long as there are 10 procedures(program units) in the package it compiles successfully, As soon as we add 11th program unit(come what may a simplest of procedure declaration), It disconnects the session immediately. We asked for alert logs & there is no relevant entry in alert log file.
    Please find below the error: -
    SQL> @D:\Package_Name.sql
    ERROR:
    ORA-03114: not connected to ORACLE
    create or replace PACKAGE PACKAGE_NAME
    ERROR at line 1:
    ORA-03135: connection lost contact
    Elapsed: 00:00:18.90
    ERROR:
    ORA-03114: not connected to ORACLE
    Elapsed: 00:00:00.00
    No errors.
    SQL>
    Please Help :-(

    create or replace PACKAGE SCHEMA_NAME.PACKAGE_NAME
    IS
    -- declare public types and/or object desriptions
    TYPE t_str_list IS TABLE OF varchar2(4000)
    index by binary_integer;
    TYPE rs_type IS REF CURSOR;
    global_pkg_name varchar2(30) := 'PACKAGE_NAME';
    -- get_formulations_list
    function GFL (p_request_id number)
    return varchar2
    PRAGMA RESTRICT_REFERENCES (GFL, WNDS);
    -- Read recordsets for Objects from database
    -- Getters for Record Sets (1. Lookup Tables)
    -- 1. Get_Countries -- + + +
    -- 2. Get_l_numbers -- + + +
    -- 3. Get_mk_numbers -- + + +
    -- 4. Get_licences -- + + +
    -- 5. Get_formulations -- + + +
    -- 6. Get_request_x_frm -- + + +
    -- 7. Get_generic_names -- + + +
    -- 8. Get_global_tm -- + + +
    -- 9. Get_local_tm -- + + +
    -- 10. Get_requests -- + + +
    -- 11. Read_request_data -- + + +
    -- 12. Get_Users -- + + +
    -- 13. Get_User_Roles -- + + +
    -- 14. Read_user_data -- + + +
    -- Internal functions
    -- 1. Get_User_Type -- +
    -- Read Hierarchies for Objects from database
    -- 1. Get_Country_Hier -- + + +
    -- 2. Get_l_number_Hier -- + + +
    -- 3. Get_mk_number_Hier -- + + +
    -- 4. Get_licence_Hier -- + + +
    -- 5. Get_formulation_Hier -- + + +
    -- 7. Get_generic_name_Hier -- + + +
    -- 8. Get_global_tm_Hier -- + + +
    -- 9. Get_local_tm_Hier -- + + +
    -- 10. Get_request_list -- + + +
    -- 1.1 Get_global_tm_HStr -- + + +
    -- 2.1 Get_Country_HStr -- + + +
    -- 3.1 Get_local_tm_HStr -- + + +
    -- 4.1 Get_l_number_HStr -- + + +
    -- 5.1 Get_mk_number_HStr -- + + +
    -- 6.1 Get_licence_HStr -- + - -
    -- 7.1 Get_formulation_HStr -- - - -
    -- 8.1 Get_generic_name_HStr -- - - -
    -- 1. Get_Countries
    -- Record set Structure
    -- country_id
    -- country_name
    -- is_active
    -- role_id (for non HQ users)
    PROCEDURE GC ( p_user_id varchar2
    , p_is_active CHAR DEFAULT 'Y'
    , r_rs out rs_type )
    -- 2. Get_l_numbers
    -- Record set Structure
    -- l_number_id
    -- l_number_desc
    -- is_active
    PROCEDURE GIN ( p_user_id varchar2
    , p_is_active CHAR DEFAULT 'Y'
    , r_rs out rs_type )
    -- 3. Get_mk_numbers
    -- Record set Structure
    -- mk_number_id
    -- mk_number_desc
    -- is_active
    PROCEDURE GMN ( p_user_id varchar2
    , p_is_active CHAR DEFAULT 'Y'
    , r_rs out rs_type )
    -- 4. Get_licences
    -- Record set Structure
    -- licesnce_id
    -- licesnce_name
    -- licesnce_abrv
    -- is_active
    PROCEDURE GL ( p_user_id varchar2
    , p_is_active CHAR DEFAULT 'Y'
    , r_rs out rs_type )
    -- 5. Get_formulations
    -- Record set Structure
    -- formulation_id
    -- formulation_name
    -- is_active
    PROCEDURE GF ( p_user_id varchar2
    , p_is_active CHAR DEFAULT 'Y'
    , r_rs out rs_type )
    -- 6. Get_request_x_frm
    -- Record set Structure
    -- formulation_id
    -- formulation_name
    -- request_id
    PROCEDURE GRX ( p_user_id varchar2
    , p_request_id number
    , r_rs out rs_type )
    -- 7. Get_generic_names
    -- Record set Structure
    -- generic_name_id
    -- generic_name_text
    -- l_number_id
    -- l_number_desc
    -- mk_number_id
    -- mk_number_desc
    -- is_active
    PROCEDURE GGN ( p_user_id varchar2
    , p_is_active CHAR DEFAULT 'Y'
    , r_rs out rs_type )
    -- 8. Get_global_tm
    -- Record set Structure
    -- gtm_name_id
    -- gtm_name_text
    -- generic_name_id
    -- generic_name_text
    -- l_number_id
    -- l_number_desc
    -- mk_number_id
    -- mk_number_desc
    -- is_active
    PROCEDURE GGT ( p_user_id varchar2
    , p_is_active char default 'Y'
    , r_rs out rs_type )
    -- 9. Get_local_tm
    -- Record set Structure
    -- ltm_name_id
    -- ltm_name_text
    -- request_id
    -- country_id
    -- country_name
    -- generic_name_id
    -- generic_name_text
    -- is_default
    -- is_active
    PROCEDURE GLT ( p_user_id varchar2
    , p_country_id number DEFAULT 0
    , p_is_default CHAR DEFAULT '*'
    , p_is_active CHAR DEFAULT 'Y'
    , r_rs out rs_type )
    -- 10. Get_requests
    -- Record set Structure
    -- request_id
    -- gtm_name_id
    -- ltm_name_id
    -- licesnce_id
    -- requestor_isid
    -- hq_isid
    -- request_status_id
    -- lanch_date
    -- change_status_date
    -- country_name
    -- gtm_name_text
    -- ltm_name_text
    -- generic_name_text
    -- licesnce_name
    -- licesnce_abrv
    -- l_number_id
    -- l_number_desc
    -- mk_number_id
    -- mk_number_desc
    -- is_active
    PROCEDURE GR ( p_user_id varchar2
    , p_country_id number DEFAULT 0
    , p_global_tm number DEFAULT 0
    , p_status number DEFAULT 0
    , p_is_active CHAR DEFAULT 'Y'
    , r_rs out rs_type )
    -- 11. Read_request_data
    -- Record set Structure
    -- request_id
    -- gtm_name_id
    -- ltm_name_id
    -- licesnce_id
    -- requestor_isid
    -- hq_isid
    -- request_status_id
    -- lanch_date
    -- change_status_date
    -- country_name
    -- gtm_name_text
    -- ltm_name_text
    -- generic_name_text
    -- licesnce_name
    -- licesnce_abrv
    -- l_number_id
    -- l_number_desc
    -- mk_number_id
    -- mk_number_desc
    -- is_active
    PROCEDURE RRD ( p_user_id varchar2
    , p_request_id number
    , r_rs out rs_type )
    END PACKAGE_NAME;
    /

  • Oracle 9i backup onto Oracle 10g

    Hi All,
    Is it possible to restore the SAP backup taken in Oracle 9.i onto the Oracle 10g.
    If possbile, can anyone share the documents for the same?
    Thanks in advance,
    DVRK

    > You won't be able to use 9i DBFs on a 10g DB. You need to go 9i -> 9i then upgrade your "new" DB to 10g.
    This is not true as stated. There is no difference in upgrading an installed 9.2 database (as shutdown, install 10.2 software and upgrade) and copying files over and doing the upgrade directly.
    See (as written already)
    Note 932722 - Upgrade to Oracle 10.2 during a database copy
    Markus

  • URL Problem Oracle 10g Forms and Reports

    Hello Room,
    As this question is related to forms and reports both, I have posted it here. I have a system which needs to be deployed in Local Lan Network and also the same Local Lan user should be able to access the same application via internet. In Addition there are also suppliers, customers who dosen't have oracle installed but will be accessing forms and reports via the url through internet which will be a natted url to our public IP. I have loaded Oracle 11g on windows 7 and all my network clients are on windows 7. I have not loaded forms and reports 10g on server, but only database 11g is installed on server. My problem is listed in points below:-
    1. Do I need to install forms and reports on server to achieve the above scenario ? or the local network installation of forms and reports on all client PC's will do ?
    2. To start OC4J instance, shall i start it only on server through batch file while booting server, or it needs to be started on all client PC's to start work from client end ?
    3. When i run forms from my client PC I get local url http://127.0.0.1/ to reach forms servlet which end up in http://localpc/.... from cookie redirect, whether this needs to be http://server/...... on all client PC's to reach the forms servlet ?
    4. If I have to start url http://server/ instead of http://127.0.0.1/... automatically while running every form to reach forms servlet, how to achieve this ?
    5. There are reports to be run from forms and parameters needs to be passed in reports from forms 10g. So in web.show_document shall i refer to absolute url for local acccess or http://server url as the same user can go to internet to access the data. ?
    6. if I load forms and reports 10g on server, do I need to install forms and reports on client end seperately to gain access in local network ?
    7. My forms and reports folders are located on server which are shared for access.
    8. What will be the scenario in case of suppliers and customers who does not have anything installed on their PC and will access forms and reports through internet ?
    I want to minimize my work. Please suggest me how to proceed about accessing forms, passing url from forms to reports in web.show_document, and Internet access url ?
    Your help is highly appreciated. Thank you in advance.

    I have tried to explain you in decent way several times that I am not lazy and there are reasons that I do not want to read pdf, because I have already read that all ! In the future please do not respond to my thread. I am not asking for your personal time. If you do not understand my efforts. Just ignore it. I have read all the white papers of Oracle and give me your email id, I will send you all the code which I have read or downloaded. You should know that the knowledge diminish as the technology change. And that does not mean every user in the forum is stupid and as wise as you are. I repeat to state that I have 15 years of experience in Oracle forms 6i._ including Oracle 7,8,9i. This is the first time I am ever visiting oracle forums since past several years. I was the first person to use oracle 7 in my city where people were not knowing what oracle is. At that time I was knowing that the password for scott is tiger which even the reputed institutes in my city was not knowing. at that time I was also knowing that one of the person from oracle made a mistake in indexing the rowid. I think this should be enough to you for now.

  • Instalation Problem Oracle 10g In Fedora Core 4

    Hello
    I have this installer oracle-xe-univ-10.2.0.1-1.0.i386.rpm already installed in Fedora Core 5 without any problem
    when i didt it for Fedora Core 4 (other machine i have this error) (same instalation configuration!!!)
    [root@localhost Section1]# rpm -Uvh oracle-xe-univ-10.2.0.1-1.0.i386.rpm
    Preparing...                ########################################### [100%]
       1:oracle-xe-univ         ########################################### [100%]
    Executing Post-install steps...
    You must run '/etc/init.d/oracle-xe configure' as the root user to
    configure the database.
    [root@localhost Section1]# /etc/init.d/oracle-xe configure
    Oracle Database 10g Express Edition Configuration
    This will configure on-boot properties of Oracle Database 10g Express
    Edition.  The following questions will determine whether the database should
    be starting upon system boot, the ports it will use, and the passwords that
    will be used for database accounts.  Press <Enter> to accept the defaults.
    Ctrl-C will abort.
    Specify the HTTP port that will be used for Oracle Application Express [8080]:8081
    Specify a port that will be used for the database listener [1521]:1521
    Specify a password to be used for database accounts.  Note that the same
    password will be used for SYS and SYSTEM.  Oracle recommends the use of
    different passwords for each database account.  This can be done after
    initial configuration:
    Confirm the password:
    Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:n
    Starting Oracle Net Listener...Done
    Configuring Database...grep: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/log/*.log: No such file or directory
    Done
    /bin/chmod: cannot access `/usr/lib/oracle/xe/oradata/XE': No such file or directory
    /bin/chmod: cannot access `/usr/lib/oracle/xe/oradata/XE': No such file or directory
    Starting Oracle Database 10g Express Edition Instance...Done
    Installation Completed Successfully.
    To access the Database Home Page go to "http://127.0.0.1:8081/apex"
    [root@localhost Section1]#when i start up
    [root@localhost Section1]# /etc/init.d/oracle-xe enable
    [root@localhost Section1]# /etc/init.d/oracle-xe start
    Starting Oracle Net Listener.
    Starting Oracle Database 10g Express Edition Instance.
    Failed to start Oracle Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr and Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus.
    [root@localhost Section1]#i cant open the browser with the url http://127.0.0.1:8081/apex
    of course that i can do this in my other FC5
    how i can resolve this???
    thanks so much for advanced
    Regards

    2) XE Forum. If you have XE working and can get to the web page, you should see the link to register for the XE forum. You must register and then 'sign in' to see the XE forum. The link on your XE home page should point to http://www.oracle.com/technology/xe/registration'
    1) What's the difference ... ?
    OK ... here we go ....
    Oracle has hundreds of products. I like to group them into 'technology' and 'application' products.
    The 'technoloy' products I group into
    - data management == database
    - data access == applicaiton server (fusion)
    - data manipulation == developer tools and languages
    - data sharing == collaboration suite
    Without data access, the data management and data manipulation is plain 'client-server' stuff.
    With data access, you stick an application server (web server, J2EE server, other server) between the client and the database.
    The Oracle Application Server is a collection of Oracle technology designed to support n-tier computing. The technology includes:
    - http server (Apache stuff)
    - reporting server
    - portal server
    - forms/data entry server
    - generic J2EE server
    - BPEL and SOA orchestration
    - Web Services server
    - workflow and intergration server
    - centralized security and single sign-on server
    and a lot more.
    The Oracle database, of course, stores and manages data. Oracle now has many 'database managers', including
    - Oracle Database == the traditional one
    - Times Ten == in memory only, but very high speed
    - Berkeley == embedded (to be included as part of your application)
    - Lite == for laptops and remote devices
    and more
    The traditional Oracle database has many features. These features may not be needed by all organizations. So Oracle has created several editions. These are Express, Standard Edition One, Standard Edition, Enterprise Edition and Personal Edition. In the order presented, each adds more feature than the one before but includes all the features from the one before.
    The Express Edition has the fewest features and the simplest install. It has no official Oracle support and has size limitations (4GB data max, only runs one 1 CPU). It includes Application Express which allows you to access the data from a web browser. I think of this as 'Microsoft Access, with Oracle multi-user reliability, on the Web'.
    The Standard Edition One has everything from Express and adds: Java in the database, ability to use up to 2 CPU, many more features such as multi-media storage, no data size limit. It also changes the install to use the Oracle Univeral Installer.
    Standard Edition adds Real Application Cluster to allow up to 4 CPU to be used, whether the 4 CPU are on one, two or four machines.
    Enterprise Edition adds many high availability and scalability features to ensure the database will try to stay up all the time and will be able to handle many hundreds or thousands of users. Many DBA features are added to allow detailed tuning and management. And many options such as Partitioning, Label Security and Spatial can be purchased and added to this edition.
    Personal Edition includes all of Enterprise Edition AND all of the Enterprise Edition options except Real Application Cluster. It is designed to be used by the Oracle developer so it is very inexpensive (in comparison to the Enterprise Edition) but it is limited (by the honor system) to one user access.
    So when you use Express Edition, everytthing you do can be done in Enterprise Edition as well. Express Edition is a great learning tool for getting comfortable with the commercial Oracle database. It is also a great tool for developing applications for small organizations or even for home use. A great tutorial for XE is at http://st-curriculum.oracle.com/tutorial/DBXETutorial/index.htm
    All of this is described in a few pages of documentation (about 70 thousand) at http://docs.oracle.com. If you want to understand Oracle well, you may have to spend a bit less time with the nuns for a while.

  • Database cold backup in oracle 10g

    Hi,
    oracle-10.2g
    solaris-10
    The oracle database i connected with the sun cluster 3.2(two node cluster), for taking the cold backup one of the resource(instance). When I shutdown the resource(instance) for taking the cold backup. The resource(instance) starts automatically again on the same node.
    Kindly provide me the solution for taking the cold backup by shutting down the instance.
    Regards
    Dravidan

    Here is the procedure for taking coldbackup:
    First shutdown the database then copy all the datafiles, tempfiles, control files and logfiles to a safe place using the select command. Then run the script as described here: http://tinyurl.com/bp85dmj

  • Backup in Oracle 10g

    Hi
    I am using Oracle 10 EnterPrise Manager
    I want to make schedule of Backup but I am unable to do it. It is asking Host Credential user name & Password
    I entered user as Administrator and password for my local system
    than also I am unable to do it
    Kindly Provide Me solutions
    Satish

    Assuming Windows (<rant>Why is that 99.9 percent of all posters here can not be bothered to post exact version and platform info? </rant>)
    The OS account needs to have 'logon as batch job' privilege.
    Sybrand Bakker
    Senior Oracle DBA

  • Production backup failed(oracle 10g)

    hi
    after co location of server our production offline_force backup failed.
    i also take aix os level backup in tape , tape device & tape working fine.
    following detail log :
    BR0278W Command output of 'LANG=C cd /oracle/AHP/sapbackup && LANG=C cpio -iuvB .tape.hdr0 < /dev/rmt0.1':                                                  
    BR0279W Return code from 'LANG=C cd /oracle/AHP/sapbackup && LANG=C cpio -iuvB .tape.hdr0 < /dev/rmt0.1': 2                                                  
    BR0359W Restore of /oracle/AHP/sapbackup/.tape.hdr0 from /dev/rmt0.1 failed due to previous errors                                                  
    BR0218W Checking label on volume in device /dev/rmt0.1 failed                                                  
    BR0278W Command output of 'LANG=C cd /oracle/AHP/sapbackup && LANG=C cpio -iuvB .tape.hdr0 < /dev/rmt0.1':                                                  
    BR0279W Return code from 'LANG=C cd /oracle/AHP/sapbackup && LANG=C cpio -iuvB .tape.hdr0 < /dev/rmt0.1': 2                                                  
    BR0359W Restore of /oracle/AHP/sapbackup/.tape.hdr0 from /dev/rmt0.1 failed due to previous errors                                                  
    BR0218W Checking label on volume in device /dev/rmt0.1 failed                                                  
    BR0260E BRBACKUP cancelled by user               
    regards
    mohsin

    It seems, that the OS can´t read the label from the tape.
    Is the tape device correctly configured - can you access the tape from OS level?
    Markus

  • Importing compressed backup in Oracle 10g

    Hi everyone,
    I have to restore a dump from a compressed file with .exp as extension on Windows OS.
    After searching the web, there were more import samples on UNIX than on Windows.
    Has anyone restored a dump from a compressed file(.exp) in Windows OS? Please help.
    Oracle Version:10.1.0.4.0
    OS Name & Version: Windows 2003
    Thank You,
    Regards,
    Sunny.

    user4198347 wrote:
    Hi everyone,
    I have to restore a dump from a compressed file with .exp as extension on Windows OS.
    After searching the web, there were more import samples on UNIX than on Windows.
    Has anyone restored a dump from a compressed file(.exp) in Windows OS? Please help.
    Oracle Version:10.1.0.4.0
    OS Name & Version: Windows 2003
    Thank You,
    Regards,
    Sunny.As an expansion on Hemant's comments, you need to be aware (if you aren't already - I'm surprised at the number of IT "professionals" who aren't) that there is no magic in the "extension" part of a file name. There are certain conventions, but they really mean nothing as far as the actual contents (data AND format) of the file. Putting a "Corvette" nameplate on my Honda Civic doesn't make it a Corvette. Putting a ".exp" extension on some unknown file doesn't make it a compressed dump file.

  • How to Restore datas in Oracle 10g using hot backup?

    I did Hot backup things (On-line backup) in Oracle 10g (Windows environment)
    Now backup files are stored in physical location..
    How to restore the datas to original location..
    Can any one give the url or command for recovery in ora 10g for hot backup
    Thanks

    Please do not dump all of your work in this forum, and expect volunteers to do it for free!!!
    Dear Great Senior DBA Sybrand Bakker
    What are Oracle Discussion Forums?
    Oracle Discussion Forums is an interactive community for sharing information, questions, and comments about Oracle products and related technologies. Most forums are moderated by product managers, and all of them are frequently visited by knowledgeable users from the community
    oracle forums is not your place for showing “bossing” it is a place where junior to seniors share there knowledge and advices, it means helping and sharing….. Knowledge is for giving ….giving only it will increase… don’t discourage any one like this ……
    There are my Great Seniors (not like u) mainly respected Mr. Jonathan Lewis, Mr. Don Burleson and a lot of oracle nominated ACE members are all giving patiently replay to jr. to sr.
    Obeasley oracle doubts are mostly related to practical issue only……
    Pls try to learn the word meaning of “volunteers”

  • Oracle 10g Real Time Backup

    Hi
    My company need to set database real time backup for Oracle 10g release 2 (Standard Edition).
    I see in Oracle Database 10g Product Family [Oracle Database 10g Product Family|http://www.oracle.com/technology/products/database/oracle10g/pdf/twp_general_10gdb_product_family.pdf] not support the Data Guard.
    Can I do it in Oracle 10g SE ?
    Thanks in advance

    hi,
    trouble is the cost of EE can be quite expensive
    another way of creating a psuedo (hope I spelt that correctly) dataguard would be to script a method of shipping archive files to a DR server.
    Live System
    =========
                 BEGIN
              IF ORACLE ONLINE THEN
                            SWITCH LOG;
                       END IF;
                       IF ANOTHER INSTANCE OF SCRIPT RUNNING (LOCAL OR REMOTE) THEN
                                 ERROR;
                                 EXIT;
                       END IF;
              IF (STANDBY NOT ONLINE) THEN
                              ERROR;
                              SEND EMAIL;
                              EXIT;
                       END IF;
                       GET LAST SHIPPED LOG FILE TIMESTAMP FROM THE REMOTE SITE OR FROM LOCAL SERVER;
                        WHILE LOG > SHIPPED LOG FILE TIMESTAMP DO
                                  TRANSFER LOG FILE TO REMOTE SITE;
                                  DO CHECKSUM ON LOG FILES;
                                  IF NOT MATCH THEN
                                         RETRY TRANSFER;
                                         IF FAILURE 3 TIME THEN
                                               ERROR;
                                               SEND EMAIL;
                                         END IF;
                          END IF;
                                  ' GOT THIS FAR SO ALL IS OK
                                  MARK THE LOG FILE AS TRANSFERRED;
                        WEND;        
    DR System
    ========
              BEGIN
                   CREATE A LOCK SEMAPHORE;        - Only one instance allowed
                                 CHECK LAST APPLIED LOG FILE;
                   IF CONNECTION TO LIVE SERVER OK THEN
                                         CHECKSUM  NEXT LOG FILE WITH LIVE SYSTEM;
                                         IF CHECKSUM NOT SAME THEN
                                                  IF LOG FILE ON ITS WAY FROM LIVE THEN
                                                           EXIT;
                                                  END IF;
                                                  WHILE  LOGFILE EXISTS DO
                                                            GET NEXT LOG FILE FROM LIVE;
                                                  WEND;
                                         END IF;
                                 ELSE
                                         ' Extra work
                                         APPLY NEXT LOG FILE
                                 END IF;
                   APPLY LOG FILES;
                                 WORKOUT NO OF LOG FILE APPLIED;
                                 KEEP SPECIFIED PERCENTAGE LOG FILES;
                                 DELETE EXTRA LOG FILES;
                                 TRANSFER LAST APPLIED LOG FILE ATTRIBUTES TO LIVE SERVER;
                                 EXIT;
                         END;       I cannot give you the actual code that I have as there are some more bits that I have added for our client but what it does is give you an over view of the process involved for creating a pseudo DG environment.
    regards
    Alan

  • How to include Date for backup of Oracle in a script !!! LINUX

    hi,
    I need to add date & time for the backup of Oracle 10g on OEL 5 32 bit.
    and also how do I get an email when Rman finishes its job
    Thanks in advanced.

    user584721 wrote:
    Thanks for the update..
    I am using a script called full_dpbackup.sh which contain the following ...
    expdp system/oracle schemas=scott directory=test_dir dumpfile=scott.dmp logfile=expdpscott.log mpencryption=all encryption_password=scott reuse_dumpfiles=y compression=all
    I need to include the date & time in this script.
    Thanks in advanced.That's not a backup, it's an export.
    I don't have my linux system handy to debug, but what you want would be something like:
    expdp ..... dumpfile=exp_`date`.logThe reverse single quote (I don't know the official term, but it's the character just to the left of the one/exclamation on a US keyboard) tells the shell to substitute the value returned by the command enclosed by the marks. In the example above, it would substitute the value returned by the "date" command. That command has many, many arguments to control the format of what is returned. Look them up an any good nix reference, or just "man date".  (As for any good nix reference, you should at a minimum have a copy of "Unix In A Nutshell" on your desk.)

Maybe you are looking for