ORA-00314 -  Restoring from Cold Backup.  ( Redologs on Raw Disk startup)

Greetings,
We're running Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production ( Solaris Sparc )
we've recently switched to redologs on raw disks to improve DB write performance. Have taken a cold backup of db , But db denies to open normally after restoration.
Any ideas what could be wrong? and how to fix this?
TIA,
SQL> startup;
ORACLE instance started.
Total System Global Area 1.0737E+10 bytes
Fixed Size 1996520 bytes
Variable Size 3640658200 bytes
Database Buffers 7063207936 bytes
Redo Buffers 31555584 bytes
Database mounted.
ORA-00314: log 1 of thread 1, expected sequence# doesn't match
ORA-00312: online log 1 thread 1: '/dev/rdsk/c1t4d0s3'
ORA-00312: online log 1 thread 1: '/dev/rdsk/c1t5d0s3'

Try this ..
First i create a backup of control file:
SQL> alter database backup controlfile to trace;
Database altered.
Then i check udump directory. There are some trace files To find out which one contains control file, i simply make a text search :
testdb oracle@aurora:/data06/app/oracle/admin/testdb/udump> grep 'CREATE CONTROLFILE REUSE DATABASE' *.*
testdb_ora_181267.trc:CREATE CONTROLFILE REUSE DATABASE "testdb" NORESETLOGS NOARCHIVELOG
testdb_ora_181267.trc:CREATE CONTROLFILE REUSE DATABASE "testdb" RESETLOGS NOARCHIVELOG
I execute the commands which is included with CREATE CONTROLFILE REUSE DATABASE
SQL> startup nomount
ORACLE instance started.
Total System Global Area 314572800 bytes
Fixed Size 1302944 bytes
Variable Size 106700384 bytes
Database Buffers 205520896 bytes
Redo Buffers 1048576 bytes
SQL> CREATE CONTROLFILE REUSE DATABASE "testdb" RESETLOGS NOARCHIVELOG
2 MAXLOGFILES 4
3 MAXLOGMEMBERS 4
4 MAXDATAFILES 1000
5 MAXINSTANCES 1
6 MAXLOGHISTORY 4544
7 LOGFILE
8 GROUP 1 '/data07/oradata/testdb/redo01.log' SIZE 50M,
9 GROUP 2 '/data07/oradata/testdb/redo02.log' SIZE 50M,
10 GROUP 3 '/data07/oradata/testdb/redo03.log' SIZE 50M
11 DATAFILE
12 '/data07/oradata/testdb/system01.dbf',
13 '/data07/oradata/testdb/undo01.dbf',
14 '/data07/oradata/testdb/sysaux01.dbf',
15 '/data07/oradata/testdb/users01.dbf',
16 '/data07/oradata/testdb/data01.dbf',
17 '/data07/oradata/testdb/work01.dbf',
18 '/data07/oradata/testdb/ascs01.dbf',
19 '/data07/oradata/testdb/uccs_data01.dbf',
20 '/data07/oradata/testdb/uccs_index01.dbf'
21 CHARACTER SET WE8ISO8859P9
22 ;
Control file created.
Then recover db.
SQL> RECOVER DATABASE USING BACKUP CONTROLFILE

Similar Messages

  • Restore from cold backup (rac server)

    Hi All,
    Oracle version : 10g
    OS : SunOS dixie1 5.10 Generic_118855-36 i86pc i386 i86pc
    I am having cold backup of RAC server (2 nodes), I want to restore from cold backup.
    The problem is that : when i performed the cold backup using rman at that time Oracle was having 3 ASM diskgroups.But unforunately that disk is no more in use due to some fault.
    Now my question is how can i restore from the cold backup as when i'll restore from the cold backup this will ask for the same ASM diskgroups.Even more if i creates the same diskgroup with the same name and same configuration then my doubt is that rman will allow me to restore the same from the cold backup as ASM disk header changed now ?
    Thanks,
    Vipin

    VipinK wrote:
    Hi All,
    Oracle version : 10g
    OS : SunOS dixie1 5.10 Generic_118855-36 i86pc i386 i86pc
    I am having cold backup of RAC server (2 nodes), I want to restore from cold backup.
    The problem is that : when i performed the cold backup using rman at that time Oracle was having 3 ASM diskgroups.But unforunately that disk is no more in use due to some fault.
    Now my question is how can i restore from the cold backup as when i'll restore from the cold backup this will ask for the same ASM diskgroups.Even more if i creates the same diskgroup with the same name and same configuration then my doubt is that rman will allow me to restore the same from the cold backup as ASM disk header changed now ?
    Yes.You can do these and restore/recover your database.First you need startup your ASM instance then create your ASM disk groups and do following:
    1.Edit pfile and change controlfile location to diskgroup(Consder that +dgr1)
    2.Restore controlfile to this disk group using backup of controlfiles(you say that is cold backup)
    rman target /
    /*Instance  need starting up from pfile*/
    startup nomount ;
    /*then restore controlfile,give full path of controlfile from coldbackup*/
    restore controlfile from 'coldbackup_location\coltrolfile';
    alter database mount;
    catalog start with 'coldbackup_location';
    backup as copy database format  '+dgr1';
    switch database to copy;
    alter database open;

  • A question about restoring from cold backup(control file backup not clear)

    Hi,
    I had another question about restoring the cold backup. My database is in noarchivelog mode and after taking a consistent cold backup, all I need to do is to restore the backup right? -Why I got this question is because: when I backup my control file to trace, I see statements like this:-----
    -- Commands to re-create incarnation table
    -- Below log names MUST be changed to existing filenames on
    -- disk. Any one log file from each branch can be used to
    -- re-create incarnation records.
    -- ALTER DATABASE REGISTER LOGFILE '/uo1/app1/arch1_1_647102958.dbf';
    -- Recovery is required if any of the datafiles are restored backups,
    -- or if the last shutdown was not normal or immediate.
    RECOVER DATABASE
    -- Database can now be opened normally.
    ALTER DATABASE OPEN;
    My database is in noarchivelog mode now so don't know why these statements (of register the logfile) is there in the backup of control file? so when I restore the cold backup of this database, it will still work correct? (there is no logfile I have only CRD files in cold backup -no archive log files.)
    thanks
    Nirav

    Thanks for your inputs! It is most useful to me.
    Regards
    Nirav

  • ORA-00313: open failed for members during restore from COLD backup

    Hi all,
    I took a cold backup of an 11.1 database using RMAN (database in mount state).
    I used the following command to restore it:
    restored the controlfile and then
    RESTORE DATABASE FROM TAG 'TAGxxxxxxxxxx';
    Now I'm restoring it and it's taking too much time. When checking alert log it says:
    ORA-51106: check failed to complete due to an error. See error below
    ORA-48318: ADR Relation [HM_FINDING] of version=3 cannot be supported
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '/oracle1/oradata/******/redo1_02.log'
    ORA-27037: unable to obtain file status
    HPUX-ia64 Error: 2: No such file or directory
    Additional information: 3
    RMAN is still in progress, why does it complain about redo?
    I'm not doing recovery since it was a cold backup.
    Thanks in advance.

    Hi Michael,
    Yes, it's the correct one because it says "full restore complete":
    ORA-00312: online log 1 thread 1: '/oracle1/oradata/******/redo1_01.log'
    ORA-27037: unable to obtain file status
    HPUX-ia64 Error: 2: No such file or directory
    Additional information: 3
    Tue Apr 30 14:38:14 2013
    Full restore complete of datafile 32 /oracle1/oradata/******/apr_sesm_index_01.dbf. Elapsed time: 1:25:42
    checkpoint is 12652187135448
    last deallocation scn is 12651877642745
    Tue Apr 30 15:38:04 2013
    Full restore complete of datafile 34 /oracle1/oradata/******/apr_stage_data_01.dbf. Elapsed time: 6:42:52
    checkpoint is 12652187135448
    last deallocation scn is 12651877637877
    thanks,

  • Database Restore from COLD Backup

    Dear all,
    I .m trying to restore a production database from a COLD backup. Before the COLD BAckup, we have take a HOT backup as usual and then shutdown the database to perform the Cold Backup.
    After restirong all the oracle files and arch redo log, i have tried to restart the datbase but it failed with the followgin error message:
    SVRMGR> connect internal
    Connected.
    SVRMGR> startup
    ORACLE instance started.
    Total System Global Area 625729520 bytes
    Fixed Size 69616 bytes
    Variable Size 133795840 bytes
    Database Buffers 491520000 bytes
    Redo Buffers 344064 bytes
    Database mounted.
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: '/usr/oracle/8.1.6/disk1/IF1/system01.dbf'
    SVRMGR> exit
    Server Manager complete.
    root@dbserver#su - oracle
    Sun Microsystems Inc. SunOS 5.8 Generic Patch October 2001
    Then i have recovered but it seems that the Oracle process do not started and here is what i have found in alert log file:
    Errors in file /usr/oracle/8.1.6/admin/IF1/bdump/if1_smon_609.trc:
    ORA-00600: internal error code, arguments: [4194], [52], [52], [], [], [], [], []
    Mon Mar 8 11:42:46 2004
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 29954 Reading mem 0
    Mem# 0 errs 0: /usr/oracle/8.1.6/disk2/IF1/redo1a.rdo
    SMON: terminating instance due to error 600
    Instance terminated by SMON, pid = 609
    WARNING! Recovering data file 1 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 2 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 3 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 4 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 5 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 7 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 8 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 9 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 26 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 27 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 29 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 31 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 34 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 36 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 40 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 43 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 49 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 53 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 54 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 55 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    WARNING! Recovering data file 58 from a fuzzy backup. It might be an online
    backup taken without entering the begin backup command.
    Media Recovery Log
    Could someone explain to me what i did wrong?
    Thank you
    ORA-01113
    ORA-01110
    ORA-00600: internal error code, arguments: [4194], [52], [52], [], [], [], [], []

    Please do not confuse between the backup copies you have. Ensure that you have the latest copy whether cold or hot. If you have COLD copy then simply replace all the data files, redo log files, and the control files and start the database it should start. I do not understand your back up strategy because if you have a Hot backup then why do you need a cold backup. Please let me know in what mode your database is running?
    Regards,
    DJ

  • RMAN Restore from cold backup ?

    Hi ,
    I am trying to restore the database from production db using the RMAN cold Backup. Both the prod and test(Restore database) are on the same machine. And also I wanted to have the restore db name should be different.
    And the restore db name should be different. What are the options I have ?

    refer the thread:-
    RMAN Restore using RMAN COLD Backup!!
    RMAN Restore using RMAN COLD Backup!!

  • Recovery of Database -- Restore from Cold Backup

    Hi All
    I was trying to understand the possible failures so as to enhance my recovery capabilities of Oracle database 10.2.0.4.
    We take weekly hot back up of the database on every sunday including archive logs. Archive logs are also backed up when the log_archive_dest_1 disk space utilization grows beyond 80%. All the backup goes into an alterate disk made available on the host. The archive back up is triggered mostly twice a week, on one of the thursday/friday/Saturday depending on the redo generation in that week.
    Imagine we have a failure on thursday leading me to restore the complete database from backup taken on the earlier sunday. I also realise there is 1 archive log from tuesday missing and its not backed up for sure. I restore from backup and try to recover. As all the archive logs are available since Sunday till the point of failure except for that one missing file from Tuesday, I want to recover the database until the point of failure although there is one log sequence missing in archive destination. how can I do that? Is it possible? Please advice.
    I remember reading on net that recover database command can be hinted by an init parameter so as it does not check for sequece numbers and continue to apply archives (does not check sequence numbers) as they are available. But I am not able to recollect it exactly. while I was searching on net, I came to this forum hoping if some one knew it.
    Let me know if you know how to go about this. Thanks in advance.
    Sarat.

    You cannot skip an archivelog (there is no init parameter to do so).
    Think about this :
    Imagine that there is one very long transaction. A transaction that deletes or updates 1 million records. With the redo logs being, say, 100MB each, the transaction spans multiple redo logs.
    These redo logs are archived as, say, sequence #121 to 128.
    Supposing that sequnece #123 is deleted by mistake.
    Can you recover the database with sequence# 121, 122, 124-128 ? Can that transaction be consistent ?
    OR think about this :
    A redo log file is 99% full. A transaction for 1000 rows begins. All the redo entries for that transaction do not fit into that last 1%. The transaction spans into the next redo log file.
    Can recovery be done with either of these missing ?
    If you think through these scenarios, you will see that there will almost always be transactions spanning redo logs. That means, that you cannot skip redo logs during recovery.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Partial restore from Cold backup

    Hi,
    I want to create a copy of our dev database to another server.
    We have Oracle 10.2.0.4 server running on Solaris 10 OS.
    This database is @ 120GB in size and has got lots of application data.
    Now I want to create a copy of this DB without having the application data.
    Can I do the following?
    1. Take cold backup of this database.
    2. copy the oracle binaries, controlfile, logfile to target server.
    3. copy the datafiles only for SYSTEM, UNDO, TEMP and SYSAUX tablespace to target.
    4. restore / create the new database? - will you pls provide me the steps for this?
    Thanks,
    DR

    Hi,
    In order to create a clone of your dev database trough the copy procedure you have to follow these steps:
    1. Take a cold backup of your database files (and i mean ALL the files: controlfile, data files, etc)
    2. Take a "cold" backup of oracle binaries (with your instance down, copy $ORACLE_HOME dir)
    3 You have to ensure you have the directory structure in the new server.
    4. The new server must accomplish with all the libraries requiered for clean installation (that's because you have to relink oracle binaries)
    5. Once the oracle binaries are in $ORACLE_HOME, run "relink all". If everything is fine, you don't have to see any errors; if not, check the log.
    6. After a succesful relink, you have to copy the database files on their corresponding directories.
    7. Start the instance.
    I know, it's not a friendly process, but it works.
    I offer you another way.
    1. Install another engine (same as your dev server).
    2. Clone your dev database with one of the following procedures:
    2.a. RMAN Clone
    2.b. Directly import with oracle data pump.
    regards

  • How to do media recovery from cold backup?????????/

    Hi
    i take cold backup of my 9i database ....
    in case my database is up .....
    how will i recover my database if i lose a single database file and i want to recover it from cold backup......
    Thanks in advance
    Gagan

    Here you go
    These are the steps:
    1. Restore the lost file from a backup.
    2. If the database is down, mount it.
         SVRMGR> STARTUP MOUNT PFILE=<location_of_pfile>;
    3. Issue the following query:
    SVRMGR> SELECT V1.GROUP#, MEMBER, SEQUENCE#,
    FIRST_CHANGE#
    FROM V$LOG V1, V$LOGFILE V2
    WHERE V1.GROUP# = V2.GROUP# ;
    This will list all your online redolog files and their respective
    sequence and first change numbers.
    4. If the database is in NOARCHIVELOG mode, issue the query:
         SVRMGR> SELECT FILE#, CHANGE# FROM V$RECOVER_FILE;
    If the CHANGE# is GREATER than the minimum FIRST_CHANGE# of your logs,
    the datafile can be recovered. Just keep in mind that all the logs to
    applied will be online logs, and move on to step 5.
    If the CHANGE# is LESS than the minimum FIRST_CHANGE# of your logs, the
    file cannot be recovered. Your options at this point would be to restore
    the most recent full backup (and thus lose all changes to the database
    since) or recreate the tablespace as explained in scenario a.
    5. Recover the datafile:
    SVRMGR> RECOVER DATAFILE '<full_path_file_name>'
    6. Confirm each of the logs that you are prompted for until you receive the
    message "Media recovery complete". If you are prompted for a non-existing
    archived log, Oracle probably needs one or more of the online logs to
    proceed with the recovery. Compare the sequence number referenced in the
    ORA-280 message with the sequence numbers of your online logs. Then enter
    the full path name of one of the members of the redo group whose sequence
    number matches the one you are being asked for. Keep entering online logs
    as requested until you receive the message "Media recovery complete"
    7. If the database is at mount point, open it.

  • Recovery from cold backup

    Hi,
    We take Hot backup everyday, but I took a cold backup using the same catalog. If I want to restore the cold backup I took, what is the proceedure. We are running on 10g in HP Unix.
    Thanks.

    Hi Rock2,
    If you want to restore the cold backup you need to know the tag belonging to this backup.
    Using the logfile of the coldbackup or <list backup summary;> in rman you should be able to get this info.
    The restore would be similar as:
    connect catalog rman/pwd@define_rcv;
    # check in catalog database for the dbid.
    # If so set the appropriate dbid by unhashing the line directly below using the current dbid
    # set dbid = define_dbid
    connect target /;
    STARTUP NOMOUNT;
    run {
    allocate channel tc1 type 'SBT_TAPE'; # or 'DISK'
    allocate channel tc2 type 'SBT_TAPE'; # or 'DISK'
    # adjust the TAG in the following lines
    restore controlfile from tag TAG0000001;
    sql 'alter database mount';
    restore database from tag TAG0000001;
    sql 'alter database open resetlogs';
    release channel tc1;
    release channel tc2;
    Regards,
    Tycho

  • Database refresh from cold backup and hotbackup.

    How can we perform Database refresh from cold backup and hotbackup?

    OracleM wrote:
    How can we perform Database refresh from cold backup and hotbackup?I understand that you have Cold/hot backup and you need recover(refresh) this backup?If yes then restore cold/hot backup and
    sqlplus "/as sysdba"
    startup mount;
    recover database using backup controlfile unil cancel;
    /*then apply all available archive logs*/
    alter database open resetlogs;

  • RMAN restore from remote backup

    I need to test the restore from the backup which is copied to the remote server. I backup the database to the local disk and copy the backup set to the remote server. Then I delete the local backup and restore from remote but it fails. RMAN still tries to find the backup from local server.
    RMAN> run{
    2> allocate channel c1 device type disk format '\\RemoteBackup\%U';
    3> restore datafile 1;
    4> recover datafile 1;}
    using target database control file instead of recovery catalog
    allocated channel: c1
    channel c1: SID=154 device type=DISK
    Starting restore at 23-NOV-10
    channel c1: starting datafile backup set restore
    channel c1: specifying datafile(s) to restore from b
    channel c1: restoring datafile 00001 to D:\ORADATA\HCMTRN\DBS\SYSTEM01.DBF
    channel c1: reading from backup piece \\LocalBackup\1SLTN8A4_1_1
    channel c1: ORA-19870: error while restoring backup piece \\LocalBackup\1SLTN8A4_1_1
    ORA-19505: failed to identify file "\\LocalBackup\1SLTN8A4_1_1"
    ORA-27041: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.

    AZ wrote:
    I need to test the restore from the backup which is copied to the remote server. I backup the database to the local disk and copy the backup set to the remote server. Then I delete the local backup and restore from remote but it fails. RMAN still tries to find the backup from local server.
    RMAN> run{
    2> allocate channel c1 device type disk format '\\RemoteBackup\%U';
    3> restore datafile 1;
    4> recover datafile 1;}
    using target database control file instead of recovery catalog
    allocated channel: c1
    channel c1: SID=154 device type=DISK
    Starting restore at 23-NOV-10
    channel c1: starting datafile backup set restore
    channel c1: specifying datafile(s) to restore from b
    channel c1: restoring datafile 00001 to D:\ORADATA\HCMTRN\DBS\SYSTEM01.DBF
    channel c1: reading from backup piece \\LocalBackup\1SLTN8A4_1_1
    channel c1: ORA-19870: error while restoring backup piece \\LocalBackup\1SLTN8A4_1_1
    ORA-19505: failed to identify file "\\LocalBackup\1SLTN8A4_1_1"
    ORA-27041: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.So where is "\\LocalBackup\1SLTN8A4_1_1" ?? The OS is telling rman that he (the OS) cannot find the requested file, \\LocalBackup\1SLTN8A4_1_1.
    Sounds like when you "restored" the local backup from the remote, you missed something.

  • A june 2012 icloud backup shows up on my icloud storage manage list, but does not show up when i try to restore from icloud backup. what to do?

    Question repeated: A june 2012 icloud backup shows up on my icloud storage manage list, but does not show up when i try to restore from icloud backup. what to do?
    I want to restore from my june 2012 backup because it contains pictures that i lost when my phone broke in september. if anyone could help that would be awesome. thanks

    Did you tap "Show older backups" on the Choose Backup screen (see image below)?

  • Why cant I download apps after restoring from a backup? How to fix?

    After I restored my ipod from a backup a month ago, my ipod wont let me download apps. It says "Unable to download app at this time". The thing is I can download when connected to my computer, and when new apps are downloaded on my other devices, they auto-download onto my ipod (Like they did before the restore from the backup) How can I download apps again without connectig to my computer or downloading them on other devices?

    Have you tried when connect to another network?
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings

  • My ipod won't sync and it keeps coming up with an error message saying "internal error" or it tries to get me to restore from a backup. All of my music and movies have been wiped from my ipod and the apps don't work. The backups don't work either. help.

    I plugged my ipod touch into my computer to sync it and it came up with an error message saying that it encoutered an internal error and it refused to sync.
    I then unplugged it and plugged it back in and this time it told me that I needed to restore from a backup or set it up as a new ipod. I tried to restore from a backup but it came up with the error message "Backup session failed" every time. I then looked on my ipod and all of my music and movies are gone though it still says that they are on the ipod in itunes. I decided to use the restore function and let that finish. After restoring it still doesn't allow me to sync or back up and The music and movies can still not be seen. I am currently attempting to copy the music and movies to my ipod though this did not work with my apps as they transfered but when I attempted to open them they just crash... If someone could please help me it would be great. It is driving me crazy.

    If you get an error that says can't backup, try moving the existing backup file to a safe location and thry again. again. You can find the location of the backup file here:
    iPhone and iPod touch: About backups

Maybe you are looking for