RESTORE DATABASE OR DATABASE RECOVERY

Hi all

10.2.0.4
SLES 11

I want to restore my RMAN backup.

I have run this command:
RMAN> restore database;

RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row
RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT rows
ORACLE error from target database:
ORA-03135: connection lost contact

Starting restore at 30-APR-13
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03004: fatal error during execution of command
ORA-03114: not connected to ORACLE
RMAN-03002: failure of restore command at 04/30/2013 16:13:50
ORA-03114: not connected to ORACLE
Why does say not connected to oracle, when I'm simulating a crash of the database... which means no db oracle is in place.


Thank you

zxy

Step 1: RMAN > Connect target /.

Step 2: Startup nomount pfile =''

Step 3: restore the backup control file

Step 4: change the database editing

Step 5: restore the database

Step 6: restore the database

Step 7: Open database resetlogs;

Thank you

Tags: Database

Similar Questions

  • The database recovery/restore failed with unexpected error 509

    Hello

    The database recovery/restore failed with unexpected error 509

    In the Event Viewer, I had this error SEVERAL times every second.  He goes absolutely crazy.

    I don't know what to do with it.

    I'm with Windows 8 Pro running on a very stable computer with 8gig of ram, plenty of hard drive space.  Each single drivers updated Windows Update.  Everything is really clean except this error in Event Viewer

    Svchost SRUJet (1624): database recovery/restore failed with unexpected-509 error.

    Task category: registration/recovery

    Esentutl /p /r tried / everything but nothing wrong was found with those

    Thanks for any help.

    Exactly the same problem, nothing Microsoft recommended was the cause, scannow and DISM commands are returned without error.

    So I went to the event viewer and scrolled down to find, when these errors began to occur. So I found a few entries initially saying things like: an attempt to move the file 'C:\Users\xxxxx\AppData\Local\TileDataLayer\Database\EDB.log' to 'C:\Users\xxxxxxxx\AppData\Local\TileDataLayer\Database\EDB00008.log' failed indicating system 183 (0x000000b7) error: "cannot create a file when that file already exists.

    Then, I went to C:\Users\xxxxx\AppData\Local\TileDataLayer\Database\ and removed the files listed (e.g., EDB00008.log).

    Bingo, the errors will stop immediately.

  • Recovery of control files. I need to restore database?

    I am using below command procedure files recovery: restore the backup controlfile. I'm not restore database in this procedure with RESTORE DATABASE

    ==================================================================================
    QUESTION: Do I need to restore a full database to be consistent?
    =====================================================

    SQL > select name from v$ controlfile;

    NAME
    --------------------------------------------------------------------------------
    / QA/Data/OBT/QA112QA/Data/control01. CTL
    / QA/Data/OBT/QA112QA/Data/control02. CTL
    / QA/Data/OBT/QA112QA/Data/control03. CTL

    [oracle@rh56b64-1 rmanbackup] $ rm /qa/data/obt/QA112QA/data/control01.ctl /qa/data/obt/QA112QA/data/control02.ctl /qa/data/obt/QA112QA/data/control03.ctl

    SQL > stop the demolition
    ORACLE instance stops.

    SQL > startup
    ORACLE instance started.

    Total System Global Area 275615744 bytes
    Bytes of size 2212496 fixed
    184552816 variable size bytes
    Buffers data 83886080 bytes
    Redo buffers 4964352 bytes
    ORA-00205: error in the identification of control files, see log alerts for more information


    [oracle@rh56b64-1 rmanbackup] $ pwd
    / QA/Data/OBT/rmanbackup

    [oracle@rh56b64-1 rmanbackup] $ ls - ltr
    Total 591368
    -rw - r - 1 oracle oinstall 586711040 24 Dec 19:25 1antmgo6_1_1
    -rw - r - 1 oracle oinstall 1435648 24 Dec 19:25 1dntmgov_1_1
    -rw - r - 1 oracle oinstall 16809984 24 Dec 19:25 d to cfc-1266678734-20121224-0

    -set DBID - get the name of the controlfile autobackup.
    -For example, if the name of auto backup is
    -CTL_SP_BAK_C-1507972899-20050124-00 the the DBID is
    -1266678734. This step is not necessary if the instance is
    -Start RMAN

    RMAN > set dbid 1266678734

    executing command: SET DBID

    RMAN > restore controlfile to ' / qa/data/obt/rmanbackup/EFA-1266678734-20121224-0;

    From restoration to December 24, 12
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 135 type device = DISK

    channel ORA_DISK_1: restore the control file
    channel ORA_DISK_1: restore complete, duration: 00:00:03
    output file name=/qa/data/obt/QA112QA/data/control01.ctl
    output file name=/qa/data/obt/QA112QA/data/control02.ctl
    output file name=/qa/data/obt/QA112QA/data/control03.ctl
    Finished restore at December 24, 12

    RMAN > change the editing of the database;

    mounted database
    output channel: ORA_DISK_1

    RMAN > restore database;

    From back to December 24, 12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 135 type device = DISK

    starting media recovery

    Journal archived for thread 1 sequence 2 is already on the disc in the file /qa/data/obt/QA112QA/data/redo02.log
    Journal archived for thread 1 with sequence 3 is already on the disc in the file /qa/data/obt/QA112QA/data/redo03.log
    Journal archived for thread 1 with sequence 4 is already on the disc in the file /qa/data/obt/QA112QA/data/redo01.log
    Archive log file name=/qa/data/obt/QA112QA/data/redo02.log thread = 1 sequence = 2
    Archive log file name=/qa/data/obt/QA112QA/data/redo03.log thread = 1 = 3 sequence
    Archive log file name=/qa/data/obt/QA112QA/data/redo01.log thread = 1 sequence = 4
    media recovery complete, duration: 00:00:01
    Finished recover at December 24, 12

    RMAN > alter database open resetlogs;

    open database

    Hello

    ==================================================================================
    QUESTION: Do I need to restore a full database to be consistent?
    =====================================================

    You don't have to restore the full database. You just need to restore the backup controlfile and restore the database.
    The steps you mentioned are good restore the controlfile. After recovery, you must open the database in resetlogs.

    Also, you can take a look at this http://neeraj-dba.blogspot.com/2011/04/loss-of-control-file-in-various.html

    Kind regards
    Shivananda

  • The database recovery

    Hi all

    EBS R12.2.4

    OEL6

    I play with the recovery of database > restore database using backup controlfile until cancel;

    but I encountered error:

    ORA-00279: change 5965308871319 September at 29/11/2015 10:49:20 needed to

    thread 1

    ORA-00289: suggestion: /home/ARCH/1_212_894234402.dbf

    ORA-00280: change 5965308871319 thread 1 is in sequence #212

    ORA-00278: log file ' / home/ARCH/1_211_894234402.dbf' is no longer necessary for this

    recovery

    ORA-00283: cool cancelled due to errors

    ORA-01244: datafile (s) without a name added to the control file by the media recovery

    ORA-01110: data file 42: ' / home/oraprod/PROD/data/a_txn_ind10.dbf'

    ORA-01112: media recovery not started

    SQL > shutdown immediate;

    ORA-01109: database is not open

    The database is dismounted.

    ORACLE instance stops.

    SQL > bootable media.

    ORACLE instance started.

    Total System Global Area 2137886720 bytes

    Bytes of size 2230072 fixed

    452987080 variable size bytes

    1660944384 of database buffers bytes

    Redo buffers 21725184 bytes

    Mounted database.

    SQL > restore database using backup controlfile until cancel;

    ORA-00283: cool cancelled due to errors

    ORA-01111: 42 data file name is unknown - rename it to the correct file

    ORA-01110: data file 42: ' / home/oraprod/PROD/11.2.0/dbs/UNNAMED00042'

    ORA-01157: cannot identify/lock data file of 42 - see DBWR trace file

    ORA-01111: 42 data file name is unknown - rename it to the correct file

    ORA-01110: data file 42: ' / home/oraprod/PROD/11.2.0/dbs/UNNAMED00042'

    SQL >

    Help, please...

    Thank you

    JC

    You cannot copy directly, but you can save only data file with rman "backup datafile 42. However, the RCS in the header of the data file would be different now, and you cannot recover.

    You said in one of the message that the file without a NAME no longer exists? You rename it using 'alter database rename file '?

    You can use:

    ALTER database create datafile 42 as ' / home/oraprod/PROD/data/a_txn_ind10.dbf';

    Then run:

    RECOVER THE DATABASE AUTOMATICALLY USING BACKUP CONTROLFILE UNTIL CANCEL

  • RMAN-11003 RAC 10 g 2 database recovery

    Hello, I'm doing a full restore of the database and when it was done the recovery database, always get the error:

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the command recover to 15/07/2014 06:07:04

    ORA-00283: cool cancelled due to errors

    RMAN-11003: failure in parsing / execution of the SQL statement: alter database recover logfile ' / archive/archivelog/PEP/PEP1_74_852396492.arc'

    ORA-00283: cool cancelled due to errors

    ORA-01112: media recovery not started

    It's a two nodes with the version 10.2.0.4 RAC' once which annuls the recovery, I open the database and everything is OK.

    The steps are:

    srvctl stop database d PEP

    sqlplus "/ as sysdba".

    bootable media;

    ALTER system set cluster_database = false scope = spfile sid ='* ';

    stop immediately;

    bootable media;

    RMAN target /.

    PARALLELMEDIARESTORE OFF SET;

    RMAN > restore database;

    RMAN > restore database;

    errors:

    RMAN-03002: failure of the command recover to 15/07/2014 06:07:04

    ORA-00283: cool cancelled due to errors

    RMAN-11003: failure in parsing / execution of the SQL statement: alter database recover logfile ' / archive/archivelog/PEP/PEP1_74_852396492.arc'

    ORA-00283: cool cancelled due to errors

    ORA-01112: media recovery not started

    RMAN > alter database open;

    The database opens successfully

    NAME CHECKPOINT_CHANGE # CHECKPOINT_CHANGE # STATUS

    -------------------------------------------------- ------------------ ------------------ ----------------

    /BD/oradata/PEP/System01.dbf 1025895 1025895 Normal startup

    /BD/oradata/PEP/undotbs01.dbf 1025895 1025895 Normal startup

    /BD/oradata/PEP/sysaux01.dbf 1025895 1025895 Normal startup

    /BD/oradata/PEP/undotbs02.dbf 1025895 1025895 Normal startup

    /BD/oradata/PEP/users01.dbf 1025895 1025895 Normal startup

    /BD/oradata/PEP/vmware01.dbf 1025895 1025895 Normal startup

    / BD/oradata/PEP/RMANT01. DBF 1025895 1025895 Normal startup

    There, the error occurs if everything seems to be ok.

    Thank you

    The scenario is very probably below:

    You have restored a controlfile who had an old sequences in his V$ LOG (compared to archived newspapers with the later sequence numbers) and the related recovery online papers were physically available on the disc. RMAN preferred just retrieve available online Redo Logs and therefore simulated a full recovery (anyway, he did not ask CAMILLE):

    Once even a single online Redo Log has been applied, recovery get ORA-283

    My Jul 14 18:14:43 2014

    Recovery Media Log /archive/archivelog/PEP/PEP2_29_852396492.arc<(====== archivelog="" seq#="" 29="" thr#="" 2="">

    My Jul 14 18:14:43 2014

    Online Redo Log recovery: thread 1 mem Group 1 Seq 25 reading 0<(===== online="" redo="" log="" seq#="" 25="" thr#="" 1="" got="">

    Mem # 0: /bd2_PEPui3/redo/redo11.log

    MEM # 1: /archive2/oradata/PEP/redo12.log

    ORA - 279 marked during: alter database recover logfile ' / archive/archivelog/PEP/PEP2_29_852396492.arc'...<(=== archivelog="" seq#="" 29="" thr#="" 2="" throwing="">

    My Jul 14 18:14:44 2014

    ALTER database recover logfile ' / archive/archivelog/PEP/PEP2_30_852396492.arc'

    My Jul 14 18:14:44 2014

    Recovery Media Log /archive/archivelog/PEP/PEP2_30_852396492.arc

    ORA - 288 marked during: alter database recover logfile ' / archive/archivelog/PEP/PEP2_30_852396492.arc'...<(==== archivelog="" seq#="" 30="" thr#="" 2="" throwing="">

    My Jul 14 18:14:44 2014

    ALTER database recover continue

    My Jul 14 18:14:44 2014

    Online Redo Log recovery: thread 1 mem Group 2 Seq 26 reading 0 (= Seq # 26 Thr # 1 newspaper... and so forth below... applied online )

    Mem # 0: /bd2_PEPui3/redo/redo21.log

    MEM # 1: /archive2/oradata/PEP/redo22.log

    My Jul 14 18:14:46 2014

    Online Redo Log recovery: Don 2 mem 3 Seq 31 reading 0 group

    Mem # 0: /bd2_PEPui3/redo/redo31.log

    MEM # 1: /archive2/oradata/PEP/redo32.log

    My Jul 14 18:14:48 2014

    Online Redo Log recovery: Don 2 mem Group 4 Seq reading 32 0

    Mem # 0: /bd2_PEPui3/redo/redo41.log

    MEM # 1: /archive2/oradata/PEP/redo42.log

    My Jul 14 18:14:51 2014

    (PEP2) Complete media recovery

  • The amendments are not expected to be replaced by "restore database; recover the database; » ?

    Hello

    I just have to experience.

    I create a test table and some inserted rows. The I took a full backup of the database more archivelog. Then I insert more than a few lines in the test table. Then the database to stop and he started in the State of EDITING.

    Then RMAN, I made the following two commands after connection to this database as target database:

    RMAN > restore database;

    RMAN > restore database;

    After the success of the recovery operation, I opened the database. Then, I questioned the test table. I expected to see only the rows that have been inserted before the last full backup, but I can see all rows that were inserted into the table of this test. I am little confused - I thought that "restore and recover" a full backup will overwrite the existing State of the database. I expect that the State of data (database) will be exactly the same as it was at the full backup.

    Now I think I got a bad concept, but could someone please clarify this?

    Best regards

    Since you did not specify a point in time recovery Oracle used the rman backup files including archivelogs and redo to roll forward to the top in its last consistent state.

    Do not know what you were doing to the database before you did the recovery, but if you were to try again but to delete all data files, file archivelog and repeat then try recover again you would only see then the first set of rows.

  • migrated database recovery

    Hello
    Use windows server 2003, X 86 system, oracle version we use is 10.2.0.1.0
    I have a linux installed 5.7 on a 32 bit machine with oracle 11.2.0.1.0
    the migration process was done with rman
    SQL > select status from v$ instance;

    STATUS
    ------------
    MOUNTED

    SQL > alter database open;
    change the database open
    *
    ERROR on line 1:
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1:
    ' / home/oracle/u01/app/oracle/oradata/linux/data_files/O1_MF_SYSTEM_82N5T2TV_. DBF
    '

    SQL > restore database;
    ORA-00283: cool cancelled due to errors
    ORA-16433: the database should be opened in read/write mode.
    *
    *
    pFile the migrated database
    # Please change the values of the following parameters:
    allowresetlogs_corruption = true
    control_files = ' / home/oracle/u01/app/oracle/oradata/linux/control_files/linux_control01.ctl','/home/oracle/u01/app/oracle/oradata/linux/control_files/linux_control02.ctl'


    db_create_file_dest = "/ home/oracle/u01/app/oracle/oradata/linux/data_files /'"
    db_recovery_file_dest = "/ home/oracle/u01/app/oracle/oradata/linux/fra /'"
    db_recovery_file_dest_size = 2147483648
    audit_file_dest = "/ home/oracle/u01/app/oracle/oradata/linux/adump /'"
    core_dump_dest = "/ home/oracle/u01/app/oracle/oradata/linux/cdump /'"



    db_name = 'LINUX '.



    # Please examine the values of the following parameters:

    __shared_pool_size = 88080384

    __large_pool_size = 4194304

    __java_pool_size = 4194304

    __streams_pool_size = 8388608

    __db_cache_size = 390070272

    Remote_login_passwordfile = "EXCLUSIVE."

    db_domain = «»



    # The following parameters values from source database:

    process = 150

    shared_pool_size = 88080384

    LARGE_POOL_SIZE = 4194304

    JAVA_POOL_SIZE = 4194304
    'newly.ora' 61L, 1523C
    *
    *
    SQL > restore database using backup controlfile until cancel;
    ORA-00283: cool cancelled due to errors
    ORA-16433: the database should be opened in read/write mode.


    SQL > parameter sho allow

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    allowresetlogs_corruption boolean TRUE
    *
    *
    SQL > select HXFIL File_num, substr(HXFNM,1,40) filename, Type FHTYP, HXERR validity.
    FHSCN SNA, FHTNM TABLESPACE_NAME, status FHSTA, FHRBA_SEQ sequence
    x $ KCVFH;
    SCRIPT FILE_NUM FILE_NAME STATUS TABLESPACE_NAME SNA VALIDITY
    ---------- ---------------------------------------- ---------- ---------- ---------------- ------------------------------ ---------- ----------
    1/home/oracle/u01/app/oracle/oradata/linu 3 0 * 1880106 * SYSTEM 8196 1
    2/home/oracle/u01/app/oracle/oradata/linu 3 0 * 1880106 * UNDO 4 1
    / home/oracle/u01/app/oracle/oradata/linu 3 3 0 * 1880106 * SYSAUX 4 1
    / home/oracle/u01/app/oracle/oradata/linu 4 3 0 * 1880106 * TEST 4 1



    Please suggest how to open the database
    Thanks in advance

    Edited by: 946207 21 August 2012 10:23

    SQL > recover database unti * he's * Cancel
    ORA-00905: lack of keyword

    recover database until cancel;

  • Database recovery

    Hello..

    I am new to Oracle RMAN backup and restore. I created a table and backs up the entire database. now, I dropped the table. When I restore and recover the database of

    RMAN > RESTORE database;
    RMAN > RECOVER DATABASE;

    the table is not recovered but if I make the point in time of recovery of

    RMAN > RESTORE DATABASE until TIME 'SYSDATE-1/24;
    RMAN > RECOVER DATABASE until TIME 'SYSDATE-1/24;

    the table is retrieved. I wants to recover normally. What should I do?

    you have to perform specific recovery time until when the table is available that is why cmd 'RESTORE DATABASE UNTIL TIME 'SYSDATE-1/24' '; works in your case.
    However if you perform a recovery full recovery of database and database back to the stadium even when the table was dropped and its not available in the database.

    Therefore, perform incomplete recovery.

    Thank you
    Christian Christmas Pal Singh

  • Backup and restore database, tablespace

    My oracle's 10g.
    I'm new to rman utility. When I tested the backup of database and a tablespace before making certain changes made to the data (e.g. Add folders to other tables or change or delete some records) and did surgery recovery and the restoration of the database and a tablespace after these changes. But I found that these changes have remained there.

    My directions of test:
    SQL > shutdown immediate;
    SQL > bootable media.
    RMAN > backup database;
    RMAN > backup all archivelog entry delete;
    SQL > alter database open;
    SQL > alter tablespace ABC offline immediate.
    RMAN > backup tablespace ABC include current controlfile;
    SQL > alter tablespace ABC Online.
    = SOME CHANGES TO THE DATABASE BY INSERTING/UPDATING / DELETING =.
    SQL > shutdown immediate;
    SQL > bootable media.
    RMAN > restore database;
    RMAN > restore database;
    SQL > alter database open;
    SQL > alter tablespace ABC offline immediate.
    RMAN > restore tablespace ABC;
    RMAN > recover tablespace ABC;
    SQL > alter tablespace ABC Online.
    = CHANGES OF DATA SHOULD BE LOST. BUT NOW THAT ILS IS REST. WHY? ====

    Also, what is the difference between the database backup/restore/recovery and backup/restore/recovery tablespace? Or when is the time to use them?

    More practical is if I made a backup of database, at 10.00 and 3 backups tablespace ABC at 10:00 12:00, 14:00.
    Today at 20:00, I have 2 tasks:
    1. restore tablespace ABC 12:00 the status and create a new tablespace DEF, which is the same in ABC 14:00;
    2 put all the data of the ABC from 10:00 tablespace to another oracle newly installed in a newly installed machine.

    Can someone tell me how I can finish these tasks? Thank you very much!

    Hello

    Sorry for not being clear enough.

    This means that I can only recover data to the tablespace recovery state?

    Restore/recovery tablespace controls may lead to a full recovery.

    but I want only to restore a space at the beginning everything while keeping others more recent. What do you suggest me?

    If you want to make a point in time recovery for a subset of tablespaces, you must run a TSPITR.
    To do this, follow the link in my previous post.

    What you said really works. These changes losts. But I encounter another problem when retried the delivery and received a msg "RMAN-20207: until THE MOMENT or.
    RECOVERY WINDOW is before the RESETLOGS time' to the command "restore." What should I do now?

    By the , you have created a new incarnation of the database.
    If you want to restore to a point in time of the resetlogs before you change the incarnation (check first with: INCARNATION of the rman LIST).
    To restore an incarnation previous use:
    < reset="" database="" to="" incarnation...;="">
    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14194/rcmsynta050.htm#i85086

    Kind regards

    Tycho

  • Problem in database recovery

    I have the database to Oracle 10 g (10.2.0.1.0) on Windows Server 2003

    I took hot RMAN full backup of database.

    I copied the backup files in the flash recovery area.

    I have another computer with windows server 2003 and Oracle 10 g even version. I copied the backup files of the first machine to the file of the Flash recovery area on the second computer.

    Now, I'm trying to restore the database from the first machine to the second machine.

    1. I created a new instance on second machice with the same name as in the First machine.
    2. I created a file password ORA as well.
    3 SET ORACLE_SID = < name of DB as it was the first machine >
    4 RMAN TARGET sys / < password given to the new pwd ORA file > @ < name DB > nocatalog
    5 SET DBID = < dbid of the old database >
    6 STARTUP NOMOUNT FORCE
    7 RESTORE SPFILE FROM PFILE "< new pfile file path >" "< path where the backup files are there >."
    8. CREATE UDUMP, BDUMP, CDUMP, PFILE ORADATA FILES when it is required;
    9. STOP IMMEDIATELY;
    10 STARTUP NOMOUNT PFILE = "< path to the newly created pfile > ';
    11 RESTORE CONTROLFILE FROM "< backup file path >"
    12. ALTER DATABASE MOUNT;
    Everything works very well so far

    Now, my next step was

    13 RESTORE THE DATABASE;

    Then it gives error as: -.

    RMAN > restore database;

    From restoration to 20 November 08
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 375 devtype = DISK

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command at 2008-11-20 21:00:54
    RMAN-06026: some targets not found - abandonment of restoration
    RMAN-06023: no backup or copy of the file 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore

    First, I copied the Flash recovery area backup files, then I copied the files to "D:\oracle\product\10.2.0\db_1\database" as well. Because I did it in 9i, 9i I copied the backup files in the backup folder and while the RMAN restore successfully takes the file in this folder & restores the database. but in 10g RMAN is not to recognize the backup path. How can this problem be solved? Or is it a different problem that I don't get?

    Waiting for response...

    You say, backups are on drive D, but RMAN is waiting for the files on drive E. But backups is not found or planned and therefore duplication of "EXPIRED" status reports For the same reason, the restore fails. Either you have to provide the intended location or re-catalogue of backupsets to a new location.

    Werner

  • restore database using old piece of backup

    Hello
    I want to restore my database through 2 days piece.her backup details and error


    RMAN > restore database of ' C:\Oracle\recovery_area\orcl\BACKUPSET\2012_09_04\O
    1_MF_NNND0_TAG20120904T133454_84CFKB4D_. BKP';

    From catering to 12-SEP-06
    using channel ORA_DISK_1

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command at 06/09/2012 14:45:16
    RMAN-06509: single file SPFILE or control can be restored from AUTOMATIC backup

    Thanks in advance

    This error is because you use the command wring to rman. First you must catalog the backup and then you use only 'restore database' command only.

    1 rman target /.

    2 catalogue backuppiece ' C:\Oracle\recovery_area\orcl\BACKUPSET\2012_09_04\O
    1_MF_NNND0_TAG20120904T133454_84CFKB4D_. BKP'

    3. restore the database.

    Published by: Slim on 6 Sep 2012 15:03

  • Restore and backup RMAN recovery in a new server

    Version: 11.2
    Platform: Solaris

    I did several restorations of RMAN backups to new hosts. Whenever I do a full recovery of a cold backup, when I run the
    RECOVER DATABASE
    I used to get
    archive log filename=/u04/mvf/data/dbase/arch/arch.log1_235_678649266.dbf thread=1 sequence=235
    unable to find archive log
    archive log thread=1 sequence=236
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 12/04/2011 14:33:18
    RMAN-06054: media recovery requesting unknown log: thread 1 seq 236 lowscn 11290198
    I considered this as being 'Normal' and always used to cause
    alter database open resetlogs
    But I read the below mentioned informative post yesterday.

    Question on create Redo log after restoring files and recover

    According to the guidelines of this post, I shouldn't use
    alter database open resetlogs
    for a full recovery.


    So, what should I do
    a.
    Should I use
    ALTER DATABASE OPEN ; -- I think I got some error with this command when i issued it after RMAN-06054 error . Can't recall what error
    OR

    b.
    Should I use
    recover database until sequence 236;

    Here is how I could use a combination of RMAN (for RESTORATION) and SQL (for the OPEN RESETLOGS):

    $ rman target /
    
    Recovery Manager: Release 10.2.0.2.0 - Production on Wed Nov 16 05:40:51 2011
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    connected to target database (not started)
    
    RMAN> startup nomount
    
    Oracle instance started
    
    Total System Global Area     419430400 bytes
    
    Fixed Size                     1261164 bytes
    Variable Size                113246612 bytes
    Database Buffers             297795584 bytes
    Redo Buffers                   7127040 bytes
    
    RMAN> restore controlfile from autobackup;
    
    Starting restore at 16-NOV-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    
    recovery area destination: /usr/oracle/flash_recovery_area
    database name (or database unique name) used for search: MYNDB
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: /usr/oracle/flash_recovery_area/MYNDB/autobackup/2011_11_16/o1_mf_n_767337675_7d6l55ck_.bkp
    channel ORA_DISK_1: control file restore from autobackup complete
    output filename=/usr/oracle/oradata/MYNDB/control01.ctl
    output filename=/usr/oracle/oradata/MYNDB/control02.ctl
    Finished restore at 16-NOV-11
    
    RMAN> sql 'alter database mount';
    
    sql statement: alter database mount
    released channel: ORA_DISK_1
    
    RMAN>
    RMAN> restore database;
    
    Starting restore at 16-NOV-11
    Starting implicit crosscheck backup at 16-NOV-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=155 devtype=DISK
    Crosschecked 16 objects
    Crosschecked 3 objects
    Finished implicit crosscheck backup at 16-NOV-11
    
    Starting implicit crosscheck copy at 16-NOV-11
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    Finished implicit crosscheck copy at 16-NOV-11
    
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    
    List of Cataloged Files
    =======================
    File Name: /usr/oracle/flash_recovery_area/MYNDB/autobackup/2011_11_16/o1_mf_n_767337675_7d6l55ck_.bkp
    
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    
    channel ORA_DISK_2: starting datafile backupset restore
    channel ORA_DISK_2: specifying datafile(s) to restore from backup set
    restoring datafile 00003 to /usr/oracle/oradata/MYNDB/sysaux01.dbf
    restoring datafile 00004 to /usr/oracle/oradata/MYNDB/users01.dbf
    restoring datafile 00005 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_example_7c4qzn5k_.dbf
    restoring datafile 00006 to /usr/oracle/oradata/MYNDB/undotbs.dbf
    channel ORA_DISK_2: reading from backup piece /usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4227_.bkp
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /usr/oracle/oradata/MYNDB/system01.dbf
    restoring datafile 00002 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_hemant_7c4qzn0o_.dbf
    restoring datafile 00007 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_assm_tbs_7c4qzn0q_.dbf
    restoring datafile 00008 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_mssm_tbs_7c4qzn0x_.dbf
    channel ORA_DISK_1: reading from backup piece /usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4216_.bkp
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4216_.bkp tag=TAG20111116T052209
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:35
    channel ORA_DISK_2: restored backup piece 1
    piece handle=/usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4227_.bkp tag=TAG20111116T052209
    channel ORA_DISK_2: restore complete, elapsed time: 00:00:35
    Finished restore at 16-NOV-11
    
    RMAN>
    RMAN> exit
    
    Recovery Manager complete.
    $ sqlplus '/ as sysdba'
    
    SQL*Plus: Release 10.2.0.2.0 - Production on Wed Nov 16 05:42:52 2011
    
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    
    SQL> alter database open;
    alter database open
    *
    ERROR at line 1:
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    
    SQL> alter database open resetlogs;
    
    Database altered.
    
    SQL>
    

    Note This error message 1589 is:

    $ oerr ora 1589
    01589, 00000, "must use RESETLOGS or NORESETLOGS option for database open"
    // *Cause:  Either incomplete or backup control file recovery has been
    //          performed. After these types of recovery you must specify either
    //          the RESETLOGS option or the NORESETLOGS option to open your
    //          database.
    // *Action: Specify the appropriate option.
    $
    

    Hemant K Collette

  • Where could I find, live disc or other to restore the HARD drive recovery partition?

    Hello I have an A300 system 9 1M unit.

    I need to restore the HARD drive recovery partition, I had to change the hard disk drive, because he's dead.

    Is there a link where I could download the files? IMG to ISO or any other program that can create a new partition for recovery on a new drive?

    This computer is not under warranty, because it has more than 4 years.

    Thank you for all the support you could give me

    SEB

    PS: second question: which little hard drive disk could I buy for this model? Wich, 2 1/2 hdd and sata connector? IDE? I do not know.

    Post edited by: Seaone

    Hello, I have another question, how do I recognize the type of connector of the drive in this laptop?

    It's a sata II or sata 3.0 compatible?

  • Files disappeared after restore of Windows Vista recovery

    Hi, there, PC of my little brother had a big problem today. Coz the files disappeared after restore of Windows Vista recovery.
    How can he recover his files and other data?
    Thank you to you all.

    Hello

    a clean install wipes the hard drive clean of everything

    You cannot undo what you've done

    If you have lost data, you can try this

    http://www.Piriform.com/Recuva

    Read also:

    Since we don't know exactly how you reinstalled it seek a windows.old folder

    How to restore your personal files after you perform a custom Windows Vista or Windows 7 installation

    http://support.Microsoft.com/kb/932912

    If the above does not work:

    Try the data recovery experts

    but they are very expensive

  • Convert DR database recovery pending database

    Hi all

    11 GR 2

    OL 6.5

    I have a backup RMAN PROD server.

    I also backup current cf and cf standby backup.

    Then I copied the following on the DR server.

    1. backup of database

    2. the current CF (controlfile)

    3 stadby cf

    4 archiving logs

    Can I perform a normal recovery using the current see (not yet open)

    My question is, can I replace the current CF with CF Eve, then start going up and resume the recovery pending?

    Kind regards

    JC

    Hello

    Yes you can!

    you will need to take a controlfile Eve since elementary school and replace it.

    RMAN > backup controlfile Eve format ' / tmp/standby_ctl.tmp ';

    Take the controlfile and location pending restore

    RMAN > restore controlfile eve of ' / tmp/standby_ctl.tmp ';

    Once completed.

    SQL > alter the editing of the database;

    SQL > select controlfile_type, open_mode from v$ database;

    -->, he must return to sleep

    SQL > alter database recover managed standby database disconnect;

    Thank you

Maybe you are looking for