RMAN error? == What job generates backup piece files in $ORACLE_HOME?

Dear experts,
I noticed that I have hundreds of files in $ORACLE_HOME that are backup pieces. I have set up the backup location in +FRA.  I am not sure how these files get generated and why the cause an error when RMAN ran as you can see below.
I very much appreciate your assistance,
Terry
RMAN> DELETE NOPROMPT OBSOLETE;
RMAN retention policy is set to recovery window of 3 days
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
Backup Set 319 21-JUN-08
Backup Piece 271 21-JUN-08 +FRA/bms/autobackup/2008_06_21/s_657944280.306.657944281
Backup Set 322 21-JUN-08
Backup Piece 274 21-JUN-08 bk_324_1_657950801
Backup Set 323 21-JUN-08
Backup Piece 275 21-JUN-08 c-118945620-20080621-02
Backup Set 333 22-JUN-08
Backup Piece 283 22-JUN-08 /u01/app/oracle/product/10.2.0/db_1/afjjhg2v_1_1
Backup Set 348 23-JUN-08
Backup Piece 296 23-JUN-08 /u01/app/oracle/product/10.2.0/db_1/aujjk4el_1_1
Backup Set 363 24-JUN-08
Backup Piece 309 24-JUN-08 /u01/app/oracle/product/10.2.0/db_1/bdjjmonm_1_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 06/25/2008 02:00:23
RMAN-06091: no channel allocated for maintenance (of an appropriate type)

The confusion is that I have a server that deletes the files based on the retention period and has no issues. The other server has identical setup, but it gives an error and it does not delete the backup piece.
Backup Piece 1402 25-JUN-08 /u01/app/oracle/product/10.2.0/db_1/jbjjpc9a_1_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 06/26/2008 02:00:21
RMAN-06091: no channel allocated for maintenance (of an appropriate type)
$ORACLE_HOME files generated from the channel fornat:
-rw-r----- 1 oracle oinstall 294626304 Jun 25 07:06 rcjjpu2r_1_1
-rw-r----- 1 oracle oinstall 98304 Jun 25 07:07 rdjjpu4m_1_1
-rw-r----- 1 oracle oinstall 244966912 Jun 26 07:07 rljjsifj_1_1
-rw-r----- 1 oracle oinstall 98304 Jun 26 07:07 rmjjsih3_1_1
Files generated from +FRA pfile location:
ASMCMD> pwd
+FRA/DBWS/BACKUPSET
ASMCMD> ls -ltr
Type Redund Striped Time Sys Name
Y 2008_06_15/
Y 2008_06_16/
Y 2008_06_17/
Y 2008_06_18/
Y 2008_06_19/
Y 2008_06_20/
Y 2008_06_21/
Y 2008_06_22/
Y 2008_06_23/
Y 2008_06_24/
Y 2008_06_25/
Y 2008_06_26/
ASMCMD> cd 2008_06_26/
ASMCMD> ls -ltr
Type Redund Striped Time Sys Name
BACKUPSET MIRROR COARSE JUN 26 07:00:00 Y ncnnf0_TAG20080626T070124_0.1101.658393401
BACKUPSET MIRROR COARSE JUN 26 07:00:00 Y nnndf0_TAG20080626T070124_0.1159.658393287
BACKUPSET MIRROR COARSE JUN 26 07:00:00 Y nnndf0_TAG20080626T070124_0.850.658393285

Similar Messages

  • 7303030 patch - an error occured while generating forms library files

    Hi,
    While applying 12.1.1 upgrade patch, 7303030 i got an error at A1000 phase
    "An error occured while generating forms library files" continue as if it were successful..
    As we can generate forms after completion of the patch, i selected yes .
    Later, i got "An error occured while generating oracle forms files", here also i selected to continue.
    Please tell me is this the right way to continue the patch?
    I didn't find any errors in worker logs files, after all workers have quit, this error was reported.
    After completion of the patch what necessary steps i need to perform.
    Thanks,

    Hi,
    The errors are due to missing of pre-req patch 6400501
    Forms 10.1.2.3 Compilation against an 11.2 Fails with DB PL / SQL ERROR 801 ... internal error [60603] [ID 1065020.1]
    After Applying the patch, successfully gerated forms.
    I applied the patch 6400501 but still with the error internal error [60603], have something more to be done?
    Thank you.

  • ORA-19870: error while restoring backup piece -- file exists in ASM

    [oracle@rs1pre92dvdbsa01 ~]$ rman target sys/c9nv9sd9t9f11e@mdm11 auxiliary /
    Recovery Manager: Release 11.2.0.1.0 - Production on Fri Oct 29 10:41:38 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: MDM (DBID=1485385044)
    connected to auxiliary database: MDM (not mounted)
    RMAN> duplicate target database for standby;
    Starting Duplicate Db at 29-OCT-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=13 device type=DISK
    contents of Memory Script:
    restore clone standby controlfile;
    executing Memory Script
    Starting restore at 29-OCT-10
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece +MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607
    channel ORA_AUX_DISK_1: ORA-19870: error while restoring backup piece +MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607
    ORA-19505: failed to identify file "+MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607"
    ORA-17503: ksfdopn:2 Failed to open file +MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607
    ORA-15012: ASM file '+MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607' does not exist
    failover to previous backup
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/29/2010 10:42:00
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06024: no backup or copy of the control file found to restore
    RMAN>
    ASMCMD [+mdmdg2] > cd mdm1
    ASMCMD [+mdmdg2/mdm1] > ls
    CONTROLFILE/
    FLASHBACK/
    ONLINELOG/
    arch/
    autobackup/
    ASMCMD [+mdmdg2/mdm1] > cd autobackup
    ASMCMD [+mdmdg2/mdm1/autobackup] > ls
    2010_10_29/
    ASMCMD [+mdmdg2/mdm1/autobackup] > cd 2010_10_29
    ASMCMD [+mdmdg2/mdm1/autobackup/2010_10_29] > ls
    s_733654605.283.733654607
    As seen in asmcmd "s_733654605.283.733654607" file exists in +mdmdg2/mdm1/autobackup/2010_10_29 then why it is complaning that it can't find the file.
    and also How to open/view file in asmcmd

    [oracle@rs1pre91dvdbaa01 utl]$ sqlplus / as sysasm
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Oct 29 13:11:44 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORA-01078: failure in processing system parameters
    ORA-29701: unable to connect to Cluster Synchronization Service
    I have rebooted both the RAC servers and I can't start database?
    I was under the impression that Database should be automatically started as part of Clusterware
    Please help urgent.

  • Error when I generate a PDF file - Can't parse printer configuration file:

    I am receiving an error "Can't parse printer configuration file: uiprint.txt" when try generate to PDF file. The pdf file is generated but when I open the forms builder and show canvas the same error appears and canvas is shown in crazy way.
    My uiprint.txt has the follows:
    REPORTS_TMP=/tmp; export REPORTS_TMP
    REPORTS_NO_DUMMY_PRINTER=TRUE; export REPORTS_NO_DUMMY_PRINTER
    REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar; export REPORTS_TAGLIB_URI
    REPORTS_CLASSPATH=$ORACLE_HOME/reports/jlib/rwbuilder.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/j2ee/home/oc4j.jar:$ORACLE_HOME/j2ee/home/lib/ojsp.jar;export REPORTS_CLASSPATH
    TK60_UNKNOWN=$ORACLE_HOME/guicommon6/tk60/admin; export TK60_UNKNOWN
    TK60_PPD=$ORACLE_HOME/guicommon6/tk60/admin/PPD; export TK60_PPD
    LE_HOME/guicommon9/tk90/admin/AFM; export TK90_AFM
    TK60_FONTALIAS=$ORACLE_HOME/guicommon6/tk60/admin; export TK60_FONTALIAS
    PRINTER=testprint;export PRINTER
    TK2_PRINTER=echo;export TK2_PRINTER
    testprint:PostScript:2:HP printer:hp4si3_1.ppd
    Can someone help me?
    Thanks

    Hello,
    The file uiprint.txt must not contain environment variables definitions.
    Put the lines :
    REPORTS_TMP=/tmp; export REPORTS_TMP
    REPORTS_NO_DUMMY_PRINTER=TRUE; export REPORTS_NO_DUMMY_PRINTER
    REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar; export REPORTS_TAGLIB_URI
    REPORTS_CLASSPATH=$ORACLE_HOME/reports/jlib/rwbuilder.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/j2ee/home/oc4j.jar:$ORACLE_HOME/j2ee/home/lib/ojsp.jar;export REPORTS_CLASSPATH
    TK60_UNKNOWN=$ORACLE_HOME/guicommon6/tk60/admin; export TK60_UNKNOWN
    TK60_PPD=$ORACLE_HOME/guicommon6/tk60/admin/PPD; export TK60_PPD
    LE_HOME/guicommon9/tk90/admin/AFM; export TK90_AFM
    TK60_FONTALIAS=$ORACLE_HOME/guicommon6/tk60/admin; export TK60_FONTALIAS
    PRINTER=testprint;export PRINTER
    TK2_PRINTER=echo;export TK2_PRINTER
    in the file reports.sh
    and keep only
    testprint:PostScript:2:HP printer:hp4si3_1.ppd
    in uiprint.txt
    Regards

  • JAXB: Error compiling classes generated by xjc (file name too long)

    Hi friends,
    I am trying to compile classes that are generated by using XJC tool on xsd file. The compilation fails with following message.
    buildxsdmodel:
        [javac] Compiling 794 source files to /home/uchamad/working/teleworker/ejb/build/classes
        [javac] /home/uchamad/working/teleworker/ejb/build/tmpsrc/uk/co/novatel/teleworker/model/wlr/bulksearch
    results/impl/ApplicationInformationTypeImpl.java:58372: error while writing
    uk.co.novatel.teleworker.model.wlr.bulksearchresults.impl.ApplicationInformationTypeImpl.XMLRequestID
    TypeImpl.SearchOrderResultsTypeImpl.SearchTypeDetailTypeImpl.OrderTypeImpl.OrderDetailsTypeImpl.
    OrderLinesTypeImpl.NumberPortingTypeImpl.OLODetailsTypeImpl.NumberLocationTypeImpl.OLOMainP
    STN1AddressTypeImpl.Unmarshaller: /home/uchamad/working/teleworker/ejb/build/classes/uk/co/novatel
    /teleworker/model/wlr/bulksearchresults/impl/ApplicationInformationTypeImpl$XMLRequestIDTypeImpl$S
    earchOrderResultsTypeImpl$SearchTypeDetailTypeImpl$OrderTypeImpl$OrderDetailsTypeImpl$OrderLin
    esTypeImpl$NumberPortingTypeImpl$OLODetailsTypeImpl$NumberLocationTypeImpl$OLOMainPSTN1A
    ddressTypeImpl$Unmarshaller.class (File name too long)
        [javac]                                             public class Unmarshaller
        [javac]                                                    ^
        [javac] 1 error
    The compiler is complaining about the file name being too long. This is happening because the java classes when generated from XSD contains deep nesting of inner classes. So when it comes to compile the .class name file is too long for the operating system.
    I am trying this on unix box.
    I wonder if there is a way to configure XJC so that it does not produce inner classes but instead keep them out.
    Any help would be appreciated.
    many thanks
    Usmangani

    Flattening your schema definition will flatten the output files, too -- that will probably be nice for coding as well since you wont have to use class names such as SomeTypeNestedInAnotherTypeThatHasYetAnotherType. Instead of having all of the elements defined directly within the enclosing root element, define logical chunks at the top level and incorporate them in the definition of real root element of your documents by reference.

  • RMAN-20260 error while trying to delete a backup piece

    Hello,
    In my company we use Oracle 10g, backup managed by RMAN and integrated with TSM.
    In order to remove the old backup files, there is a delete script to do this.
    Basically this script:
    connect to RMAN catalog
    allocate channel for maintenance device type 'sbt_tape'
    change backuppiece <file names from rc_backup_piece older than 35 days> delete;
    When this command is run, this error is being generated:
    RMAN-03002: failure of delete command at 01/18/2010 17:14:00
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20260: backup piece not found in the recovery catalog
    RMAN-06092: error while looking up backup piece
    Any ideas?
    Thanks in advance.
    Fer

    Hy Tycho,
    Yes, it's a tape backup.
    This is the channel used to take the backup:
    allocate channel t1 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/opt/tsm..../...opt)';
    I tried this rman command with a file name that is 35 days older in rc_backup_piece:
    list backuppiece <file name>;
    I received this error:
    RMAN-20260: backup piece not found in the recovery catalog;
    How can this file be in the rc_backup_piece and not appear in the list backuppiece ?
    Thanks a lot.
    Fer

  • ORA-19870: error while restoring backup piece

    RMAN> duplicate target database for standby;
    Starting Duplicate Db at 30-06-2011 10:39:45
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=488 device type=DISK
    contents of Memory Script:
    restore clone standby controlfile;
    executing Memory Script
    Starting restore at 30-06-2011 10:39:45
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece /dborafiles/mdm_bn/mdm/orareco/MDM1/autobackup/2011_06_30/o1_mf_s_755174014_70rjqho8_.bkp
    channel ORA_AUX_DISK_1: ORA-19870: error while restoring backup piece /dborafiles/mdm_bn/mdm/orareco/MDM1/autobackup/2011_06_30/o1_mf_s_755174014_70rjqho8_.bkp
    ORA-19505: failed to identify file "/dborafiles/mdm_bn/mdm/orareco/MDM1/autobackup/2011_06_30/o1_mf_s_755174014_70rjqho8_.bkp"
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    failover to previous backup
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece /dborafiles/mdm_bn/mdm/backup/MDM11_rgmg62jn_1_1.ctl_bkp
    channel ORA_AUX_DISK_1: ORA-19870: error while restoring backup piece /dborafiles/mdm_bn/mdm/backup/MDM11_rgmg62jn_1_1.ctl_bkp
    ORA-19505: failed to identify file "/dborafiles/mdm_bn/mdm/backup/MDM11_rgmg62jn_1_1.ctl_bkp"
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    failover to previous backup
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece /dborafiles/mdm_bn/mdm/orareco/MDM1/autobackup/2011_06_30/o1_mf_s_755169400_70rd79x9_.bkp
    user interrupt received
    ORACLE error from target database:
    ORA-03114: not connected to ORACLE
    File permission on the primary
    [oracle@bnl11237dat01 MDM1]$ ls -l /dborafiles/mdm_bn/mdm/orareco/MDM1/autobackup/2011_06_30/o1_mf_s_755174014_70rjqho8_.bkp
    -rw-rw-rw- 1 oracle oinstall 22216704 Jun 30 10:33 /dborafiles/mdm_bn/mdm/orareco/MDM1/autobackup/2011_06_30/o1_mf_s_755174014_70rjqho8_.bkp
    We are getting the above error when creating the standby on different host to primary. Please can I know how to resolove this error.

    Please copy the backup pieces and archivelogs from the target database to the standby database..Do remember that the location on the standby database node must be same as of the target database node..
    For example : if the bkp pieces of target db node is on '/ora_backup/target_name/bkp' then the same locaiton must be created on standby
    if the archivelogs of target db node is on '/ora_backup/target_name/arch' then the same location must be created on standby
    Hope its clear.

  • Query RMAN catalog to view my controlfile backup in backup piece

    version: 11.1.0.7
    We need to restore an year old database and its backup is availble in TAPE, RMAN directly takes backup to TAPE.
    we have dropped the database, Now there is a requirement to restore the database.
    we Know DBID, I can restore the db once i can restore the contolfile.
    However we did not have controlfile auto backup. whenever there is FULL/incremental backup cotnrolfile is included in that backup. now we have the rman catalog for that database. so How I can query rman catalog to find which backup piece containing the latest controlfile? once we know the backuppiece info, we can restore controlfile from that piece
    any help on this?

    user8860934 wrote:
    version: 11.1.0.7
    We need to restore an year old database and its backup is availble in TAPE, RMAN directly takes backup to TAPE.
    we have dropped the database, Now there is a requirement to restore the database.
    we Know DBID, I can restore the db once i can restore the contolfile.
    However we did not have controlfile auto backup. whenever there is FULL/incremental backup cotnrolfile is included in that backup. now we have the rman catalog for that database. so How I can query rman catalog to find which backup piece containing the latest controlfile? once we know the backuppiece info, we can restore controlfile from that piece
    any help on this?Connect with recovery catalog through rman and
    set dbid <yourdbid>
    list backup of controlfile;In this case you will see all backups of controlfile.And according time this backup you can restore database using
    rman>restore controlfile from 'backupset_location';

  • Could not generate the flash file(SWF)

    Hi all,
    I am working with a Dashboard having a GMap plugin and it was working fine on BO server.
    But now the plugin has been changed from GMap to CMaps plugin. I am able to download the same dashboard from BO Server to my desktop.
    The snapshot of the warning I get while downloading the dashboard has been attached.
    When downloaded from server, in place of displaying map on GMap plugin I get a warning "Invalid request this request is invalid" but when i open its properties the warning goes and the map appears back.
    Then I tried to upload the same dashboard on BO Server and I get an error "Could not generate the flash file(SWF)...". The snapshot of the same has been attached.
    I am unable to do any modification on this Dashboard.
    Regards

    Hi,
    In your discussion,you have downloaded the dashboard file from the BO server to your desktop.
    You can export the dashboard to BO Server in SWF format.But how can you download the physical dashboard file from BO server.Is it possible?
    Do the changes in .xlf physical file and export the .xlf file to BO server as File-->Save to platform.
    Regards,
    Venkat P

  • RMAN ORA-19870: error reading backup piece 'location'

    Hi All ,
    I have run a restore from a RMAN backup and i got this error :
    ORA-19870: error reading backup piece XX_df_23_11_2011_XXX_1_1.rman
    ORA-19599: block number 616206 is corrupt in backup piece XX_df_23_11_2011_XXX_1_1.rmanThough the RMAN backup is still going on , it has not errored out, How can i find what all gets missing from the Source database , as in what all is present in the missing block ?
    What is the use of MAXCORRUPT parameter ? can that be used here ? can this be prevented if i use maxcorrupt =1 and then run the restore ?
    Also , Is there any way in which i can verify that all the backups are perfect before i drop my earlier database and run the restore. I think its the validate command but I am not sure, hence seek expert suggestion.
    Please suggest
    Thanks
    Kk
    Edited by: Kk on Dec 1, 2011 3:04 AM

    RMAN backup Fails with ORA-19599,ORA-19600 and ORA-19601 [ID 779386.1]

  • What is RMAN backup piece ?

    Hi,
    Kindly explain me in simple terms what is rman "backup piece". Document is saying "The physical file format used to store RMAN backup sets.". What do you mean physical file format ? Little confused with this terminology.
    thanks & regards
    pjp

    You can make an analogy with tablespaces, where one tablespace must have at least one datafile, but can have one more than.
    As:
    Tablespace = backup set
    Datafile = backup piece

  • Sign on problems within Elements 10; plus cannot backup writing files error with file catalog.pse10db.  No indication what the problem is.  How do I get adobe help with these problems?

    Sign on problems within Elements 10; plus cannot backup, writing files error with file catalog.pse10db.  No indication what the problem is.  How do I get adobe help with these problems?

    Sign on problems within Elements 10; plus cannot backup, writing files error with file catalog.pse10db.  No indication what the problem is.  How do I get adobe help with these problems?

  • Error reading backup piece, unable to open file,

    I have 3 bkp file in BACKSET directory, I am trying to duplicate form one system(Windows XP) to another Windows XP.
    I get errors as below. Please help.
    channel ORA_AUX_DISK_1: reading from backup piece Z:\FLASH_RECOVERY\MYSID\BACKUPSET\2010_03_31\O1_MF_NNND0_TAG_5V5S7C8S_.BKP
    ORA-19870: error reading backup piece Z:\FLASH_RECOVERY\MYSID\BACKUPSET\2010_03_31\O1_MF_NNND0_TAG_5V5S7C8S_.BKP
    ORA-19505: failed to identify file "Z:\FLASH_RECOVERY\MYSID\BACKUPSET\2010_03_31\O1_MF_NNND0_TAG_5V5S7C8S_.BKP"
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    failover to previous backup
    The file Z:\FLASH_RECOVERY\MYSID\BACKUPSET\2010_03_31\O1_MF_NNND0_TAG_5V5S7C8S_.BKP does exist in the target database.
    Edited by: user10404616 on Mar 31, 2010 7:51 AM

    You must copy the backup pieces from SysA to SysB -- to the expected location. This would be the same directory path as on SysA.
    See the documentation on the DUPLICATE DATABASE command :
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta028.htm#RCMRF126
    If the target and duplicate databases reside on different hosts, then you must do one of the following tasks for duplication to be successful:
    Move backups and disk copies from the target host to the duplicate host to the same location as the target host so that the path names are identical
    Move backups and disk copies from the target host to the duplicate host to a new location (so that the path names are different), and then CATALOG them.
    Make sure that all backups and copies (disk or sbt) on the target host are remotely accessible from the duplicate host. Make sure that the archived redo logs are available in the expected location in the new host.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Identify L1 backup pieces and restore the latest control file

    DB version:11.2
    Platform : Solaris 11
    We dropped a Development DB last month. But we kept the Level0 and Level1 rman backups plus the archive logs generated after the last L1 .
    Our L0 and L1's were scheduled with a 4 day gap.
    Now the dev team wants this DB to be restored in a different machine. We hadn't stored rman metadata in a catalog schema. All we have is the below backup pieces.
    stcdev_p4lor85q_1_1.bkp
    stcdev_yls3gkjl_3_7.bkp
    stcdev_mhfr8293_5_4.bkp
    stcdev_ipxsr8293_5_4.bkp
    .I don't know which of the backup pieces are from L1 and which ones are from L0. If I manage to restore the latest control file from the latest L1 backup , then things will be easy. What if I mistakenly restore the old control file from L0 which doesn't have any info on any new datafiles/tempfiles I've added after that L0.
    What would you guys do for situation like this?

    After you restore the controlfile, simply ALTER DATABASE MOUNT and then issue a LIST BACKUP. That listing will show you what the controlfile is aware of --- if it shows both L0 and L1 backups, you can use it. If it shows only the L0 backup, try restoring the "other" controlfile.
    If you can see the timestamps of the backuppieces, that would help you identify which is the "later" backup.
    Hemant K Chitale

  • RMAN backup piece corruption.

    Hi,
    I m having multiple databases where RMAN backup configured and scheduled. I want to know from backup piece how I can know the block corruption?

    What is the version of your RMAN utility.
    Try this:
    Start RMAN and connect to a target database and recovery catalog (if used).
    Run the BACKUP VALIDATE command.
    For example, you can validate that all database files and archived logs can be backed up by running a command as shown in the following example. This command checks for physical corruptions only.
    BACKUP VALIDATE
    DATABASE
    ARCHIVELOG ALL;
    To check for logical corruptions in addition to physical corruptions, run the following variation of the preceding command:
    BACKUP VALIDATE
    CHECK LOGICAL
    DATABASE
    ARCHIVELOG ALL;
    In the preceding examples, the RMAN client displays the same output that it would if it were really backing up the files. If RMAN cannot back up one or more of the files, then it issues an error message. For example, RMAN may show output similar to the following:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 08/29/2007 14:33:47
    ORA-19625: error identifying file /oracle/oradata/trgt/arch/archive1_6.dbf
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Source: http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmvalid.htm (To validate files with the BACKUP VALIDATE command)

Maybe you are looking for