Restore in Oracle

Hi,
I am having a backup of a oracle 11g (windows 32 bit) database i would like to restore in another server which is fresh. I would like to know if there was no database in that server, this is the first database i am going to restore, will new database created and restored (or) i need to create a database then only i will be able to restore. In sql Server there is the option to restore , where if the database is not there new database will be created on restore option.
Thanks!

Revert if you have done a search of the documentation and haven't found an answer.
The chapter on Complete Database Recovery http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmcomre.htm#i1009223 assumes that you are restoring back to the same server.
If restoring to another server you need to
a. Install the RDBMS Software (the same version and patch level)
b. On Windows specifically : create the database service
After that, follow the chapter on Complete Database Recovery, beginning with restoring the parameter file, then the controlfile and then restoring and recovering the database.
Hemant K Chitale

Similar Messages

  • Critical restore of oracle

    I have Control Files, Archieve Logs, Tablespace backup from my old database. My system crashed and lost whole
    data. I have installed oracle in my system now(fresh install). With the above backups can I restore my oracle database. If yes, can someone help me explaining step by step.
    Do I need to create the instance first. Will my redo logs be created automatically....
    It is very critical
    Please help...
    Santhosh

    If it is a windows based system you will need to use oradim to create the services, but you do not need to recrete the instance.
    You will also need the init file and if running 9, the spfile.
    Replace all files to their original location.
    Set ORACLE_SID to the required value then start SQLPLUS and login as '/ as sysdba'.
    issue the following commands:
    startup mount
    alter database recover automatic (if there are no errors then continue, if there are errors then you may need to recover until cancel).
    alter database open reset logs (this will recreate your redolog groups)
    Remember, this will only work if your are recovering to the same OS/Oracle version.

  • Restoring an oracle home and oracle inventory

    Hi,
    We are on oracle 10.2.0.3 and oracle 9.2.07 on solaris 8. (there are both versoin db on same server)
    I am taking a backup of oracle home and inventory before a critical os patch. suppose something goes wrong and the whole server has to be rebuilt, what is the process of restoring the oracle home and the oracle inventory? should I just unzip the zipped backup in the same directory?
    Thanks,
    Edited by: orausern on Mar 30, 2010 12:38 AM

    Also, probably would be a good idea to take a quick glance at the Oracle Homes section of the Universal Installer guide.
    http://download.oracle.com/docs/cd/B19306_01/em.102/b16227/oui3_manage_oracle_homes.htm#i1006015

  • Error While Restoring the Oracle Database using Cloud Backup

    Hello,
    I have been facing a serious error while oracle restoration. I have Backed up Complete Database. For Testing restoration, the DBA removed all the DBF, logs and Control File from there orignal Position.
    He restarted the Database in "Startup nomount" mode. No i am not able to connect to target database from my Backup Server remotely.
    Whenever i try to restore, it shows following error:-
    ***RMAN-04005: error from target database:***
    ***ORA-12528: TNS:listener: all appropriate instances are blocking new connections***
    ***ORA-12528: TNS:listener: all appropriate instances are blocking new connections***
    ***"ORA-12528: TNS:listener: all appropriate instances are blocking new connections***
    I am using Oracle 11g R2 x64-bit database and on Windows Platform with Windows Server 2008 R2.
    Can Anyone help me by connecting, rman to the remote target database when it is in nomount mode.
    I am not able to connect the sqlplus remotely.\
    Thanks in Advance...
    Regards
    Pravesh Upadhyay

    Devika,
    You have to stop all your adapters, your repository, close all IStudio client and stop all sessions connected to this schema before running the oaiimport.
    If you don't do this the oaiimport will not work properly as the script will not be able to drop the user and will try to re-create existing objects.
    Tip : use the following select to list the session using oaihub902 user (and get rid off them)
    select username, count(*)
    from V$session
    where username in ('OAIHUB902')
    group by username
    order by count(*) desc, username
    JL

  • How to restore a Oracle 9i Backup from Sun Solaris to Linux

    Dear all,
    I am using Oracle 9.0.1.
    I make a Hot Backup which made by Rman in the Sun Solaris
    and now, I want to restore this backup to the Linux machine.
    But in the Linux machine,
    the database name & path is different from that in Sun Solaris.
    Does Oracle backup can restore across different platforms?
    Does anyone know how to do write ryman statement to do this?
    Thank for your kindly help.
    Wilson

    You cant resore backup in different platform.
    /Jonas

  • HOW TO RESOLVE ORA-01110 during RMAN restoration in oracle 11g

    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\tanmoy>rman
    Recovery Manager: Release 11.1.0.6.0 - Production on Fri Mar 29 22:55:02 2013
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    RMAN> connect target orcl
    target database Password:
    connected to target database (not started)
    RMAN> startup nomount;
    Oracle instance started
    Total System Global Area 535662592 bytes
    Fixed Size 1334380 bytes
    Variable Size 150995860 bytes
    Database Buffers 377487360 bytes
    Redo Buffers 5844992 bytes
    RMAN> restore controlfile from autobackup;
    Starting restore at 29-MAR-13
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=153 device type=DISK
    recovery area destination: D:\app\administrator\flash_recovery_area
    database name (or database unique name) used for search: ORCL
    channel ORA_DISK_1: AUTOBACKUP D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\AUT
    OBACKUP\2012_12_12\O1_MF_S_801849930_8DJQHTTW_.BKP found in the recovery area
    AUTOBACKUP search with format "%F" not attempted because DBID was not set
    channel ORA_DISK_1: restoring control file from AUTOBACKUP D:\APP\ADMINISTRATOR\
    FLASH_RECOVERY_AREA\ORCL\AUTOBACKUP\2012_12_12\O1_MF_S_801849930_8DJQHTTW_.BKP
    channel ORA_DISK_1: control file restore from AUTOBACKUP complete
    output file name=D:\APP\ADMINISTRATOR\ORADATA\ORCL\CONTROL01.CTL
    output file name=D:\APP\ADMINISTRATOR\ORADATA\ORCL\CONTROL02.CTL
    output file name=D:\APP\ADMINISTRATOR\ORADATA\ORCL\CONTROL03.CTL
    Finished restore at 29-MAR-13
    RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1
    RMAN> catalog recovery area;
    Starting implicit crosscheck backup at 29-MAR-13
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=153 device type=DISK
    Crosschecked 5 objects
    Finished implicit crosscheck backup at 29-MAR-13
    Starting implicit crosscheck copy at 29-MAR-13
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 29-MAR-13
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_12_12\O
    1_MF_1_1450_8DK6YO0M_.ARC
    File Name: D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_12_13\O
    1_MF_1_1451_8DLPSYDY_.ARC
    File Name: D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_12_13\O
    1_MF_1_1452_8DLVBJZ7_.ARC
    File Name: D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_12_13\O
    1_MF_1_1452_8DM0LM1L_.ARC
    File Name: D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_12_13\O
    1_MF_1_1453_8DM0LM1L_.ARC
    File Name: D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_12_13\O
    1_MF_1_1454_8DM0NQ8X_.ARC
    File Name: D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\AUTOBACKUP\2012_12_12\O
    1_MF_S_801849930_8DJQHTTW_.BKP
    searching for all files in the recovery area
    List of Files Unknown to the Database
    =====================================
    File Name: D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_12_13\O
    1_MF_1_1453_8DLXCJOB_.ARC
    Do you really want to catalog the above files (enter YES or NO)? Y
    cataloging files...
    no files cataloged
    List of Files Which Where Not Cataloged
    =======================================
    File Name: D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_12_13\O
    1_MF_1_1453_8DLXCJOB_.ARC
    RMAN-07517: Reason: The file header is corrupted
    RMAN> list backup;
    List of Backup Sets
    ===================
    BS Key Size Device Type Elapsed Time Completion Time
    512 245.35M DISK 00:00:39 12-DEC-12
    BP Key: 512 Status: AVAILABLE Compressed: NO Tag: TAG20121212T160059
    Piece Name: D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2012
    _12_12\O1_MF_ANNNN_TAG20121212T160059_8DJQ7OF3_.BKP
    List of Archived Logs in backup set 512
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 1440 487654314 09-DEC-12 487695982 10-DEC-12
    1 1441 487695982 10-DEC-12 487719639 10-DEC-12
    1 1442 487719639 10-DEC-12 487741536 10-DEC-12
    1 1443 487741536 10-DEC-12 487741634 10-DEC-12
    1 1444 487741634 10-DEC-12 487771824 10-DEC-12
    1 1445 487771824 10-DEC-12 487803737 12-DEC-12
    1 1446 487803737 12-DEC-12 487810247 12-DEC-12
    1 1447 487810247 12-DEC-12 487819910 12-DEC-12
    1 1448 487819910 12-DEC-12 487837944 12-DEC-12
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    513 Full 1.94G DISK 00:03:18 12-DEC-12
    BP Key: 513 Status: AVAILABLE Compressed: NO Tag: TAG20121212T160150
    Piece Name: D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2012
    _12_12\O1_MF_NNNDF_TAG20121212T160150_8DJQ92L5_.BKP
    List of Datafiles in backup set 513
    File LV Type Ckp SCN Ckp Time Name
    1 Full 487837993 12-DEC-12 D:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSTEM01.D
    BF
    2 Full 487837993 12-DEC-12 D:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSAUX01.D
    BF
    3 Full 487837993 12-DEC-12 D:\APP\ADMINISTRATOR\ORADATA\ORCL\UNDOTBS01.
    DBF
    4 Full 487837993 12-DEC-12 D:\APP\ADMINISTRATOR\ORADATA\ORCL\USERS01.DB
    F
    5 Full 487837993 12-DEC-12 D:\APP\ADMINISTRATOR\ORADATA\ORCL\EXAMPLE01.
    DBF
    6 Full 487837993 12-DEC-12 D:\APP\ADMINISTRATOR\ORADATA\ORCL\HMS_SMILE.
    DBF
    7 Full 487837993 12-DEC-12 D:\APP\ADMINISTRATOR\ORADATA\ORCL\HMS_GENERA
    L.DBF
    8 Full 487837993 12-DEC-12 D:\APP\ADMINISTRATOR\ORADATA\ORCL\HMS_EMR.DB
    F
    9 Full 487837993 12-DEC-12 D:\APP\ADMINISTRATOR\ORADATA\ORCL\HMS_DIAGNO
    STICS.DBF
    10 Full 487837993 12-DEC-12 D:\APP\ADMINISTRATOR\ORADATA\ORCL\HMS_PHARMA
    CY.DBF
    11 Full 487837993 12-DEC-12 D:\APP\ADMINISTRATOR\ORADATA\ORCL\HMS_PATIEN
    T.DBF
    12 Full 487837993 12-DEC-12 D:\APP\ADMINISTRATOR\ORADATA\ORCL\HMS_ACCOUN
    T.DBF
    13 Full 487837993 12-DEC-12 D:\APP\ADMINISTRATOR\ORADATA\ORCL\HMS_INVENT
    ORY.DBF
    14 Full 487837993 12-DEC-12 D:\APP\ADMINISTRATOR\ORADATA\ORCL\HMS_HR.DBF
    15 Full 487837993 12-DEC-12 D:\APP\ADMINISTRATOR\ORADATA\ORCL\HMS_DUMMY.
    DBF
    16 Full 487837993 12-DEC-12 D:\APP\ADMINISTRATOR\ORADATA\ORCL\HMS_AUDIT.
    DBF
    17 Full 487837993 12-DEC-12 D:\APP\ADMINISTRATOR\ORADATA\ORCL\HMS_FACILI
    TIES.DBF
    19 Full 487837993 12-DEC-12 D:\APP\ADMINISTRATOR\ORADATA\ORCL\HMS_COMMON
    .DBF
    BS Key Size Device Type Elapsed Time Completion Time
    514 222.00K DISK 00:00:06 12-DEC-12
    BP Key: 514 Status: AVAILABLE Compressed: NO Tag: TAG20121212T160520
    Piece Name: D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2012
    _12_12\O1_MF_ANNNN_TAG20121212T160520_8DJQHGS1_.BKP
    List of Archived Logs in backup set 514
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 1449 487837944 12-DEC-12 487838190 12-DEC-12
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    515 Full 12.17M DISK 00:00:00 12-DEC-12
    BP Key: 515 Status: AVAILABLE Compressed: NO Tag: TAG20121212T160530
    Piece Name: D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\AUTOBACKUP\201
    2_12_12\O1_MF_S_801849930_8DJQHTTW_.BKP
    SPFILE Included: Modification time: 12-DEC-12
    SPFILE db_unique_name: ORCL
    Control File Included: Ckp SCN: 487838210 Ckp time: 12-DEC-12
    RMAN> run {Set until sequence 1450;
    2> Restore database;
    3> Recover database;
    4> }
    executing command: SET until clause
    Starting restore at 29-MAR-13
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to D:\APP\ADMINISTRATOR\ORADATA\ORC
    L\SYSTEM01.DBF
    channel ORA_DISK_1: restoring datafile 00002 to D:\APP\ADMINISTRATOR\ORADATA\ORC
    L\SYSAUX01.DBF
    channel ORA_DISK_1: restoring datafile 00003 to D:\APP\ADMINISTRATOR\ORADATA\ORC
    L\UNDOTBS01.DBF
    channel ORA_DISK_1: restoring datafile 00004 to D:\APP\ADMINISTRATOR\ORADATA\ORC
    L\USERS01.DBF
    channel ORA_DISK_1: restoring datafile 00005 to D:\APP\ADMINISTRATOR\ORADATA\ORC
    L\EXAMPLE01.DBF
    channel ORA_DISK_1: restoring datafile 00006 to D:\APP\ADMINISTRATOR\ORADATA\ORC
    L\HMS_SMILE.DBF
    channel ORA_DISK_1: restoring datafile 00007 to D:\APP\ADMINISTRATOR\ORADATA\ORC
    L\HMS_GENERAL.DBF
    channel ORA_DISK_1: restoring datafile 00008 to D:\APP\ADMINISTRATOR\ORADATA\ORC
    L\HMS_EMR.DBF
    channel ORA_DISK_1: restoring datafile 00009 to D:\APP\ADMINISTRATOR\ORADATA\ORC
    L\HMS_DIAGNOSTICS.DBF
    channel ORA_DISK_1: restoring datafile 00010 to D:\APP\ADMINISTRATOR\ORADATA\ORC
    L\HMS_PHARMACY.DBF
    channel ORA_DISK_1: restoring datafile 00011 to D:\APP\ADMINISTRATOR\ORADATA\ORC
    L\HMS_PATIENT.DBF
    channel ORA_DISK_1: restoring datafile 00012 to D:\APP\ADMINISTRATOR\ORADATA\ORC
    L\HMS_ACCOUNT.DBF
    channel ORA_DISK_1: restoring datafile 00013 to D:\APP\ADMINISTRATOR\ORADATA\ORC
    L\HMS_INVENTORY.DBF
    channel ORA_DISK_1: restoring datafile 00014 to D:\APP\ADMINISTRATOR\ORADATA\ORC
    L\HMS_HR.DBF
    channel ORA_DISK_1: restoring datafile 00015 to D:\APP\ADMINISTRATOR\ORADATA\ORC
    L\HMS_DUMMY.DBF
    channel ORA_DISK_1: restoring datafile 00016 to D:\APP\ADMINISTRATOR\ORADATA\ORC
    L\HMS_AUDIT.DBF
    channel ORA_DISK_1: restoring datafile 00017 to D:\APP\ADMINISTRATOR\ORADATA\ORC
    L\HMS_FACILITIES.DBF
    channel ORA_DISK_1: restoring datafile 00019 to D:\APP\ADMINISTRATOR\ORADATA\ORC
    L\HMS_COMMON.DBF
    channel ORA_DISK_1: reading from backup piece D:\APP\ADMINISTRATOR\FLASH_RECOVER
    Y_AREA\ORCL\BACKUPSET\2012_12_12\O1_MF_NNNDF_TAG20121212T160150_8DJQ92L5_.BKP
    channel ORA_DISK_1: piece handle=D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\B
    ACKUPSET\2012_12_12\O1_MF_NNNDF_TAG20121212T160150_8DJQ92L5_.BKP tag=TAG20121212
    T160150
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:05:15
    Finished restore at 29-MAR-13
    Starting recover at 29-MAR-13
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 03/29/2013 23:03:53
    ORA-19698: D:\APP\ADMINISTRATOR\ORADATA\ORCL\REDO01.LOG is from different databa
    se: id=1339157974, db_name=ORCL
    RMAN> alter database open resetlogs;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 03/29/2013 23:07:08
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: 'D:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSTEM01.DBF'

    Hi,
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 03/29/2013 23:03:53
    ORA-19698: D:\APP\ADMINISTRATOR\ORADATA\ORCL\REDO01.LOG is from different databa
    se: id=1339157974, db_name=ORCL
    RMAN> alter database open resetlogs;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 03/29/2013 23:07:08
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: 'D:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSTEM01.DBF'Restore finished successfully. But Recover is not.
    Can you delete or move D:\APP\ADMINISTRATOR\ORADATA\ORCL\REDO01.LOG - redolog files to othere directory.
    And recover again. Because this redo log files is belonging to other database.
    Regards
    Mahir M. Quluzade

  • How To Restore corrupted Oracle 10g Database

    Hello Guys,
    We have Oracle 10.2.0.3 database installed on Itanium server.
    1. One day we found some packages got invalid & not compiling at all with error –
    ORA-00600: internal error code, arguments: [4097], [], [], [], [], [], [], [].
    2. Then we successfully restored the database from old RMAN backup of previous date that caused this error.
    3. After 2 days again we found the same error in alert_prd log -
    ORA-00600: internal error code, arguments: [ORA-00600: internal error code, arguments: [4097], [], [], [], [], [], [], []
    ORA-06512: at "SYS.DBMS_STATS", line 19089
    4. Then for testing we exported database using exp command & found 3 tables are not exporting because of data block corruption issue.
    5. Then we truncated the data from all 3 tables and then able to export successfully.
    6. After all this we manually run SYS.DMS_STATS job but found same error logged in prd_alert log.
    This looks like, still database block corruption issue is there & we are unable to cure it 100%
    This is a production system & in very critical state now.
    Please looking for a help from all of you expert guys to resolve this issue.
    Thanks in advance,
    ~Amol

    Hello;
    I don't believe you have an issue that RMAN can solve. Since you have an ORA-600 I would use Oracle support.
    There's an Oracle MOS doc on this :
    ORA-600 [6008] Generated Due To Underlying ORA-01410 [ID 743661.1]
    It's an exact match of your version and line number.
    Best Regards
    mseberg

  • How to restore the oracle backup to the other host

    Hi all:
      I used the command 'brbackup' to backup the database on the host A by online type . I had installed a new sap on the host B and there is the same hostname, oracle version, os version, sap version, SID, system number and directory in the host A and host B.Now I want to restore the backup of the host A oralce to the host B ,how can I do ? please tell me the details for the steps.
    THAKS
    the sap envirement: AIX 5.3 + ORACLE 10.2.0.2 + SAP CRM 5.2

    Check the following link:node restore and recovery
    http://help.sap.com/saphelp_nw04/helpdata/en/39/45583eb05a4644e10000000a114084/frameset.htm
    Regards,
    Ashutosh

  • How to restore an Oracle XE Database without online logs and SPFILE?

    Hi there,
    My laptop was crashed last week and I was able to get only current datafiles without two online logs files and SPFILEXE.ORA from my old hard drive. I've installed with the same version of Oracle Database 10g Express Edition Release 10.2.0.1.0* software on Windows XP Pro.
    I have DATAFILEs from my old db instance XE which have my thesis data.
    *'C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF',*
    *'C:\ORACLEXE\ORADATA\XE\UNDO.DBF',*
    *'C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF',*
    *'C:\ORACLEXE\ORADATA\XE\USERS.DBF',*
    *'C:\ORACLEXE\ORADATA\XE\TEMP.DBF',*
    *'C:\ORACLEXE\ORADATA\XE\USERS.DBF'*
    Even though I am not 100% percent sure about If I've set the NOARCHIVELOG mode previously but neither I have the redo log files are backed up i.e. two redo log files are in C:\oraclexe\app\oracle\flash_recovery_area\XE\ONLINELOG nor have SPFILE<<SID>>.ORA. Thus, this is not really typical "+Cold backup+" when you stop the database and zip up all those 9 files (in NOARCHIVELOG mode).
    I've tried the RMAN utility but it seems it requires redo log files too.
    I wonder if I can restore somehow by copying all 6 datafiles to the same folder 'C:\ORACLEXE\ORADATA\XE\' or not. If so, how can I do so?
    Will appreciate any advice.
    Thanks in advance,

    Recovering an SPfile is trivial if you have the alert log, locate the last startup- there will be a section with all the non-default parameters. Copy/paste those items to create a pfile, use it for a startup mount, check the catalog views to see if recovery is needed. Without the online redo logs it will probably need an incomplete recovery.
    So in the old alertlog, [drive:]\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log, grab the lines after "System parameters with non-default values:" its maybe 15 or 20 items for an "out of the box" XE install, save those to a file someplace like [drive:]\oraclexe\app\oracle\admin\xe\init\initXE.ora, fire up sqlplus and connect as sysdba, startup with the pfile ...
    $ sqlplus /nolog
    > connect /as sysdba;
    startup mount pfile='[drive:]\oraclexe\app\oracle\admin\xe\init\initXE.ora';
    If the database makes it to mount mode, check the recovery view ...
    select * from v$recover_file;
    If that view is clean, open 'er up should be good to go ... and create a new spfile:
    alter database open;
    create spfile from pfile='[drive:]\oraclexe\app\oracle\admin\xe\init\initXE.ora';
    If the instance was in archivelog mode and the archive destination wasn't specified it uses flash_recovery_area for storing archivelog files, check if there are any files in the flash_recovery_area/XE/ARCHIVELOG/[yyyy-mm-dd] (?) directories. Or when connected as sysdba a command will tell you if archivelog mode is enabled:
    archive log list;

  • How to restore the oracle 10g database

    Hi all,
    I am very new to oracle. I have experience in mssql and mysql previously.
    Now we have a oracle application to work . I have an oracle database backup (mydata.bak) taken it from my client's oracle database 10g enterprise edition. Now I want to restore the .bak file at my place . I had installed oracle 10g enterprise edition. After that I had created a datbase called praveen by selecting archivelogmode. The database had created . I am able to login through enterprise manager for this praveen database instance.
    Now I want to restore the backup file mydata.bak file into praveen database. May I know how to proceed further?
    Please anybody help me out?
    And basically what is the backup file format in oracle . As I know for mysql it is .sql and for MSsql it is .bak.
    Plz buddies anybody help me out. It is very urgent

    Hi..
    Actually one of the employee related to my client had given me the backup file (mydata.bak). I don't know exactly which type it is?Can't you contact the concerned person at the client side.
    May I know what is the difference between rman and cold backup?In cold backup the database is first cleanly shutdown, and then copies of all the datafiles of the database are taken(all of them in consistent stage).
    RMAN backup is used more where you need to take the backup while the database is up and running.If the database is in ARCHIVELOG mode, then the RMAN backup can be taken while database is in open mode and if the database is in NOARCHIVELOG mode, then in mount stage.
    [http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/part1.htm]
    [http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/part4.htm#BRADV44444]
    Can I start restore by assuming the given backup file as cold and if is not possible by assuming cold backup? Better confirm and then start.
    Anand

  • Backup & restore/recover Oracle BASE

    Before apply upgrade patchset & CUPs i want to take backup of Oracle BASE, any body can send me command/method to do that , and for restore/recover steps also....OS is Solaris8 .....920x are DBs

    Is this right?No
    cd /product/DBHome
    tar cf - * | gzip > /product/archive/DBHome.tar.gzgtar -zcvf /product/archive/DBHome.tar.gz *
    >
    to restore
    Next, delete the Oracle Home:
    cd /product
    rm -rf /product/DBHome
    Restore the backuped Oracle HOME
    mkdir -p /product/DBHome
    gunzip < c| tar xf -gtar -zxvf /product/archive/DBHome.tar.gz

  • Restoring an Oracle Enterprise Edition DB into XE for use with APEX

    Hello, we're just in the process of decomissioning a load of servers and I came across an old Oracle DB box which has an install of APEX (well, HTMLDB) and a backend DB on an Enterprise Edition server, after battling with Oracle for 2 days I finally managed to get it to a state where I think it's restored successfully onto XE but up on the final "startup" I was presented with:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-39712: XE edition server cannot open database
    I really want\need to get this DB off of this server, because as you all probably know - Oracle DB EE isn't exactly cheap, and seen as though it's used for this historical app I kinda need to get it off of this hardware\software and into a low-end VM for it to chug away happily and be accessed when needs be...
    Another option I though of, if I were to do a reinstall of XE, and then data pump the info from the EE to XE? Would that work?
    I apologies for any numptiness in this question, but I really haven't got any experience with Oracle - and it's been a learning curve of much frustration coming from my easy to use MSSQL interfaces!
    The steps I took were:
    1) Run nid to rename the DB from "XE" to "ESTALTST"
    a) Do some faffing about with tnsnames and listener.ora to get it to realise ESTALTST
    2) Take a backup of logs\db from source
    3) Catalog the backups
    4) Restore control file
    5) A lot of messing about getting the DB happy with the structures of things
    6) recover database;
    7) alter database resetlogs; <- this is where it said I had to do startup upgrade;
    8) shutdown immediate; startup upgrade;
    9) Where I am now.
    Thanks,
    Rich.

    Just wondering, if the DB files are about 1Gb, should my dump file be 157Mb?I don't know, that depends on the actual amount of data stored in your database.
    The filesize is no reliable measure for this. To give you a simple example: You have a "order entry" schema where you started storing your data 10 years ago. You initialized your data files with just a few megs and let Oracle do the extension automatically, so it grew and grew and is about 1 GB today. Now you decide that you don't need data that is older than two years in that schema and delete all outdated data. After you did that, your data files still be that 1 GB, though you only use about 20 percent of it. Oracle doesn't shrink your data files automatically...
    To get a good estimation, you can run something like
    SELECT f.file_name,
                            CEIL( f.bytes / 1024 / 1024 ) "SIZE_MB",
                            CEIL( f.bytes / 1024 / 1024 ) - FLOOR( SUM( NVL( fs.bytes, 0 ) ) / 1024 / 1024 ) "USED_MB",
                            FLOOR( SUM( NVL( fs.bytes, 0 ) ) / 1024 / 1024 ) "FREE_MB",
                            CEIL( f.maxbytes / 1024 / 1024 ) "MAX_MB"
                       FROM dba_free_space fs,
                            dba_data_files f
                      WHERE fs.file_id(+)     = f.file_id                   
                   GROUP BY f.file_name,
                            f.bytes,
                            f.maxbytes,
                            f.blocks,
                            f.maxblocks,
                            f.autoextensible
                   ORDER BY f.file_name;to see how much space is actually used in your data files. Note that this doesn't necessarily mean that your dump has to have that size. There are a few aspects (like compression) that could cause a difference...
    -Udo

  • Exp for restore purposes (Oracle 9i Solaris 9)

    Hi Guys,
    Can I use my exp file as a backup copy in case I need to do a restore.
    Thanx.

    No, exp is not a way to do backup and recovery.
    If you want to do backup/recovery you should make use of the ways Oracle provides (RMAN/Offline Backups/Online Backups).
    [http://www.oracle.com/pls/db92/db92.to_toc?pathname=server.920%2Fa96519%2Ftoc.htm&remark=docindex|http://www.oracle.com/pls/db92/db92.to_toc?pathname=server.920%2Fa96519%2Ftoc.htm&remark=docindex]

  • Restore DB13 Oracle backup of RAC+ASM to Standalone server with ASM only

    Dear Experts,
    My SAP ECC System is on Oracle 11g with RAC on ASM. I am taking the backup using DB13 with init<SID>.sap profile as attached.
    I want to restore this backup on single node System with only ASM(no RAC). (ASM File system structure remains the same)
    As per my finding and as per Note 1627541 - BR*Tools support for Oracle ASM and Exadata/ODA, it says use only BRRECOVER to restore the database.
    Can anyone please assist me, in restoring the database. As in step by step commands or points to follow the restore.
    Thanks,
    KK

    Hi Yayati,
    Please refer to SAP guidelines on the configuration for using brtools on Oracle RAC + ASM
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0063fdad-49f6-2e10-22bc-
    c8c4c7f9e055?QuickLink=ora&ov…
    Additional configuration information can be checked under SAP note
    Note 1598594 - BR*Tools configuration for Oracle inst. under "oracle" user
    you need to adapt your init<SID>.sap file according to the recommendations suggested.
    Post this you may use brtools to backup and perform restoration as well.
    Hope this helps.
    Regards,
    Deepak Kori

  • How to restore the oracle 11i backup if windows crashed?

    HI,
    We are running 11.5.0 with database 9i.
    We have single node env on windows 2000.
    Last night our OS was crashed, and we have the last night backup of database on tape drive, but have the application backup which is 3 months before.
    So, can I use this old application backup with current database backup if yes please give me the quick steps?
    I means I will installed the fresh OS and then install the Pre-Req, after that I restore/clone these backup.
    Is there any steps by steps doc or blog for this type of crashed?
    Thanks.

    Last night our OS was crashed, and we have the last night backup of database on tape drive, but have the application backup which is 3 months before.
    So, can I use this old application backup with current database backup if yes please give me the quick steps?If no patches have been applied to the application tier node since the time you took the backup you can restore those files.
    I means I will installed the fresh OS and then install the Pre-Req, after that I restore/clone these backup.If you have already run preclone before taking the backup, you can run postclone. If not, then I believe cloning will not help here.
    Is there any steps by steps doc or blog for this type of crashed?Rapid Clone will configure all the keys in the registry, so if Rapid Clone is not application and your backup does not include the registry you I believe the restore option is not valid in this case.
    Thanks,
    Hussein

Maybe you are looking for

  • Satellite M40-129: PCMCIA Card doesn't work with Linux

    I have D-Link DWL-G650 with Atheros Chipset which is good supported under linux (madwifi). But if I boot Linux the card is not found. I tested the card with an Fujitsu Siemens Notebook and it worked out of the box! Any idea why it doesn't work with m

  • Script setting require an admin password to unlock preferences

    Hidden in System Preferences -> Security & Privacy -> Advanced is a button to turn on or off requiring an administrator level password to unlock various System Preference options. This will secure certain preference options as defined in the /etc/aut

  • MacBook freezes on startup

    Problem: MacBook freezes with the blue background and "Mac OS X" dialogue box upon startup. What I've done about it(without success): Turned it on while pressing the "Option" key, clicked on the image of HD that comes up, but to no avail. Still freez

  • Surfacing the properties jndi name that we give in the database adapter

    hi all, I would like to know, how can we surface the properties in Oracle 11G, like how to surface the JNDI name that we give in the database adapter. I have already seen the Chapter 12 example from "Getting started with Oracle SOA suite 11 G" but it

  • Insufficient Memory Problem - Pantech Breakout

    I have the Pantech breakout, I have had the problem of insufficient memory quite often so I am accustomed to clearing cache and things like that. Normally once my phone shows 35MB avail the icon clears and the phone resumes functioning properly. I ha