Catalog Backup Piece Manually

We are currently running Oracle 10.2.0.4 and IBM TSM to do our backups, but we moved to a new machine and some of our older backups are sitting on tape in TSM and i need to manually catalog these pieces, I logged a SR with Oracle and they sent me the following response
+"There is an undocumented command that allows catalog backuppiece from tape,+
+catalog device type 'SBT_TAPE' backuppiece '<name>';+
+You need first configure an sbt_tape device and then you can execute the catalog device type sbt_tape+
+command.+
+As and example the following will catalog a backuppiece on netbackup:+
+CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE'+
+PARMS 'ENV=(NB_ORA_CLASS=sv2n2admoraclelogbkup, SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.sl64';+
+catalog device type 'SBT_TAPE' backuppiece 'orig-lij1qaa3_1_1';+
+Note: This command works from 10g. The reason why it is not documented for tape is if the backupset contains more than one piece, then it will take long time to catalog backup piece. As long as there is one backuppiece per backupset, then the undocumented way should work without any issues."+
This solution is for netbackup when i try the following in TSM
RMAN> CONFIGURE CHANNEL DEVICE TYPE 'sbt_tape' parms
'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
RMAN> CATALOG DEVICE TYPE 'SBT_TAPE' BACKUPPIECE 'tiaprd_monthly_rman_7pl75al9_3_1';
I get the following error
allocated channel: ORA_SBT_TAPE_1
channel ORA_SBT_TAPE_1: sid=1754 devtype=SBT_TAPE
channel ORA_SBT_TAPE_1: Data Protection for Oracle: version 5.3.3.0
allocated channel: ORA_SBT_TAPE_2
channel ORA_SBT_TAPE_2: sid=1699 devtype=SBT_TAPE
channel ORA_SBT_TAPE_2: Data Protection for Oracle: version 5.3.3.0
allocated channel: ORA_SBT_TAPE_3
channel ORA_SBT_TAPE_3: sid=1625 devtype=SBT_TAPE
channel ORA_SBT_TAPE_3: Data Protection for Oracle: version 5.3.3.0
allocated channel: ORA_SBT_TAPE_4
channel ORA_SBT_TAPE_4: sid=1987 devtype=SBT_TAPE
channel ORA_SBT_TAPE_4: Data Protection for Oracle: version 5.3.3.0
ORA-19870: error reading backup piece tiaprd_monthly_rman_7pl75al9_3_1
ORA-19507: failed to retrieve sequential file, handle="tiaprd_monthly_rman_7pl75al9_3_1", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
ANS1302E (RC2) No objects on server match query
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of catalog command at 05/05/2010 11:37:18
RMAN-06209: List of failed objects
RMAN-06211: ==========================
RMAN-06212: Object Type Filename/Handle
RMAN-06213: --------------- ---------------------------------------------------
RMAN-06214: Backup Piece tiaprd_monthly_rman_7pl75al9_3_1
RMAN> exit
As you can see it fails but if i specify a wildcard "tiaprd_monthly_rman*" it works anybody please help
Regards
Grant

Hi Grant,
As you can see it fails but if i specify a wildcard "tiaprd_monthly_rman*" it works anybody please help.It isn´t an undocumented feature without a reason.
Why not just use the wild card option anyway saves you a lot of time keying in unique tag names?
Regards,
Tycho

Similar Messages

  • Is there a way to only catalog backup set not in the catalog? "CATALOG START WITH" generates double entry.

    The DB version is 11.1.0.7.
    The "CATALOG START WITH" not only catalog backup set that are not in the RMAN catalog, but also catalog a second copy for files that are already in the catalog.
    Files are not a second copy; they are the same file in the same directory.
    Having two copies in the catalog, through an error when deleting explicitly the backups.
    We have to add the force clause to avoid the error.
    RMAN> delete FORCE backup tag 'offsite-1';
    The force clause ignores any I/O error.
    The delete is part of our scheduled offsite backup script, which returns a false positive error when the force clause is ommited.
    I don't want the force clause, in order to be notify if the backup set that are expected to be on disk are no more there, e.g., if someone had deleted files manually at the OS level bypassing rman.
    Is there a way to only catalog backup set not in the catalog?
    or May be remove the copy #2 entry from the catalog?
    Find bellow a test case example:
    RMAN> list backup summary TAG 'OFFSITE-1';
    List of Backups
    ===============
    Key     TY LV S Device Type Completion Time    #Pieces #Copies Compressed Tag
    12      B  F  A DISK        11-JUN-13 09:41:45 1       1       NO         OFFSITE-1
    13      B  F  A DISK        11-JUN-13 09:43:31 1       1       NO         OFFSITE-1
    14      B  A  A DISK        11-JUN-13 09:43:33 1       1       NO         OFFSITE-1
    15      B  F  A DISK        11-JUN-13 09:43:34 1       1       NO         OFFSITE-1
    RMAN> CATALOG START WITH 'C:\backups\offsite_disk\IBISdatabase\scheduled_offsite';
    searching for all files that match the pattern C:\backups\offsite_disk\IBISdatabase\scheduled_offsite
    cataloging done
    List of Cataloged Files
    =======================
    File Name: C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\scheduled_offsite\06OBTJEP_1_1
    File Name: C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\scheduled_offsite\07OBTJI3_1_1
    File Name: C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\scheduled_offsite\08OBTJI5_1_1
    File Name: C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\scheduled_offsite\09OBTJI6_1_1
    RMAN> list backup summary TAG 'OFFSITE-1';
    List of Backups
    ===============
    Key     TY LV S Device Type Completion Time    #Pieces #Copies Compressed Tag
    12      B  F  A DISK        11-JUN-13 09:41:45 1       2       NO         OFFSITE-1
    13      B  F  A DISK        11-JUN-13 09:43:31 1       2       NO         OFFSITE-1
    14      B  A  A DISK        11-JUN-13 09:43:33 1       2       NO         OFFSITE-1
    15      B  F  A DISK        11-JUN-13 09:43:34 1       2       NO         OFFSITE-1
    RMAN> DELETE BACKUP TAG 'OFFSITE-1';
    List of Backup Pieces
    BP Key  BS Key  Pc# Cp# Status      Device Type Piece Name
    24      18      1   1   AVAILABLE   DISK        C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\06OBTJEP_1_1   <<--- same file
    30      18      1   2   AVAILABLE   DISK        C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\06OBTJEP_1_1   <<--- same file
    25      19      1   1   AVAILABLE   DISK        C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\07OBTJI3_1_1
    31      19      1   2   AVAILABLE   DISK        C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\07OBTJI3_1_1
    26      20      1   1   AVAILABLE   DISK        C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\08OBTJI5_1_1
    32      20      1   2   AVAILABLE   DISK        C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\08OBTJI5_1_1
    27      21      1   1   AVAILABLE   DISK        C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\09OBTJI6_1_1
    33      21      1   2   AVAILABLE   DISK        C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\09OBTJI6_1_1
    deleted backup piece
    backup piece handle=C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\06OBTJEP_1_1 RECID=24 STAMP=821470356
    deleted backup piece
    backup piece handle=C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\07OBTJI3_1_1 RECID=25 STAMP=821470356
    deleted backup piece
    backup piece handle=C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\08OBTJI5_1_1 RECID=26 STAMP=821470356
    deleted backup piece
    backup piece handle=C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\09OBTJI6_1_1 RECID=27 STAMP=821470357
    Deleted 6 objects
    RMAN-06207: WARNING: 4 objects could not be deleted for DISK channel(s) due
    RMAN-06208:          to mismatched status.  Use CROSSCHECK command to fix status
    RMAN-06210: List of Mismatched objects
    RMAN-06211: ==========================
    RMAN-06212:   Object Type   Filename/Handle
    RMAN-06213: --------------- ---------------------------------------------------
    RMAN-06214: Backup Piece    C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\06OBTJEP_1_1
    RMAN-06214: Backup Piece    C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\07OBTJI3_1_1
    RMAN-06214: Backup Piece    C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\08OBTJI5_1_1
    RMAN-06214: Backup Piece    C:\BACKUPS\OFFSITE_DISK\IBISDATABASE\SCHEDULED_OFFSITE\09OBTJI6_1_1

    Hi JM,
    Your demo with Oracle 10.2.0.5
    At line 36 you answered "No" to "Do you really want to catalog the above files (enter YES or NO)?".
    Just repeate your demo and answer Yes.
    Even if he might have replied with "YES" then also, the RMAN search for the files which it can recognize as a valid rman backup file. Else it would show the list of files which are not recognized by RMAN as a valid file.
    RMAN> catalog start with '/home/oracle/scripts';
    using target database control file instead of recovery catalog
    searching for all files that match the pattern /home/oracle/scripts
    List of Files Unknown to the Database
    =====================================
    File Name: /home/oracle/scripts/RMAN_BACKUP.sh
    File Name: /home/oracle/scripts/rman_clone.log
    File Name: /home/oracle/scripts/Db_Refresh.sh
    File Name: /home/oracle/scripts/rman_erp.scr
    File Name: /home/oracle/scripts/RMAN_14FEB.log
    File Name: /home/oracle/scripts/nid.sh
    File Name: /home/oracle/scripts/Full_Clone.sh
    File Name: /home/oracle/scripts/rman_staging.scr
    Do you really want to catalog the above files (enter YES or NO)? yes
    cataloging files...
    no files cataloged
    List of Files Which Where Not Cataloged
    =======================================
    File Name: /home/oracle/scripts/RMAN_BACKUP.sh
      RMAN-07517: Reason: The file header is corrupted
    File Name: /home/oracle/scripts/rman_clone.log
      RMAN-07517: Reason: The file header is corrupted
    File Name: /home/oracle/scripts/Db_Refresh.sh
      RMAN-07517: Reason: The file header is corrupted
    File Name: /home/oracle/scripts/rman_erp.scr
      RMAN-07517: Reason: The file header is corrupted
    File Name: /home/oracle/scripts/RMAN_14FEB.log
      RMAN-07517: Reason: The file header is corrupted
    File Name: /home/oracle/scripts/nid.sh
      RMAN-07517: Reason: The file header is corrupted
    File Name: /home/oracle/scripts/Full_Clone.sh
      RMAN-07517: Reason: The file header is corrupted
    File Name: /home/oracle/scripts/rman_staging.scr
      RMAN-07517: Reason: The file header is corrupted
    About the RMAN catalog, it will not catalog the same file twice. It will only catalog the files which are not known to the database.
    See this demo. (/backup/RMAN/STAGING/ is the location where all the backup pieces are.)
    RMAN> catalog start with '/backup/RMAN/STAGING/';
    searching for all files that match the pattern /backup/RMAN/STAGING/
    no files found to be unknown to the database
    This was the location based test, Another demo showing piece by piece catalogging .
    RMAN> list backuppiece '/backup/RMAN/STAGING/ERP_CNTRL_c-13949842-20130724-00';
    List of Backup Pieces
    BP Key  BS Key  Pc# Cp# Status      Device Type Piece Name
    1323    1321    1   1   AVAILABLE   DISK        /backup/RMAN/STAGING/ERP_CNTRL_c-13949842-20130724-00
    RMAN> catalog backuppiece '/backup/RMAN/STAGING/ERP_CNTRL_c-13949842-20130724-00';
    cataloged backup piece
    backup piece handle=/backup/RMAN/STAGING/ERP_CNTRL_c-13949842-20130724-00 RECID=1324 STAMP=821717283
    RMAN> list backuppiece '/backup/RMAN/STAGING/ERP_CNTRL_c-13949842-20130724-00';
    List of Backup Pieces
    BP Key  BS Key  Pc# Cp# Status      Device Type Piece Name
    1324    1321    1   1   AVAILABLE   DISK        /backup/RMAN/STAGING/ERP_CNTRL_c-13949842-20130724-00
    Hope its understandable, if any query please revert.
    Happy to Help.
    Thanks and Regards,
    Prashant

  • Is it possible to restore TSM/ADSM RMAN backup pieces to disk manually?

    Is it possible to restore TSM/ADSM RMAN backup pieces to disk manually, and re-catlog as disk backups?
    Oracle 10.2.0.3
    TSM client 5.5.1.1
    SUN Solaris 10 64-bit
    We are gearing up to switch from IBM's Tivoli (TSM/adsm) to EMC's Networker (Legatto), and the old TSM software drivers are going to be uninstalled.
    In a worse case scenario, we would therefore not be able to easily restore using RMAN and TSM just after the switch, and before new backups are made on Networker.
    To be comfortable with the backup methodology change, we need to explore restoring the RMAN backup pieces of a given tag using TSM commands (dsmc ?) to a filesystem, re-catalog the backup pieces now on disk, and then perform test restore/recoveries using RMAN with disk channels.
    Does anyone know of the TSM command (dsmc ?) to perform the restores of RMAN backup pieces?
    Thanks!

    This is a set of guesses and thoughts.
    1: When you say you are removing the Tivoli software drive, is this just the driver from the oracle home, or is it more substantive. In fact could you have a different oracle home to access tivoli, possible with a rman catalog copy.
    2: I dont believe the backup tag is part of the filename, however is it possilbe to query the rman catalog to get the filenames mapped to a tag?
    3: Providing you know the filenames you wish to restore then it is possible to browse the tivoli catalog. Its ages since I've done this but doesn't samc have at interactive mode
    Apologies if these suggestions are rubbish and hopefully someone gives a better answer.

  • 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';

  • Rman restore backup pieces to a location

    Dear all,
    10gr2p4 on solaris
    We are in the process of duplicating a RAC database to a single node
    We have all our RMAN backups to tape using veritas backup. Is there anyway I can restore the backup pieces from tape to disk on the (node where I need to duplicate)
    then using CATALOG command to catalog this backup pieces and start duplicating manually . Can I restore rman (backup pieces) in the file system of the test node ?
    Please guide
    Kai

    You can try to use LIST BACKUP to get the backup piece name and then use Veritas tool to restore the backup piece from tape to disk.

  • 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.

  • 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 reading backup piece

    Hi ,
    The RMAN Image backup failes with the error
    channel ORA_DISK_1: reading from backup piece /backups/RMAN/mkkl1143_1_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 07/27/2009 16:33:53
    ORA-19870: error reading backup piece /backups/RMAN/mjkl1143_1_1
    ORA-19625: error identifying file /backups/RMAN/data_DR-PROD_I-987881832_TS-APPS_TS_TX_IDX_FNO-526_dgkhaqgn
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    I have catalog the backpeince and resync the database and triggered the backup again,but still the same issue
    Can anyone throw some light
    Regards,
    Hussain

    I believe that RMAN literally cannot either 1) find the file or 2) access the file due to permissions on the backup file piece or the RMAN directory above it.
    Cheers!
    Jay Caviness
    http://www.grumpy-dba.com

  • 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.

  • Restoring Backup piece on tape from FRA without RCAT using ASM

    DB: 10.2.0.3
    ASM: 10.2.0.3
    Nightly, I have a job that backups the FRA of a 10203 DB to tape using RMAN. The FRA is on 10203 ASM. The tape is loaded, and the channel is allocated. What i'm trying to do is re-catalog the backup piece to the non default location (Disk). IE - I want to get the backup off of tape (I can only use RMAN to do this) and back onto disk and use it for Restore and Recovery...I thought it would be something as simple as specifying a non default location to restore it to but that's not working. I wonder if I have to change the db_recovery_file_dest first and then try it....any one try this before? thanks.

    You should be able to restore from tape to ASM then perform the following:
    RMAN> backup backupset <backupset_key> format '<disk_directory_path/format>';

  • 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

  • Command to delete backup piece from f drive

    can you give command to delete backup piece
    scenario i had backuppieces from april
    i dont require for april and may
    please send command
    delete bacuppiece ...........

    Hi,
    Pls refer the following link...
    pecification does not match any archive log in the recovery catalog
    thanks,
    vasanth

  • 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)

  • 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

  • How restour just only tablespace from backup piece to another node

    Hello ,
    I'm testing the political backup/restore .
    I have hot backup with RMAN of database every day , but I would like to restore this database (with the backup pieces) on another host, but I want to restore just one tablespace, without considering the undo, system and sysaux tablespaces.
    This database is RAC, but I want bring database open on single instance on another node using ASM.
    I woul like restore the tablespace system, sysaux, undotbs1 and arsystem, after that i want to bring database open.
    I want to read/write the tablespace arsystem.
    Best regards
    João Paulo Spaulonci
    [email protected]
    [email protected]

    Hello Sahid, please, will be this ?
    RMAN> startup nomount pfile='zz';
    RMAN> restore controlfile from '/u01/prd1/dddddd';
    RMAN> alter database mount;
    RMAN> catalog start with '/u01/prd1';
    run
    SET UNTIL Time 'Nov 26 2010 18:30:13';
    RESTORE TABLESPACE SYSTEM;
    RESTORE TABLESPACE SYSAUX;
    RESTORE TABLESPACE UNDOTBS1;
    RESTORE TABLESPACE UNDOTBS2;
    RESTORE TABLESPACE ARSYSTEM;
    RECOVER TABLESPACE SYSTEM;
    RECOVER TABLESPACE SYSAUX;
    RECOVER TABLESPACE UNDOTBS1;
    RECOVER TABLESPACE UNDOTBS2;
    RECOVER TABLESPACE ARSYSTEM;
    Please, can you help me ?

Maybe you are looking for

  • FCP & VTR error messages

    I have been installing several FCP 5.1 on new MacPro Intel G5's since last December. And I have been getting reports from the editors who operate these systems that they are getting error reports from FCP about the VTR. We have tried many different a

  • Error when trying to create component configuration

    Hi! When I try to create a component configuration, the following error occurs after pressing the <create>-button: Dynproausgabe ohne Verbindung zum Benutzer (<b>Dynpro output without user-connection </b>) Applikationsserver PSD1P02_TS3_01 und im Wor

  • Problem to upgrade Lightroom 5.2 to 5.3 in windows 8.1 pro

    I have problem to upgrade Lightroom 5.2 to 5.3. I have download and extrakt the down load file on desktop and started the installation  as administrator. The computer can not find the Adobe _Lightroom _x64.msi. Is it someone who can solve the problem

  • Error when installing Toshiba Tools and Power Saver

    Hi, I have a Satellite A100-771 and installed Windows XP Professional with SP2. Afterwards I installed all drivers. After that I wanted to install the Toshiba Utilities and have got an error message : "Toshiba common Module not found! This setup will

  • Content Server - Again

    Following on from the first post, With lots of help from people here, I've got hold of the right documents and read thought as much as possible and concluded that my client is not in a position to host a content server themselves. Basically, they do