Error , ORA-19809 & ORA-19804 While restoring RMAN backup .

Hi Experts,
I am restoring production RMAN backup to UAT . Using below steps
1)rman target=/
2)RMAN> startup nomount;
3) RMAN> restore controlfile from '/orabkdump/Rman_Bak/ACME/bkup_CTLFL_2206101206.ctl';
Starting restore at 05-AUG-10
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=3 device type=DISK
channel ORA_DISK_1: copied control file copy
output file name=+DATA_ACME/acme/controlfile/current.256.724845209
output file name=+DATA_ACME/acme/controlfile/current.257.724845209
Finished restore at 05-AUG-10
4) RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1
5) RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/orabkdump/Rman_Bak/ACME/%F';
old RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/orabkdump/Rman_Bak/ACME1/current/%F';
new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/orabkdump/Rman_Bak/ACME/%F';
new RMAN configuration parameters are successfully stored
6) RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/orabkdump/Rman_Bak/ACME/%U';
old RMAN configuration parameters:
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/orabkdump/Rman_Bak/ACME/%U';
new RMAN configuration parameters:
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/orabkdump/Rman_Bak/ACME/%U';
new RMAN configuration parameters are successfully stored
released channel: ORA_DISK_1
7) RMAN> CATALOG START WITH '/orabkdump/Rman_Bak/ACME';
searching for all files that match the pattern /orabkdump/Rman_Bak/ACME
List of Files Unknown to the Database
=====================================
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347594_1_1
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347939_2_1
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348365_3_1
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348681_4_1
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722349076_5_1
File Name: /orabkdump/Rman_Bak/ACME/bkup_CTLFL_2206101206.ctl
File Name: /orabkdump/Rman_Bak/ACME/c-1904932673-20100622-00
File Name: /orabkdump/Rman_Bak/ACME/dbsnap.log
File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.log
File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.trc
Do you really want to catalog the above files (enter YES or NO)? YES
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347594_1_1
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347939_2_1
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348365_3_1
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348681_4_1
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722349076_5_1
File Name: /orabkdump/Rman_Bak/ACME/bkup_CTLFL_2206101206.ctl
File Name: /orabkdump/Rman_Bak/ACME/c-1904932673-20100622-00
List of Files Which Where Not Cataloged
=======================================
File Name: /orabkdump/Rman_Bak/ACME/dbsnap.log
RMAN-07517: Reason: The file header is corrupted
File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.log
RMAN-07517: Reason: The file header is corrupted
File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.trc
RMAN-07517: Reason: The file header is corrupted
8) RMAN> run {
2> set until sequence 1789 thread 2;
3> restore database;
4> recover database;
5> sql 'alter database open resetlogs';
6> }
executing command: SET until clause
Starting restore at 06-AUG-10
using channel ORA_DISK_1
Finished restore at 06-AUG-10
Starting recover at 06-AUG-10
using channel ORA_DISK_1
starting media recovery
channel ORA_DISK_1: starting archived log restore to default destination
channel ORA_DISK_1: restoring archived log
archived log thread=1 sequence=2803
channel ORA_DISK_1: restoring archived log
archived log thread=2 sequence=6051
channel ORA_DISK_1: restoring archived log
archived log thread=1 sequence=2804
channel ORA_DISK_1: reading from backup piece /orabkdump/Rman_Bak/ACME/ACME_AL_726286927_57_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 08/06/2010 23:10:38
ORA-19870: error while restoring backup piece /orabkdump/Rman_Bak/ACME/ACME_AL_726286927_57_1
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 49283072 bytes disk space from 5218762752 limit
** My UAT database should be in noarchival mode . Generally such errors have been observed during backup , but have no clue why they occurred during recovery .Please advice .
Thanks
Edited by: user11981514 on Aug 6, 2010 9:46 AM

Hi,
Since the error ORA-19809 indicates the lack of space in flash recovery area during the media recovery, I suggested increasing the value of the parameter DB_RECOVERY_FILE_DEST_SIZE.
Yes, during the media recovery the RMAN will restore the archived log to the default destination (only if the required archived logs are not already on the disks).You can confirm the restore location of the archived log in RMAN restore log/destination specified by parameters log_archive_dest_1/db_recovery_file_dest.
Regards,
Vaibhav

Similar Messages

  • I am getting below error while taking RMAN backup.

    Friends,
    I am getting below error while taking RMAN backup.
    The issue is related with a lock while trying to backup the controlfile.
    The lock is more likely caused by the autobackup controlfile process started just before RMAN process was also trying the backup controlfile as shown in the following alert.log excerpt.
    Starting Control File and SPFILE Autobackup at 2009-04-07 09:24:58
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 04/07/2009 09:25:03
    ORA-00230: operation disallowed: snapshot control file enqueue unavailable
    Is there anyway to solve this issue?Thanks in advance.

    Hi,
    SQL> SELECT s.sid, username AS "User", program, module, action, logon_time "Logon", l.*
    FROM v$session s, v$enqueue_lock l
    WHERE l.sid = s.sid and l.type = 'CF' AND l.id1 = 0 and l.id2 = 2; 2 3
    no rows selected
    Oracle version : 10.2.0.3
    I am getting this error once in a month not everyday.
    Starting Control File and SPFILE Autobackup at 2009-04-07 09:24:58
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 04/07/2009 09:25:03
    ORA-00230: operation disallowed: snapshot control file enqueue unavailable
    Please suggest me based on this..Thanks in advance..

  • Why am getting a "error occurred while restoring from backup" message when restoring using Time Machine?

    Hello
    I recently made a Bootcamp partition with Windows 7 (which incidentally went absolutely fine).  In that partition I wanted to split it for some certain files, but on doing so I appear to have completely tanked my hard drive - I've pretty much wiped the entire thing.  I read afterwards that creating new partitions within Windows is a big no no Bootcamp wise, and this wasn't something I knew about before.  Lesson learnt!
    Either way, I had a backup and though it would be simple enough to restore from that backup, but about 2% in it it pops up "an error has occurred while restoring from backup, please restart and try again".  After a few tries, this didn't work, so now I'm worried that my backup is corrupt.
    I'm not sure why the backup would be corrupt as this was made with no problems as normal.
    I've already tried the standard restore with no success (obviously), and I've also tried re-installing the OS up to the first boot, then trying to restore (thinking that the error was a result of a missing Recovery HD, which the re-install would create) and this was with no success also.
    My final idea was to just erase the drive and re-install the OSX, and then when it prompts me, restore the files from the Time Capsule.
    Am I onto the right idea, or is there another way around this?  I'm just very worried that my backup has become corrupted for some reason and I've lost everything on there.
    Specs are:
    MacBook Pro Mid 2012 OS X 10.8.5;
    Bootcamp 5 (Windows 7);

    I'd agree. As long as you've gone this far, I'd probably start from scratch with your MBP, back up any critical files on it, wipe the whole thing, and do a nice clean reinstall.
    I'd try to repair the backup drive with disk utilty and then see if you can restore the minimum of essential documents from it to the MBP. If Disk Utility can't fix it there is a small chance that a third party utility like diskwarrior or techtool could repair it. DiskWarrior 4 - The Disk Utility for Mac Disk Repair, Mac Directory Repair, Mac Disk Recovery, Mac Data Recovery or Techtool Pro 7
    If you can get your essential documents off the backup drive, then I'd wipe it and put a new time machine backup on it. If that doesn't work, then I'd replace the drive. 

  • Restoring Rman backup on New Host with different directory structure

    Hi,
    I have a following scenario to clone the database.
    1. clone the database on new server
    2. source is non - ASM and target is ASM
    3. On source incremental level 0 backup taken on disk connecting to catalog, the backup is moved to target host to different directory structure
    4. source is running on 32-bit Linux two node Rac and Target is running on 64-bit Linux two node Rac
    I did the following steps and getting below error:
    1. I copied incremental Level 0 backup to target server(where we need to build new db) to different directory structure
    2. On target i created pfile and build the instance, as dbf file are in multiple locations in source i put following tow parameters in init.ora of target database
    *.db_file_name_convert =(/u02/oradata/app1p/,+QADATA2/udev/datafile),(/u03/oradata/app1p/,+QADATA1/udev/datafile),(/u12/oradata/app1p/,+QADATA1/udev/datafile,),(/u99/oradata/app1p/,+QADATA1/udev/datafile),(/u09/oradata/app1p/,+QADATA1/udev/datafile),(/u14/oradata/app1p/,+QADATA1/udev/datafile),(/u07/oradata/app1p/,+QADATA1/udev/datafile),(/u06/oradata/prod/,+QADATA1/udev/datafile'),(/u05/oradata/app1p/,+QADATA1/udev/datafile)
    *.log_file_name_convert =("/u99/oradata/app1p/","+QADATA2/udev/onlinelog/")
    3. connected to rman -->> started db in nomount -->> restored the controlfile --> cataloged the backup piece and then i am trying to restore
    All the above steps i did using the Doc id *How To Restore Rman Backups On A Different Node When The Directory Structures Are Different [ID 419137.1]*
    script i am using is :
    RMAN> run {
    2> set until time "to_date('DEC/20/2010 05:30:00','Mon/DD/YYYY HH24:MI:SS')";
    3> allocate channel c1 device type disk;
    4> allocate channel c2 device type disk;
    5> allocate channel c3 device type disk;
    6> allocate channel c4 device type disk;
    7> set newname for datafile 1 to '+QADATA1/UDEV/DATAFILE';
    8> set newname for datafile 2 to '+QADATA1/UDEV/DATAFILE';
    9> set newname for datafile 3 to '+QADATA1/UDEV/DATAFILE';
    10> set newname for datafile 4 to '+QADATA1/UDEV/DATAFILE';
    11> set newname for datafile 5 to '+QADATA1/UDEV/DATAFILE';
    12> set newname for datafile 6 to '+QADATA1/UDEV/DATAFILE';
    13> set newname for datafile 54 to '+QADATA1/UDEV/DATAFILE';
    set newname for datafile 63 to '+QADATA1/UDEV/DATAFILE';
    14> 15> set newname for datafile 67 to '+QADATA1/UDEV/DATAFILE';
    16> set newname for datafile 68 to '+QADATA1/UDEV/DATAFILE';
    17> set newname for datafile 50 to '+QADATA1/UDEV/DATAFILE';
    18> set newname for datafile 39 to '+QADATA1/UDEV/DATAFILE';
    19> set newname for datafile 38 to '+QADATA1/UDEV/DATAFILE';
    20> set newname for datafile 7 to '+QADATA1/UDEV/DATAFILE';
    21> set newname for datafile 9 to '+QADATA1/UDEV/DATAFILE';
    22> set newname for datafile 8 to '+QADATA1/UDEV/DATAFILE';
    23> set newname for datafile 11 to '+QADATA1/UDEV/DATAFILE';
    24> set newname for datafile 10 to '+QADATA1/UDEV/DATAFILE';
    25> set newname for datafile 66 to '+QADATA1/UDEV/DATAFILE';
    26> set newname for datafile 48 to '+QADATA1/UDEV/DATAFILE';
    27> set newname for datafile 47 to '+QADATA1/UDEV/DATAFILE';
    28> set newname for datafile 12 to '+QADATA1/UDEV/DATAFILE';
    29> set newname for datafile 13 to '+QADATA1/UDEV/DATAFILE';
    30> set newname for datafile 14 to '+QADATA1/UDEV/DATAFILE';
    31> set newname for datafile 15 to '+QADATA1/UDEV/DATAFILE';
    32> set newname for datafile 16 to '+QADATA1/UDEV/DATAFILE';
    33> set newname for datafile 18 to '+QADATA1/UDEV/DATAFILE';
    34> set newname for datafile 17 to '+QADATA1/UDEV/DATAFILE';
    35> set newname for datafile 19 to '+QADATA1/UDEV/DATAFILE';
    36> set newname for datafile 69 to '+QADATA1/UDEV/DATAFILE';
    37> set newname for datafile 60 to '+QADATA1/UDEV/DATAFILE';
    38> set newname for datafile 59 to '+QADATA1/UDEV/DATAFILE';
    39> set newname for datafile 55 to '+QADATA1/UDEV/DATAFILE';
    40> set newname for datafile 53 to '+QADATA1/UDEV/DATAFILE';
    41> set newname for datafile 44 to '+QADATA1/UDEV/DATAFILE';
    set newname for datafile 22 to '+QADATA2/UDEV/DATAFILE';
    42> 43> set newname for datafile 21 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 20 to '+QADATA2/UDEV/DATAFILE';
    44> 45> set newname for datafile 72 to '+QADATA2/UDEV/DATAFILE';
    46> set newname for datafile 70 to '+QADATA2/UDEV/DATAFILE';
    47> set newname for datafile 65 to '+QADATA2/UDEV/DATAFILE';
    48> set newname for datafile 64 to '+QADATA2/UDEV/DATAFILE';
    49> set newname for datafile 57 to '+QADATA2/UDEV/DATAFILE';
    50> set newname for datafile 56 to '+QADATA2/UDEV/DATAFILE';
    51> set newname for datafile 49 to '+QADATA2/UDEV/DATAFILE';
    52> set newname for datafile 45 to '+QADATA2/UDEV/DATAFILE';
    53> set newname for datafile 26 to '+QADATA2/UDEV/DATAFILE';
    54> set newname for datafile 25 to '+QADATA2/UDEV/DATAFILE';
    55> set newname for datafile 24 to '+QADATA2/UDEV/DATAFILE';
    56> set newname for datafile 23 to '+QADATA2/UDEV/DATAFILE';
    57> set newname for datafile 27 to '+QADATA2/UDEV/DATAFILE';
    58> set newname for datafile 28 to '+QADATA2/UDEV/DATAFILE';
    59> set newname for datafile 29 to '+QADATA2/UDEV/DATAFILE';
    60> set newname for datafile 30 to '+QADATA2/UDEV/DATAFILE';
    61> set newname for datafile 73 to '+QADATA2/UDEV/DATAFILE';
    62> set newname for datafile 32 to '+QADATA2/UDEV/DATAFILE';
    63> set newname for datafile 31 to '+QADATA2/UDEV/DATAFILE';
    64> set newname for datafile 34 to '+QADATA2/UDEV/DATAFILE';
    65> set newname for datafile 33 to '+QADATA2/UDEV/DATAFILE';
    66> set newname for datafile 35 to '+QADATA2/UDEV/DATAFILE';
    67> set newname for datafile 36 to '+QADATA2/UDEV/DATAFILE';
    68> set newname for datafile 37 to '+QADATA2/UDEV/DATAFILE';
    69> set newname for datafile 51 to '+QADATA2/UDEV/DATAFILE';
    70> set newname for datafile 43 to '+QADATA2/UDEV/DATAFILE';
    71> set newname for datafile 40 to '+QADATA2/UDEV/DATAFILE';
    72> set newname for datafile 41 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 71 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 58 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 52 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 46 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 42 to '+QADATA2/UDEV/DATAFILE';
    73> 74> 75> 76> 77> 78> set newname for datafile 62 to '+QADATA2/UDEV/DATAFILE';
    79> set newname for datafile 61 to '+QADATA2/UDEV/DATAFILE';
    80> set newname for datafile 74 to '+QADATA2/UDEV/DATAFILE';
    81> restore database;
    82> switch datafile all;
    83> recover database;
    84> alter database open resetlogs;
    85>
    86> release channel c1;
    87> release channel c2;
    88> release channel c3;
    89> release channel c4;
    90> }
    Getting the following error, copied lines from the error i am getting.
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 27-DEC-10
    released channel: c1
    released channel: c2
    released channel: c3
    released channel: c4
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/27/2010 08:09:08
    RMAN-06026: some targets not found - aborting restore
    RMAN-06100: no channel to restore a backup or copy of datafile 74
    RMAN-06100: no channel to restore a backup or copy of datafile 73
    Please advice...
    Thanks,
    Tanveer Mohammed

    If you would like, please refer the link:-
    http://gavinsoorma.com/2010/04/creating-an-asm-duplicate-database-from-a-non-asm-database/

  • Steps to restore RMAN backups from tape to disk

    Hi All,
    using Netbackup Veritas Volume
    DB:10.2.0.3.0
    OS:AIX 64 bit
    Could nayone please share the steps to - restore RMAN backups from tape to disk.
    An early reply would be appreciated!!
    Thanks for your time!
    Regards,

    Hi,
    I went through as per your action plan it is giving below error I found a solution on meta doc id 559190.1 but i am not able to understant how to start observiced as it is mentioned in the doc id.
    allocated channel: t1
    channel t1: sid=2386 devtype=SBT_TAPE
    channel t1: Data Protection for Oracle: version 5.4.1.0
    Starting restore at 09-MAY-10
    channel t1: looking for autobackup on day: 20100509
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/09/2010 11:57:01
    ORA-27191: sbtinfo2 returned error
    Additional information: 2
    RMAN>
    Thanks,

  • Restore RMAN Backup

    Dear All,
    I am practicing Oracle Restore scenarios on my Oracle 9i database. Once I complete my tests in Oracle 9i I will move up to 10g and then finally to 11g.
    Following is my recovery scenario:
    1) I did NOT configure Recovery Catalog
    2) I would like to restore my databse from a 15 days old backup
    3) control_file_record_keep_time is set to 7 days.
    4) Backups are on tape.
    Can you guys please shed some light on how to I proceed?
    - P

    In oracle 9i , check , which situation you can perform complete recovery and in which situations you have to select incomplete recovery.
    check the notes by Alejandro Vargas, BACKUP AND RECOVERY SCENARIOS
    http://www.google.co.in/#hl=en&q=oracle+backup+and+recovery+scenarios&aq=0&aqi=g10&aql=&oq=oracle+backup+and+reco&gs_rfai=&fp=aa24f2b3591f5f42
    [PDF]
    Backup and Recovery Scenarios - Backup & Recovery Check List
    - 4:11am
    File Format: PDF/Adobe Acrobat - Quick View
    Oracle Support Israel. User Managed Recovery Scenarios And Configuration .... 4. recover automatic database using backup controlfile; ...
    static7.userland.com/oracle/gems/.../BackupAndRecoveryChecklist.pdf
    refer this, this will helps you.
    Can one restore RMAN backups without a CONTROLFILE and RECOVERY CATALOG?_
    http://www.orafaq.com/wiki/Oracle_database_Backup_and_Recovery_FAQ#Can_one_restore_RMAN_backups_without_a_CONTROLFILE_and_RECOVERY_CATALOG.3F
    Edited by: rajeysh on Jun 20, 2010 6:36 PM

  • Error  While  Restoring  Rman database

    file names not getting convert..even after putting db_file_name_convert
    db_file_name_convert='/data1/oradata/UAT/','/opt/u02/app/oracle/oradata/oamnint'
    logfile_name_convert='/data2/oradata/UAT/','/opt/u02/app/oracle/oradata/omanint','/oracle/app/oracle/oradata/','/opt/u02/app/oracle/oradata/omanint'
    we use this parameter
    ORA-19502: write error on file "/data2/oradata/NUAT/undotbs01.dbf", block number 539328 (block size=8192)
    ORA-27072: File I/O error
    Additional information: 4
    Additional information: 539328
    Additional information: 249856
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_AUX_DISK_1: restoring datafile 00017 to /data2/oradata/UAT/DASCORE.dbf
    channel ORA_AUX_DISK_1: reading from backup piece /opt/dbkp/rmanbackup01/rmanbkp_old/17ou0733_1_1_UAT_20140113
    channel ORA_AUX_DISK_1: piece handle=/opt/dbkp/rmanbackup01/rmanbkp_old/17ou0733_1_1_UAT_20140113 tag=TAG20140113T194559
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:26
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/15/2014 17:44:55
    RMAN-05501: aborting duplication of target database
    RMAN-05556: not all datafiles have backups that can be recovered to SCN 714518081
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting 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
    Thanks.

    Is your UNDOTBS is in FS "/data2/oradata/NUAT/undotbs01.dbf" ? Did you convert this FS to new FS name? First error seems to be issue with this.
    Second issue is seems to be you dont valid backup for the  SCN 714518081. Pls give us the restore script and also check whether you have valid backups.

  • Error while restoring the backup

    HI,
    We have taken the offline backup through BRtools but we have used rman to take the backup in init.SID.sap. We have succeeded in taking the backup of the database and it has saved in .S format. Now when we are restoring with Brrestore it is giving the below error. Can any one suggest how to restore the backup.
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    RMAN>
    RMAN> connect target *
    connected to target database: XID (DBID=3524048029, not open)
    using target database control file instead of recovery catalog
    RMAN> *end-of-file*
    RMAN>
    host command complete
    RMAN>
    allocated channel: ORA_MAINT_DISK_1
    channel ORA_MAINT_DISK_1: sid=143 devtype=DISK
    RMAN>
    changed backup piece available
    backup piece handle=/archive/offLine/xid/beeqftcz/xid.data5.S recid=1314 stamp=735914182
    Changed 1 objects to AVAILABLE status
    RMAN>
    released channel: ORA_MAINT_DISK_1
    RMAN> 2> 3>
    allocated channel: dsk
    channel dsk: sid=143 devtype=DISK
    Starting restore at 29-NOV-10
    released channel: dsk
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/29/2010 07:25:24
    RMAN-20201: datafile not found in the recovery catalog
    RMAN-06010: error while looking up datafile: /oracle/XID/sapdata2/xid_5/xid.data5
    RMAN>
    Recovery Manager complete.
    BR0280I BRRESTORE time stamp: 2010-11-29 07.25.33
    BR0279E Return code from 'SHELL=/bin/sh /oracle/XID/102_64/bin/rman nocatalog': 0
    BR0536E RMAN call for database instance XID failed
    BR0280I BRRESTORE time stamp: 2010-11-29 07.25.33
    BR0553E Restore from normal database backup using RMAN failed
    BR0359E Restore of /oracle/XID/sapdata2/xid_5/xid.data5 from /archive/offLine/xid/beeqftcz failed due to previous errors
    BR0278E Command output of 'SHELL=/bin/sh /oracle/XID/102_64/bin/rman nocatalog':
    Recovery Manager: Release 10.2.0.4.0 - Production on Mon Nov 29 07:24:00 2010
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    RMAN>
    RMAN> connect target *
    connected to target database: XID (DBID=3524048029, not open)
    using target database control file instead of recovery catalog
    RMAN> *end-of-file*
    RMAN>
    host command complete
    RMAN>
    allocated channel: ORA_MAINT_DISK_1
    channel ORA_MAINT_DISK_1: sid=141 devtype=DISK
    RMAN>
    changed backup piece available
    backup piece handle=/archive/offLine/xid/beeqftcz/xid.data4.S recid=1307 stamp=735914046
    Changed 1 objects to AVAILABLE status
    RMAN>
    released channel: ORA_MAINT_DISK_1
    RMAN> 2> 3>
    allocated channel: dsk
    channel dsk: sid=141 devtype=DISK
    Starting restore at 29-NOV-10
    released channel: dsk
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/29/2010 07:25:24
    RMAN-20201: datafile not found in the recovery catalog
    RMAN-06010: error while looking up datafile: /oracle/XID/sapdata2/xid_4/xid.data4
    RMAN>
    Recovery Manager complete.
    BR0280I BRRESTORE time stamp: 2010-11-29 07.25.33
    BR0279E Return code from 'SHELL=/bin/sh /oracle/XID/102_64/bin/rman nocatalog': 0
    BR0536E RMAN call for database instance XID failed
    BR0280I BRRESTORE time stamp: 2010-11-29 07.25.33
    BR0553E Restore from normal database backup using RMAN failed
    BR0359E Restore of /oracle/XID/sapdata2/xid_4/xid.data4 from /archive/offLine/xid/beeqftcz failed due to previous errors
    BR0359E Restore of /oracle/XID/sapdata2/xid_1/xid.data1 from /archive/offLine/xid/beeqftcz failed due to previous errors
    BR0359E Restore of /oracle/XID/sapdata2/xid_2/xid.data2 from /archive/offLine/xid/beeqftcz failed due to previous errors
    BR0359E Restore of /oracle/XID/sapdata4/xiddb_3/xiddb.data3 from /archive/offLine/xid/beeqftcz failed due to previous errors
    Regards,
    Manikanth.

    Is your backup got completed succesfully?

  • Restoring rman backup to sysdate-n while having latest full backup

    is it possible to restore n-5 days database state while having latest full rman backup (n) ???

    Hi,
    You need the archivelog and a backup prior to the date you want to restore.
    So:
    You cannot return back BEFORE the date of a backup.
    You can go back to the date of a backup if you have no archivelog (or archivelog backup).
    You can go back to the date of a backup and anytime AFTER if you have the archivelog (or archivelog backup).
    You can go prior (depending of the retention) if you use flashback (flashback log).

  • -20 error while restoring from backup

    I am getting resotre faile (-20) error message while restoring the ipad from itunes, after upgrading to ios5.  does anybody know what this message is and how to resolve

    Cryslex wrote:
    Thanks for the advice but I tried to reboot my computer from the osx disk and it said I could not run it off of the hard drive selected.
    No, since it's not a complete system, it's not going to start.
    You mentioned I had to erase the hd first but I don't know how to do that.
    If you replaced your HD because of a problem with it, your best bet might be to try the full restore again, but select an earlier backup.
    But if you want to erase your internal HD and install OSX, see the yellow box in #1 of Using Disk Utility.
    Then see the REINSTALLING OSX section in the box for the version of OSX you're running in Installing the ''combo'' update and/or Reinstalling OSX.
    Then you'll have two choices:
    When your Mac restarts after installing OSX, you'll have the chance to transfer your data from the most recent backup.  See either Using Setup Assistant on Lion or Using Setup Assistant on Snow Leopard or Leopard for detailed instructions.
    Or, skip Setup Assistant and create a user account.  When your Mac restarts again, use that account to reapair the backups, per #A5 in Time Machine - Troubleshooting.   I suspect that's your best option, since it sounds like the backups are damaged.
    If they can be repaired, you should be able to do the full restore.  Or, you can use Migration Assistant, but that will result in an extra user account and the transferred accounts may lose permission to the backups.  See Problems after using Migration Assistant for an explanation and some workarounds.
    If they can't be repaired, most likely you can still restore selected items, via the "Star Wars" display, per Time Machine - Frequently Asked Question #15.

  • Restore RMAN backup on new server

    Hi
    I took RMAN backup of a database with control file autobackup on...I copied the backup
    to a new server restored the spfile from the backup and modified the parameters
    bdump,udump,control file because the directory structure is different from the original
    machine.I restored the control file and it was restored properly.
    Now I need to restore the datafiles in the new path so I used set newname and switch
    but I get some error ....I have posted the error please look at it
    RMAN> run
    2> {
    3> set newname for datafile 1 to 'E:\ORACLE\METAGRID\ORADATA\METAGRID\SYSTEM01.DBF';
    4> set newname for datafile 2 to 'E:\ORACLE\METAGRID\ORADATA\METAGRID\UNDOTBS01.DBF';
    5> set newname for datafile 3 to 'E:\ORACLE\METAGRID\ORADATA\METAGRID\SYSAUX01.DBF';
    6> set newname for datafile 4 to 'E:\ORACLE\METAGRID\ORADATA\METAGRID\USERS01.DBF';
    7> set newname for datafile 5 to 'E:\ORACLE\METAGRID\ORADATA\METAGRID\TSDATA_01.DBF';
    8> set newname for datafile 6 to 'E:\ORACLE\METAGRID\ORADATA\METAGRID\TSIDX01.DBF';
    9> set newname for datafile 7 to
    'E:\ORACLE\METAGRID\ORADATA\METAGRID\TSDATA_AUDIT01.DBF';
    10> restore database;
    11> switch datafile all;
    12> recover database;
    13> }
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 11-NOV-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to E:\ORACLE\METAGRID\ORADATA\METAGRID\SYSTEM01.DBF
    restoring datafile 00002 to E:\ORACLE\METAGRID\ORADATA\METAGRID\UNDOTBS01.DBF
    restoring datafile 00005 to E:\ORACLE\METAGRID\ORADATA\METAGRID\TSDATA_01.DBF
    restoring datafile 00006 to E:\ORACLE\METAGRID\ORADATA\METAGRID\TSIDX01.DBF
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/11/2010 12:38:24
    ORA-19693: backup piece E:\RMAN\DB_0FLSLJH1_1_1 already included

    Try to clear and recatalog the backups to be used, before the restore:
    rman target /
    crosscheck backup;
    delete expired backup;
    catalog start with 'path_to_your_backup';

  • Restoring RMAN backup on a different server

    Hi oracle gurus
    i have following scenario
    i have a compressed backup set of a database
    i want to restore that rman backup on to a different server.
    both the server have same version of oracle.and both the server are of 32 bit.
    please reply if any more info is required.

    RESTORE AND RECOVERY PROCEDURE OF PRODUCTION DATABASE BACKUP ON TEST SERVERS
    As part of disaster recovery exercise or to test the validity of a RMAN backup, a full restore and recovery of databases can be performed on scratch or test servers utilising the production RMAN backups which have been restored from the tape backups on these test or scratch servers.
    This note will illustrate the above procedure by detailing the steps required to restore the backup of a production database (prod1) on a test server linux01 .
    The following assumptions are made in this note:
    The RMAN backups have been restored from tape backups to the same backup location on the test server as the production server where the backup was originally taken
    The identical directory structure as is present on production has been created on the test server. This will apply to not only the location of the database files (data, control files, redo log files), but also to the bdump,cdump, udump and adump locations.
    Controlfile autobackup has been enabled. This is important.
    Overview
    Restore the spfile from the autobackup
    Restore the controlfile from the autobackup
    Restore the data files
    Recover by applying archived redo log files
    Open the database with resetlogs
    Restore the SPFILE
    [oracle@linux01 prod1]$ rman target /
    connected to target database (not started)
    RMAN> set dbid=4266928631
    executing command: SET DBID
    RMAN> startup force nomount;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0/dbs/initprod1.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area 159383552 bytes
    Fixed Size 2039056 bytes
    Variable Size 67109616 bytes
    Database Buffers 83886080 bytes
    Redo Buffers 6348800 bytes
    RMAN> run
    2> {SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u02/backup/prod1/%F';
    3> restore spfile from autobackup;
    4> }
    RMAN> shutdown immediate;
    Restore the Control File
    In this case, the instance is now being started with the restored spfile. We can create a pfile as well from this spfile is so required.
    RMAN> startup nomount
    connected to target database (not started)
    Oracle instance started
    RMAN> set dbid=4266928631
    executing command: SET DBID
    RMAN> run
    2> {SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u02/backup/prod1/%F';
    3> restore controlfile from autobackup;
    4> }
    RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1
    Restore the database
    RMAN> restore database;
    Recover the database
    The recovery will fail at a point where it cannot restore any more archived redo log files.
    In this case the last archived log file which has been backed up is sequence 613.
    This information can be obtained by issuing a LIST BACKUP OF ARCHIVELOG ALL command.
    So RMAN will fail when it tries to apply sequence 614 ….
    RMAN> recover database
    [oracle@linux01 PROD1]$ rman target /
    connected to target database: PROD1 (DBID=4266928631, not open)
    RMAN> sql 'alter database open resetlogs';
    RMAN>
    reference: http://gavinsoorma.com/recovery-scenarios/

  • Restore RMAN Backup in Different Database on Same RAC

    We have 11gR2 2 node RAC on Linux. ASM and OMF is used for database. The database on it is backedup using RMAN.
    We want to test the RMAN backup by restoring it to a new database on same server.
    Can someone guide me to steps on how this can be achieved. I'm afraid this should not affect the actual database.
    Thanks a lot.

    Hi,
    Yes, this can be done without disturbing your source db. Need more information on your DB structure (datafile asm diskgroups), all you need to do is restore as single node and convert to rac, since you want to test rman restore, you can restore to single node to prove your RMAN backups are intact.
    Changes in init.ora
    ==============
    db_file_name_convert= ("source dir structure","target dir structure")
    log_file_name_convert=("source dir structure","target dir structure")
    cluster_database=false
    event="10298 trace name context forever, level 32"
    _no_recovery_through_resetlogs=TRUE
    Set new database sid (export ORACLE_SID=NEW_SID)
    sql>startup nomount;
    rman auxiliary /
    rman>duplicate database to "NEW_SID" backup location "Your RMAN Backup location";
    The above are very high level general steps, please do take other steps into consideration as per your environment.

  • Restoring RMAN Backup from ASM RAC env to Non ASM standalone environment

    Hi,
    Can anyone please tell me how to restore database using RMAN in a Non ASM environment as my backup file with ASM RAC environment.
    i was also looking for some documentation which provides clear explanation about RMAN backup and Restore in ASM and Non ASM environment.
    Thanks

    You can set the parameter db_file_name_convert in init.ora in you new database with [ID 47325.1]
    or
    you can set parameter "set newname" in your script rman. [ID 549972.1]
    if you have one or two destinations of dbfiles in ASM I seggest to you set parameter db_file_name_convert in init.
    example:
    db_file_name_convert=('+DGDATA','/u01/oradata/');
    remenber you need set log_file_name_convert to.
    log_file_name_convert=('+DGREDO','/u01/redo/');
    if you use "set newname" commands you need set this lines in your script rman.
    set newname for datafile 1 to '/u01/oradata/system01.dbf';
    set newname for datafile 2 to '/u01/oradata/undotbs01.dbf';
    set newname for datafile 3 to '/u01/oradata/sysaux01.dbf';
    set newname for datafile 4 to '/u01/oradata/users01.dbf';
    and every datafiles you need set!
    Edited by: user1107977 on 21/07/2011 13:47

  • Restoring RMAN backup from tape beyond retention policy ??

    Hello Friends,
    I just stuck in some basic finding. Need your help to resolve the questions.
    How we can use RMAN backup to restore oracle database when the RMAN backup pushed to tape already and being a OLD backup ( before retention policy date).
    Just to elaborate a more..  Say my retention policy is 3 days. I want to restore from a old backup  like 30 days old.
    So surely the requesting backup is behind retention date and has been pushed to tape.
    Please suggest.
    Thanks in advance.
    Regards
    Sinha.

    dba.arnab wrote:
    Hello Friends,
    I just stuck in some basic finding. Need your help to resolve the questions.
    How we can use RMAN backup to restore oracle database when the RMAN backup pushed to tape already and being a OLD backup ( before retention policy date).
    Just to elaborate a more..  Say my retention policy is 3 days. I want to restore from a old backup  like 30 days old.
    So surely the requesting backup is behind retention date and has been pushed to tape.
    Please suggest.
    Thanks in advance.
    Regards
    Sinha.
    Assuming the actual backup files still exist (the only thing actually deleted is the record of them in the catalog), you can make those files available and use the rman 'catalog' command to re-catalog them.

Maybe you are looking for

  • Internet access in rural China

    Hello Everyone -- I bought the boss a Mac Book Pro and he took it on a trip to China. Internet access via Airport worked great in Beijing and Shanghai but not in rural regions in the interior of the country. Others were having no trouble connecting,

  • Pages fonts changes when I print

    I have a table in pages that the font style appears correct on screen but it changes when I print or export to pdf The font is avenir condensed regular.  A few of the lines in the table drop a portion of the text when I print or export as pdf.  How c

  • IOS 5 on 3Gs iPhone,There was a problem downloading the software for the iPhone

    I have attemepted to update my iPhone 3Gs 8-10 times now over the past three days and keep getting the following error message: There was a problem downloading the software for the iPhone " My iPhone". The network connection timed out. Make sure your

  • How to setting Adobe Photoshop CS6 to default again?

    Hello, I'm currently using Adobe Photoshop CS6 and last night I encounter some issue (after I scan my computer using some anti virus software). after running the scanning, my Photoshop work differently, like anytime I drag some pictures into it, it w

  • Iphoto won't open after upgrade to Mavericks

    After upgrading to Mavericks a few wks ago I am having an issue with iphoto.  It did an auto update after upgrading to Mavericks, but now it has a circle with a line through it (blocked).  The pop up window says cannot open iphoto because it may be d