RMAN-06023: no backup or copy of datafile

Hi,
on 10g R2 on AIX, I want to recover my DB at the time of 26 of march. The backup files are available but I receive :
RMAN> Run {
2>         SET UNTIL TIME "to_date('26-03-2011 00:00:00','DD-MM-YYYY HH24:MI:SS')";
3>      allocate channel t1 type disk;
4>      restore database;
5>      recover database;
6>      sql "alter database open";
7> }
8>
executing command: SET until clause
allocated channel: t1
channel t1: sid=155 devtype=DISK
Starting restore at 01-APR-11
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 04/01/2011 11:13:42
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 216 found to restore
RMAN-06023: no backup or copy of datafile 215 found to restore
RMAN-06023: no backup or copy of datafile 214 found to restoreWhy RMAN can't find them ?
How to verify ?
Thank for help.

Hi,
Can you please make sure the restore mechanism you are following is correct or not?
Mechanics of Restore Operations
RMAN automates the procedure for restoring files. You do not need to go into the operating system, locate the backup that you want to use, and manually copy files into the appropriate directories. When you issue a RESTORE command, RMAN directs a server session to restore the correct backups to either:
* The default location, overwriting the files with the same name currently there
* A new location, which you can specify with the SET NEWNAME command
To restore a datafile, either mount the database or keep it open and take the datafile to be restored offline. When RMAN performs a restore, it creates the restored files as datafile image copies and records them in the repository.
refer the link for more information
http://download.oracle.com/docs/cd/B12037_01/server.101/b10734/rcmconc2.htm
Best regards,
Rafi.
http://rafioracledba.blogspot.com/

Similar Messages

  • RMAN-06023: no backup or copy of datafile 5 found to restore ??

    Hi,
    Am on
    Apps 12.0.4
    DB 10gR2
    Am trying to recover a datafile: got below error ?
    Hex dump of (file 5, block 11701) in trace file /u01/app/oracle/admin/ora10g/udump/ora10g_ora_6482.trc
    Corrupt block relative dba: 0x01402db5 (file 5, block 11701)
    Bad check value found during backing up datafile
    Data in bad block:
    type: 0 format: 2 rdba: 0x01402db5
    last change scn: 0×0000.00000000 seq: 0×1 flg: 0×05
    spare1: 0×0 spare2: 0×0 spare3: 0×0
    consistency value in tail: 0×00000001
    check value in block header: 0x8bf5
    computed block checksum: 0×2
    Reread of blocknum=11701, file=/u01/app/oracle/oradata/ora10g/example01.dbf. found same corrupt data
    RMAN> blockrecover datafile 5 block 11701;
    Starting blockrecover at 23-AUG-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=139 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of blockrecover command at 10/23/2011 19:40:13
    RMAN-06026: some targets not found – aborting restore
    RMAN-06023: no backup or copy of datafile 5 found to restore
    i dont have a backup of this datafile
    Thanks
    Edited by: NewAppsDBA on Oct 24, 2011 6:23 AM

    RMAN-03002: failure of blockrecover command at 10/23/2011 19:40:13
    RMAN-06026: some targets not found – aborting restore
    RMAN-06023: no backup or copy of datafile 5 found to restoreSearch MOS for those errors and go through the docs.
    Thanks,
    Hussein

  • RMAN-06023: no backup or copy of datafile 3 found to restore

    Hello,
    i have searched the whole forum, but i didnt get anything.
    i have rman backupset (x64), and i am trying to restore it to another machine, (same characteristic) but i got the error below.
    help please.... :(
    RMAN> run
    2> {
    3> ALLOCATE CHANNEL C1 DEVICE TYPE DISK;
    4> RESTORE DATABASE;
    5> }
    using target database control file instead of recovery catalog
    allocated channel: C1
    channel C1: SID=170 device type=DISK
    Starting restore at 03-MAY-10
    released channel: C1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/03/2010 11:16:00
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 5 found to restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    RMAN>

    Hello,
    i am using 10 g and my backup set, is that enough?
    RMAN> list backup;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    79 Full 12.85G DISK 00:26:51 12-JUN-09
    BP Key: 79 Status: EXPIRED Compressed: NO Tag: BACKUP_BISE1DB_000_06
    1209042215
    Piece Name: F:\RMAN_BACKUP\2NKHDHB1_1_1
    List of Datafiles in backup set 79
    File LV Type Ckp SCN Ckp Time Name
    1 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\SYSTEM01.DBF
    2 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\UNDOTBS01.DB
    F
    3 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\SYSAUX01.DBF
    4 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\USERS01.DBF
    5 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\EXAMPLE01.DB
    F
    7 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_DIME
    NSIONS_01.DBF
    8 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_FACT
    S_01_REORG0_REORG0.DBF
    9 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_INDE
    XES_01.DBF
    10 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_STAG
    ING_01_REORG0.DBF
    11 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_DIME
    NSIONS_01.DBF
    12 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_FACT
    S_01_REORG0_REORG0.DBF
    13 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_INDE
    XES_01.DBF
    15 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_STAG
    ING_01_REORG0.DBF
    16 Full 4254271191 12-JUN-09 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_STAG
    ING_02_REORG0.DBF
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    80 Full 7.17M DISK 00:00:04 12-JUN-09
    BP Key: 80 Status: EXPIRED Compressed: NO Tag: BACKUP_BISE1DB_000_06
    1209042215
    Piece Name: F:\RMAN_BACKUP\2OKHDITH_1_1
    SPFILE Included: Modification time: 12-JUN-09
    Control File Included: Ckp SCN: 4254271191 Ckp time: 12-JUN-09
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    81 Full 13.29G DISK 00:33:30 22-APR-10
    BP Key: 81 Status: EXPIRED Compressed: NO Tag: BACKUP_BISE1DB_000_04
    2210052403
    Piece Name: F:\RMAN_BACKUP\2PLBPCV8_1_1
    List of Datafiles in backup set 81
    File LV Type Ckp SCN Ckp Time Name
    1 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\SYSTEM01.DBF
    2 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\UNDOTBS01.DB
    F
    3 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\SYSAUX01.DBF
    4 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\USERS01.DBF
    5 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\EXAMPLE01.DB
    F
    7 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_DIME
    NSIONS_01.DBF
    8 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_FACT
    S_01_REORG0_REORG0.DBF
    9 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_INDE
    XES_01.DBF
    10 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_STAG
    ING_01_REORG0.DBF
    11 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_DIME
    NSIONS_01.DBF
    12 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_FACT
    S_01_REORG0_REORG0.DBF
    13 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_INDE
    XES_01.DBF
    15 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_TST_STAG
    ING_01_REORG0.DBF
    16 Full 5783997201 22-APR-10 D:\ORACLE\BISE1\ORADATA\BISE1DB\DWH_PRD_STAG
    ING_02_REORG0.DBF
    RMAN>

  • Problem about RMAN-06023: no backup or copy of datafile 5 found to restore

    here is the error info when i duplicate database use rman
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 08/19/2011 09:33:39
    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 5 found to restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    and following my operate steps
    ==================
    auxiliary instance configure
    1, create password file
    $ orapwd file=/opt/app/oracle/product/10.2.0/db_1/dbs/orapwslavedb password=Myss123456 entries=30
    2,edit tnsname.ora on auxilary so i can connect primary db and auxiliary
    $ vi tnsname.ora (tnsping test pass)
    PRIDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.40.214)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = pridb)
    3,create pfile for auxiliary instance
    $ vi initslavedb.ora
    *.DB_BLOCK_SIZE=8192
    *.DB_NAME=slavedb
    *.CONTROL_FILES='/opt/app/oracle/oradata/slavedb/control01.ctl','/opt/app/oracl
    e/oradata/slavedb/control02.ctl','/opt/app/oracle/oradata/slavedb/control03.ctl'
    *.DB_FILE_NAME_CONVERT='/opt/app/oracle/oradata/primaryd','/opt/app/oracle/oradata/slavedb'
    *.LOG_FILE_NAME_CONVERT='/opt/app/oracle/oradata/primaryd','/opt/app/oracle/oradata/slavedb'
    4,start auxiliary instance nomount and create spfile,then shutdown it,and startup to nomount status again
    5,backup target database
    RMAN> backup database;
    6, create directory on slavedb,and transforer target backupset and archlog to salvedb
    $ mkdir -p /opt/app/oracle/flash_recovery_area/PRIDB/backupset/2011_08_19
    $ mkdir -p /opt/app/oracle/flash_recovery_area/PRIDB/archivelog/2011_08_19
    7,run duplicate commandline on auxiliary
    [oracle@localhost admin]$ rman target sys/Myss123456@pridb auxiliary /
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Aug 19 10:46:05 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: PRIDB (DBID=969477968, not open)
    connected to auxiliary database: SLAVEDB (not mounted)
    RMAN> duplicate target database to 'slavedb'
    2> nofilenamecheck;
    Starting Duplicate Db at 19-AUG-2011 10:46:15
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=35 devtype=DISK
    contents of Memory Script:
    set until scn 490864;
    set newname for datafile 1 to
    "/opt/app/oracle/oradata/slavedb/system01.dbf";
    set newname for datafile 2 to
    "/opt/app/oracle/oradata/slavedb/undotbs01.dbf";
    set newname for datafile 3 to
    "/opt/app/oracle/oradata/slavedb/sysaux01.dbf";
    set newname for datafile 4 to
    "/opt/app/oracle/oradata/slavedb/users01.dbf";
    set newname for datafile 5 to
    "/opt/app/oracle/oradata/slavedb/example01.dbf";
    restore
    check readonly
    clone database
    executing Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 19-AUG-2011 10:46:16
    using channel ORA_AUX_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 08/19/2011 10:46:16
    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 5 found to restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    anyone can help?

    use format command with backup.
    eg:-
    backup as compressed backupset database format '/u01/db/backup/%d_%I_%s_%T';
    if it is archivelog mode then
    backup as compressed backupset database format '/u01/db/backup/%d_%I_%s_%T' plus archivelog format '/u01/db/backup/%d_%I_%s_%T';
    then copy the backup to the auxiliary instance server.
    then try again the duplicate command.

  • RMAN-06023: no backup or copy of datafile n found to restore

    Hi,
    on 11g R2 , Win 2008, I try to duplicate by RMAN NOCATALOG.
    In init.ora of auxiliary I have :
    init.ora
    db_file_name_convert=('m:\base\OLDDB\data','m:\base\NEWDB\data')
    log_file_name_convert=('m:\base\OLDDB\log', 'm:\base\NEWDB\log') 1- when duplicating RMAN displays :
    set newname for datafile  109 to
    "M:\BASES\OLDDB\DATA\EOIUAPP.DBF";; but for me reverse is expected since M:\BASES\OLDDB\DATA\EOIUAPP.DBF is the ancient/old name.
    2-RMAN displays :
    channel ORA_AUX_DISK_1: restoring datafile 00041 to M:\BASES\OLDDB\DATA\EOIUAPP.DBF But again the datafile should be restored to 'm:\base\NEWDB\data'.
    And also:
    channel ORA_AUX_DISK_1: reading from backup piece \\server\RMAN$\BACKUP\OLDDB\RMAN\FULL\DF_OLDDB_20120909_196_1
    channel ORA_AUX_DISK_1: ORA-19870: error while restoring backup piece \\server\RMAN$\BACKUP\OLDDB\RMAN\FULL\DF_OLDDB_20120909_196_1
    ORA-19504: failed to create file "M:\BASES\OLDDB\DATA\PSIMAGE.DBF";
    ORA-27040: file create error, unable to create file
    OSD-04002: can not open file
    O/S-Error: (OS 3) file path not found. Finally :
    RMAN-06023: no backup or copy of datafile n found to restore For all files.
    Thanks for help.

    Hello
    setfilename has "BASES" but logfile convert has "base"
    M:\BASESand
    db_file_name_convert=('m:\base\OLDDB\data','m:\base\NEWDB\data') Best Regards
    mseberg
    Edited by: mseberg on Sep 20, 2012 7:41 AM

  • RMAN-06023: no backup or copy of datafile 12 found to restore

    Hi
    I'm getting the above error when trying to create a duplicate database on the same server.
    Steps
    1) Create backup.
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    backup as copy
    incremental level 0
    spfile
    database
    include current controlfile;
    2) Restore / Duplicate
    Have database orcl2 which is on the same server as ORCL1. Performing a no catalog recovery.
    I get the following error.
    executing Memory Script
    executing command: SET until clause
    Starting restore at 14-MAR-11
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=555 device type=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 03/14/2011 16:02:24
    RMAN-01005: not all datafiles have backups that can be recovered to scn 666967
    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 12 found to restore
    RMAN-06023: no backup or copy of datafile 11 found to restore
    RMAN-06023: no backup or copy of datafile 10 found to restore
    RMAN-06023: no backup or copy of datafile 9 found to restore
    RMAN-06023: no backup or copy of datafile 8 found to restore
    RMAN-06023: no backup or copy of datafile 7 found to restore
    RMAN-06023: no backup or copy of datafile 6 found to restore
    RMAN-06023: no backup or copy of datafile 5 found to restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    All the datafiles are not found. Not sure how this is possible as I just did the backup.
    Command for Duplication :
    DUPLICATE TARGET DATABASE TO ORCL2
    DB_FILE_NAME_CONVERT '\ORCL1','\ORCL2'
    SPFILE
    PARAMETER_VALUE_CONVERT '\orcl1','\orcl2'
    SET LOG_FILE_NAME_CONVERT '\orcl1','\orcl2'
    Additional Information
    RMAN> list backup
    2> ;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    13 Full 16.77M DISK 00:00:01 14-MAR-11
    BP Key: 13 Status: AVAILABLE Compressed: NO Tag: TAG20110314T155530
    Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\ORCL1\AUTOBACKUP\2011_03_14\O1_
    MF_S_745775730_6QWWOM7G_.BKP
    SPFILE Included: Modification time: 14-MAR-11
    SPFILE db_unique_name: ORCL1
    Control File Included: Ckp SCN: 731378 Ckp time: 14-MAR-11
    RMAN>
    Any help would be appreciated.
    Thanks.

    ORADBA , thank you for your help.
    Did as you suggested but still getting the same error
    RMAN> DUPLICATE TARGET DATABASE TO ORCL2
    2> DB_FILE_NAME_CONVERT '\ORCL1','\ORCL2'
    3> SPFILE
    4> PARAMETER_VALUE_CONVERT '\orcl1','\orcl2'
    5> SET LOG_FILE_NAME_CONVERT '\orcl1','\orcl2'
    6> until scn = 666967;
    Starting Duplicate Db at 14-MAR-11
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=537 device type=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 03/14/2011 18:12:47
    RMAN-06136: ORACLE error from auxiliary database: ORA-01565: error in identifyin
    g file 'C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFILEORCL2.ORA'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    RMAN> exit
    Recovery Manager complete.
    C:\Documents and Settings\Administrator>rman target sys/mariorun@orcl1 nocatalog
    Recovery Manager: Release 11.1.0.7.0 - Production on Mon Mar 14 18:13:20 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: ORCL1 (DBID=1129792691)
    using target database control file instead of recovery catalog
    RMAN> connect auxiliary sys/mariorun@orcl2
    connected to auxiliary database: ORCL2 (not mounted)
    RMAN>
    RMAN> DUPLICATE TARGET DATABASE TO ORCL2
    2> DB_FILE_NAME_CONVERT '\ORCL1','\ORCL2'
    3> SPFILE
    4> PARAMETER_VALUE_CONVERT '\orcl1','\orcl2'
    5> SET LOG_FILE_NAME_CONVERT '\orcl1','\orcl2'
    6> until scn = 666967;
    Starting Duplicate Db at 14-MAR-11
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=97 device type=DISK
    contents of Memory Script:
    set until scn 666967;
    restore clone spfile to 'C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFILEORCL2.ORA';
    sql clone "alter system set spfile= ''C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFIL
    EORCL2.ORA''";
    executing Memory Script
    executing command: SET until clause
    Starting restore at 14-MAR-11
    using channel ORA_AUX_DISK_1
    WARNING: A restore time was estimated based on the supplied UNTIL SCN
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring SPFILE
    output file name=C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFILEORCL2.ORA
    channel ORA_AUX_DISK_1: reading from backup piece D:\ORACLE\FAST_RECOVERY_AREA\O
    RCL1\AUTOBACKUP\2011_03_14\O1_MF_S_745775730_6QWWOM7G_.BKP
    channel ORA_AUX_DISK_1: piece handle=D:\ORACLE\FAST_RECOVERY_AREA\ORCL1\AUTOBACK
    UP\2011_03_14\O1_MF_S_745775730_6QWWOM7G_.BKP tag=TAG20110314T155530
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
    Finished restore at 14-MAR-11
    sql statement: alter system set spfile= ''C:\ORACLE\ORA11G\PRODUCT\DATABASE\SPFI
    LEORCL2.ORA''
    contents of Memory Script:
    sql clone "alter system set db_name =
    ''ORCL2'' comment=
    ''duplicate'' scope=spfile";
    sql clone "alter system set audit_file_dest =
    ''c:\oracle\ora11g\admin\orcl2\adump'' comment=
    '''' scope=spfile";
    sql clone "alter system set control_files =
    ''c:\oracle\ora11g\oradata\orcl2\control01.ctl'', ''c:\oracle\ora11g\oradata\or
    cl2\control02.ctl'', ''c:\oracle\ora11g\oradata\orcl2\control03.ctl'' comment=
    '''' scope=spfile";
    sql clone "alter system set LOG_FILE_NAME_CONVERT =
    ''\orcl1'', ''\orcl2'' comment=
    '''' scope=spfile";
    shutdown clone immediate;
    startup clone nomount ;
    executing Memory Script
    sql statement: alter system set db_name = ''ORCL2'' comment= ''duplicate'' sco
    pe=spfile
    sql statement: alter system set audit_file_dest = ''c:\oracle\ora11g\admin\orc
    l2\adump'' comment= '''' scope=spfile
    sql statement: alter system set control_files = ''c:\oracle\ora11g\oradata\orc
    l2\control01.ctl'', ''c:\oracle\ora11g\oradata\orcl2\control02.ctl'', ''c:\oracl
    e\ora11g\oradata\orcl2\control03.ctl'' comment= '''' scope=spfile
    sql statement: alter system set LOG_FILE_NAME_CONVERT = ''\orcl1'', ''\orcl2''
    comment= '''' scope=spfile
    Oracle instance shut down
    connected to auxiliary database (not started)
    Oracle instance started
    Total System Global Area 267825152 bytes
    Fixed Size 1346712 bytes
    Variable Size 100664168 bytes
    Database Buffers 163577856 bytes
    Redo Buffers 2236416 bytes
    contents of Memory Script:
    set until scn 666967;
    set newname for datafile 1 to
    "D:\ORACLE\ORADATA\ORCL2\SYSTEM01.DBF";
    set newname for datafile 2 to
    "D:\ORACLE\ORADATA\ORCL2\SYSAUX01.DBF";
    set newname for datafile 3 to
    "D:\ORACLE\ORADATA\ORCL2\UNDOTBS01.DBF";
    set newname for datafile 4 to
    "D:\ORACLE\ORADATA\ORCL2\IM_DATA_01.DAT";
    set newname for datafile 5 to
    "D:\ORACLE\ORADATA\ORCL2\IM_IDX_01.DAT";
    set newname for datafile 6 to
    "D:\ORACLE\ORADATA\ORCL2\IM_INV_DATA_01.DAT";
    set newname for datafile 7 to
    "D:\ORACLE\ORADATA\ORCL2\IM_INV_DATA_02.DAT";
    set newname for datafile 8 to
    "D:\ORACLE\ORADATA\ORCL2\IM_INV_IDX_01.DAT";
    set newname for datafile 9 to
    "D:\ORACLE\ORADATA\ORCL2\IM_INV_IDX_02.DAT";
    set newname for datafile 10 to
    "D:\ORACLE\ORADATA\ORCL2\IM_PROC_LOG_01.DAT";
    set newname for datafile 11 to
    "D:\ORACLE\ORADATA\ORCL2\IM_PROC_NOLOG_01.DAT";
    set newname for datafile 12 to
    "D:\ORACLE\ORADATA\ORCL2\USERS01.DBF";
    restore
    clone database
    executing Memory Script
    executing command: SET until clause
    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
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 14-MAR-11
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=555 device type=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 03/14/2011 18:13:59
    RMAN-01005: not all datafiles have backups that can be recovered to scn 666967
    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 12 found to restore
    RMAN-06023: no backup or copy of datafile 11 found to restore
    RMAN-06023: no backup or copy of datafile 10 found to restore
    RMAN-06023: no backup or copy of datafile 9 found to restore
    RMAN-06023: no backup or copy of datafile 8 found to restore
    RMAN-06023: no backup or copy of datafile 7 found to restore
    RMAN-06023: no backup or copy of datafile 6 found to restore
    RMAN-06023: no backup or copy of datafile 5 found to restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    Any suggestions are appreciated.

  • RMAN-06023: no backup or copy of datafile 54 found to restore

    Hi
    Edited by: shakilshaikh on May 20, 2011 1:29 AM

    yep they are avaiable...do you think this has to do with resetlogs(as i have used that like 4 times in last 2 days)....doing some testing....as the incarnations changes everytime we reset the logs
    RMAN> list incarnation of database;
    List of Database Incarnations
    DB Key  Inc Key DB Name  DB ID            STATUS  Reset SCN  Reset Time
    1       1       NGENPOC  2765214148       ORPHAN  3178766417 01-DEC-09
    2       2       NGENPOC  2765214148       ORPHAN  8413828170590 03-DEC-09
    3       3       NGENPOC  2765214148       ORPHAN  8413828170590 04-DEC-09
    4       4       NGENPOC  2765214148       CURRENT 8413828170591 07-DEC-09

  • No backup or copy of datafile 4 found to restore Error ??

    Hi,
    I have a 2 Virtual machine with Oracle 10g on OEL.
    Let's say machine 1 is called : OEL-SOURCE MACHINE
    Let's say machine 1 is called : DR-TARGET MACHINE
    When i am trying to restore rman backup on 2 machine 'DR', it comes with the message "RMAN-06023: no backup or copy of datafile 4 found to restore"
    Here are the steps that i followed on Machine 1 i.e. OEL-SOURCE MACHINE :
    RMAN>
    Oracle instance started
    database mounted
    database opened
    Total System Global Area     285212672 bytes
    Fixed Size                     1218992 bytes
    Variable Size                 83887696 bytes
    Database Buffers             197132288 bytes
    Redo Buffers                   2973696 bytes
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/va00/oracle/product/10.2.0/db_1/dbs/snapcf_mytest.f'; # default
    RMAN> backup database plus archivelog;
    Starting backup at 26-OCT-10
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=14 recid=12 stamp=733426429
    input archive log thread=1 sequence=15 recid=13 stamp=733426789
    input archive log thread=1 sequence=16 recid=14 stamp=733426795
    input archive log thread=1 sequence=17 recid=15 stamp=733426801
    input archive log thread=1 sequence=18 recid=16 stamp=733426801
    input archive log thread=1 sequence=19 recid=17 stamp=733426855
    input archive log thread=1 sequence=20 recid=18 stamp=733426856
    input archive log thread=1 sequence=21 recid=19 stamp=733426861
    input archive log thread=1 sequence=22 recid=20 stamp=733426862
    input archive log thread=1 sequence=23 recid=21 stamp=733436688
    input archive log thread=1 sequence=24 recid=22 stamp=733437082
    channel ORA_DISK_1: starting piece 1 at 26-OCT-10
    channel ORA_DISK_1: finished piece 1 at 26-OCT-10
    piece handle=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkp tag=TAG20101026T203122 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
    Finished backup at 26-OCT-10
    Starting backup at 26-OCT-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf
    input datafile fno=00005 name=/va02/oracle/oradata/mytest/company_tab_01.dbf
    input datafile fno=00006 name=/va03/oracle/oradata/mytest/company_idx_01.dbf
    input datafile fno=00003 name=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf
    input datafile fno=00002 name=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf
    input datafile fno=00004 name=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf
    channel ORA_DISK_1: starting piece 1 at 26-OCT-10
    channel ORA_DISK_1: finished piece 1 at 26-OCT-10
    piece handle=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_nnndf_TAG20101026T203125_6dh07g07_.bkp tag=TAG20101026T203125 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:05
    Finished backup at 26-OCT-10
    Starting backup at 26-OCT-10
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=25 recid=23 stamp=733437151
    channel ORA_DISK_1: starting piece 1 at 26-OCT-10
    channel ORA_DISK_1: finished piece 1 at 26-OCT-10
    piece handle=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203231_6dh09jj6_.bkp tag=TAG20101026T203231 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    Finished backup at 26-OCT-10
    Starting Control File and SPFILE Autobackup at 26-OCT-10
    piece handle=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp comment=NONE
    Finished Control File and SPFILE Autobackup at 26-OCT-10This completed the RMAN
    Now i listed the backup with RMAN
    RMAN> list backup
    2> ;
    List of Backup Sets
    ===================
    BS Key  Size       Device Type Elapsed Time Completion Time
    9       1.99M      DISK        00:00:02     26-OCT-10     
            BP Key: 9   Status: AVAILABLE  Compressed: NO  Tag: TAG20101026T203122
            Piece Name: /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkp
      List of Archived Logs in backup set 9
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      1    14      545557     26-OCT-10 545610     26-OCT-10
      1    15      545610     26-OCT-10 546080     26-OCT-10
      1    16      546080     26-OCT-10 546083     26-OCT-10
      1    17      546083     26-OCT-10 546086     26-OCT-10
      1    18      546086     26-OCT-10 546088     26-OCT-10
      1    19      546088     26-OCT-10 546114     26-OCT-10
      1    20      546114     26-OCT-10 546116     26-OCT-10
      1    21      546116     26-OCT-10 546119     26-OCT-10
      1    22      546119     26-OCT-10 546121     26-OCT-10
      1    23      546121     26-OCT-10 567862     26-OCT-10
      1    24      567862     26-OCT-10 568231     26-OCT-10
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    10      Full    515.82M    DISK        00:01:04     26-OCT-10     
            BP Key: 10   Status: AVAILABLE  Compressed: NO  Tag: TAG20101026T203125
            Piece Name: /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_nnndf_TAG20101026T203125_6dh07g07_.bkp
      List of Datafiles in backup set 10
      File LV Type Ckp SCN    Ckp Time  Name
      1       Full 568235     26-OCT-10 /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf
      2       Full 568235     26-OCT-10 /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf
      3       Full 568235     26-OCT-10 /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf
      4       Full 568235     26-OCT-10 /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf
      5       Full 568235     26-OCT-10 /va02/oracle/oradata/mytest/company_tab_01.dbf
      6       Full 568235     26-OCT-10 /va03/oracle/oradata/mytest/company_idx_01.dbf
    BS Key  Size       Device Type Elapsed Time Completion Time
    11      17.50K     DISK        00:00:01     26-OCT-10     
            BP Key: 11   Status: AVAILABLE  Compressed: NO  Tag: TAG20101026T203231
            Piece Name: /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203231_6dh09jj6_.bkp
      List of Archived Logs in backup set 11
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      1    25      568231     26-OCT-10 568267     26-OCT-10
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    12      Full    6.80M      DISK        00:00:00     26-OCT-10     
            BP Key: 12   Status: AVAILABLE  Compressed: NO  Tag: TAG20101026T203234
            Piece Name: /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp
      Control File Included: Ckp SCN: 568273       Ckp time: 26-OCT-10
      SPFILE Included: Modification time: 26-OCT-10
    RMAN> Then i reported obsolete, and as we can see my datafile is not listed here which is good.
    RMAN> report obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 1
    Report of obsolete backups and copies
    Type                 Key    Completion Time    Filename/Handle
    Archive Log          12     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_14_6dgotdvb_.arc
    Archive Log          13     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_15_6dgp5nyg_.arc
    Archive Log          14     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_16_6dgp5tz4_.arc
    Archive Log          15     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_17_6dgp610j_.arc
    Archive Log          16     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_18_6dgp612w_.arc
    Archive Log          17     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_19_6dgp7q9b_.arc
    Archive Log          18     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_20_6dgp7rrq_.arc
    Archive Log          19     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_21_6dgp7x5d_.arc
    Archive Log          20     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_22_6dgp7yln_.arc
    Archive Log          21     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_23_6dgztytj_.arc
    Archive Log          22     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_24_6dh07bff_.arc
    Backup Set           9      26-OCT-10        
    Backup Piece       9      26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkpI transferred complete RMAN folder to 2nd machine & switched to second Machine i..e DR-TARGET MACHINE
    [oracle@localhost ~]$ export ORACLE_SID=mytest
    [oracle@localhost ~]$ rman target /
    Recovery Manager: Release 10.2.0.1.0 - Production on Tue Oct 26 20:48:49 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database (not started)
    RMAN> set dbid=2432458060;
    executing command: SET DBID
    RMAN> startup nomount;   
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/va00/oracle/product/10.2.0/db_1/dbs/initmytest.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area     159383552 bytes
    Fixed Size                     1218268 bytes
    Variable Size                 54528292 bytes
    Database Buffers             100663296 bytes
    Redo Buffers                   2973696 bytes
    RMAN> restore spfile from '/tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp';
    Starting restore at 26-OCT-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: autobackup found: /tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp
    channel ORA_DISK_1: SPFILE restore from autobackup complete
    Finished restore at 26-OCT-10
    RMAN> shutdown immediate
    Oracle instance shut down
    RMAN> startup nomount;
    connected to target database (not started)
    Oracle instance started
    Total System Global Area     285212672 bytes
    Fixed Size                     1218992 bytes
    Variable Size                 83887696 bytes
    Database Buffers             197132288 bytes
    Redo Buffers                   2973696 bytes
    RMAN> restore controlfile from '/tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp';
    Starting restore at 26-OCT-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:02
    output filename=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dh1d2o5_.ctl
    output filename=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dh1d31n_.ctl
    Finished restore at 26-OCT-10
    RMAN> shutdown immediate
    Oracle instance shut down
    RMAN> startup force mount;
    Oracle instance started
    database mounted
    Total System Global Area     285212672 bytes
    Fixed Size                     1218992 bytes
    Variable Size                 83887696 bytes
    Database Buffers             197132288 bytes
    Redo Buffers                   2973696 bytes
    RMAN> catalog start with '/tmp/rman_backups_third_set/';
    searching for all files that match the pattern /tmp/rman_backups_third_set/
    List of Files Unknown to the Database
    =====================================
    File Name: /tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp
    File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203231_6dh09jj6_.bkp
    File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_nnndf_TAG20101026T203125_6dh07g07_.bkp
    File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkp
    File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_1_6dcg8yw6_.log
    File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_3_6dcg92d5_.log
    File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_2_6dcg90tg_.log
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_18_6dgp612w_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_24_6dh07bff_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_21_6dgp7x5d_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_28_6dh0dpsb_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_14_6dgotdvb_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_22_6dgp7yln_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_29_6dh0dqoy_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_26_6dh0df44_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_16_6dgp5tz4_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_23_6dgztytj_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_19_6dgp7q9b_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_17_6dgp610j_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_20_6dgp7rrq_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_15_6dgp5nyg_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_27_6dh0djqt_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_25_6dh09h1c_.arc
    Do you really want to catalog the above files (enter YES or NO)? YES
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: /tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp
    File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203231_6dh09jj6_.bkp
    File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_nnndf_TAG20101026T203125_6dh07g07_.bkp
    File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkp
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_18_6dgp612w_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_24_6dh07bff_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_21_6dgp7x5d_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_28_6dh0dpsb_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_14_6dgotdvb_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_22_6dgp7yln_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_29_6dh0dqoy_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_26_6dh0df44_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_16_6dgp5tz4_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_23_6dgztytj_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_19_6dgp7q9b_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_17_6dgp610j_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_20_6dgp7rrq_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_15_6dgp5nyg_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_27_6dh0djqt_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_25_6dh09h1c_.arc
    List of Files Which Where Not Cataloged
    =======================================
    File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_1_6dcg8yw6_.log
      RMAN-07529: Reason: catalog is not supported for this file type
    File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_3_6dcg92d5_.log
      RMAN-07529: Reason: catalog is not supported for this file type
    File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_2_6dcg90tg_.log
      RMAN-07529: Reason: catalog is not supported for this file type
    Here comes the issue ...when i try to restore the db
    RMAN> restore database;
    Starting restore at 26-OCT-10
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 10/26/2010 20:53:13
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restoreSO MY QUESTION OR DOUBT IS WHY AT THE END IT FAILS THAT THERE IS NO BACKUP FOR DATAFILE 1,2,3,4 ??? AS WE CAN SEE ABOVE IT IS PRESENT IN MY BACKUPSET ??
    ANY IDEA /HINTS/TIPS ?
    I searched on google and somebody mentioned to a similar case that it could be a problem with 'CONFIGURE CONTROLFILE AUTOBACKUP OFF' where as in my case i have set it to 'CONFIGURE CONTROLFILE AUTOBACKUP ON'
    Somehow looks like that the control file is not having latest backup info ... :-( I already took a fresh backup 2 times and landed up in same issue.. not sure where i am doing a mistake.
    Regards
    Learner

    No replies ... :-(
    Meanwhile i also looked in the trace file folder to see if there are any clues. here goes the content of alert_log.file
    Tue Oct 26 23:28:59 2010
    Shutting down instance: further logons disabled
    Tue Oct 26 23:28:59 2010
    Stopping background process CJQ0
    Tue Oct 26 23:28:59 2010
    Stopping background process MMNL
    Tue Oct 26 23:28:59 2010
    Stopping background process MMON
    Tue Oct 26 23:28:59 2010
    Shutting down instance (immediate)
    License high water mark = 5
    Tue Oct 26 23:29:00 2010
    Stopping Job queue slave processes
    Tue Oct 26 23:29:00 2010
    Job queue slave processes stopped
    Waiting for dispatcher 'D000' to shutdown
    All dispatchers and shared servers shutdown
    Tue Oct 26 23:29:05 2010
    PMON failed to acquire latch, see PMON dump
    PMON failed to acquire latch, see PMON dump
    PMON failed to acquire latch, see PMON dump
    PMON failed to acquire latch, see PMON dump
    Tue Oct 26 23:29:16 2010
    alter database close
    Tue Oct 26 23:29:16 2010
    ORA-1109 signalled during: alter database close...
    Tue Oct 26 23:29:16 2010
    alter database dismount
    Completed: alter database dismount
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Tue Oct 26 23:29:36 2010
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
      processes                = 150
      __shared_pool_size       = 75497472
      __large_pool_size        = 4194304
      __java_pool_size         = 4194304
      __streams_pool_size      = 0
      sga_target               = 285212672
      control_files            = /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dh49dgy_.ctl, /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dh49dkr_.ctl
      db_block_size            = 8192
      __db_cache_size          = 197132288
      compatible               = 10.2.0.1.0
      db_file_multiblock_read_count= 16
      db_create_file_dest      = /va00/oracle/product/10.2.0/db_1/oradata
      db_recovery_file_dest    = /va00/oracle/product/10.2.0/db_1/flash_recovery_area
      db_recovery_file_dest_size= 1572864000
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      remote_login_passwordfile= EXCLUSIVE
      db_domain                =
      dispatchers              = (PROTOCOL=TCP) (SERVICE=mytestXDB)
      job_queue_processes      = 10
      background_dump_dest     = /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump
      user_dump_dest           = /va00/oracle/product/10.2.0/db_1/admin/mytest/udump
      core_dump_dest           = /va00/oracle/product/10.2.0/db_1/admin/mytest/cdump
      audit_file_dest          = /va00/oracle/product/10.2.0/db_1/admin/mytest/adump
      db_name                  = mytest
      open_cursors             = 300
      pga_aggregate_target     = 94371840
    PMON started with pid=2, OS id=4483
    PSP0 started with pid=3, OS id=4485
    MMAN started with pid=4, OS id=4487
    DBW0 started with pid=5, OS id=4489
    LGWR started with pid=6, OS id=4491
    CKPT started with pid=7, OS id=4493
    SMON started with pid=8, OS id=4495
    RECO started with pid=9, OS id=4497
    CJQ0 started with pid=10, OS id=4499
    MMON started with pid=11, OS id=4501
    Tue Oct 26 23:29:38 2010
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    MMNL started with pid=12, OS id=4503
    Tue Oct 26 23:29:38 2010
    starting up 1 shared server(s) ...
    Tue Oct 26 23:29:39 2010
    alter database mount
    Tue Oct 26 23:29:43 2010
    Setting recovery target incarnation to 3
    Tue Oct 26 23:29:43 2010
    Successful mount of redo thread 1, with mount id 2432571107
    Tue Oct 26 23:29:43 2010
    Database mounted in Exclusive Mode
    Completed: alter database mount
    Tue Oct 26 23:30:00 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:30:00 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:30:00 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
    ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
    ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:30:00 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:30:00 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:30:00 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
    ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:32:16 2010
    Shutting down instance: further logons disabled
    Tue Oct 26 23:32:16 2010
    Stopping background process MMNL
    Tue Oct 26 23:32:16 2010
    Stopping background process CJQ0
    Tue Oct 26 23:32:17 2010
    Stopping background process MMON
    Tue Oct 26 23:32:17 2010
    Shutting down instance (immediate)
    License high water mark = 5
    Tue Oct 26 23:32:17 2010
    Stopping Job queue slave processes
    Tue Oct 26 23:32:17 2010
    Job queue slave processes stopped
    Waiting for dispatcher 'D000' to shutdown
    All dispatchers and shared servers shutdown
    Tue Oct 26 23:32:23 2010
    PMON failed to acquire latch, see PMON dump
    PMON failed to acquire latch, see PMON dump
    PMON failed to acquire latch, see PMON dump
    PMON failed to acquire latch, see PMON dump
    Tue Oct 26 23:32:33 2010
    PMON failed to acquire latch, see PMON dump
    PMON failed to acquire latch, see PMON dump
    Tue Oct 26 23:32:38 2010
    Process OS id : 4514 alive after kill
    Errors in file
    Tue Oct 26 23:32:39 2010
    PMON failed to acquire latch, see PMON dump
    Tue Oct 26 23:32:40 2010
    alter database close
    Tue Oct 26 23:32:40 2010
    ORA-1109 signalled during: alter database close...
    Tue Oct 26 23:32:40 2010
    alter database dismount
    Completed: alter database dismount
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Tue Oct 26 23:36:35 2010
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
      processes                = 150
      __shared_pool_size       = 75497472
      __large_pool_size        = 4194304
      __java_pool_size         = 4194304
      __streams_pool_size      = 0
      sga_target               = 285212672
      control_files            = /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dcg8wco_.ctl, /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dcg8wps_.ctl
      db_block_size            = 8192
      __db_cache_size          = 197132288
      compatible               = 10.2.0.1.0
      db_file_multiblock_read_count= 16
      db_create_file_dest      = /va00/oracle/product/10.2.0/db_1/oradata
      db_recovery_file_dest    = /va00/oracle/product/10.2.0/db_1/flash_recovery_area
      db_recovery_file_dest_size= 1572864000
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      remote_login_passwordfile= EXCLUSIVE
      db_domain                =
      dispatchers              = (PROTOCOL=TCP) (SERVICE=mytestXDB)
      job_queue_processes      = 10
      background_dump_dest     = /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump
      user_dump_dest           = /va00/oracle/product/10.2.0/db_1/admin/mytest/udump
      core_dump_dest           = /va00/oracle/product/10.2.0/db_1/admin/mytest/cdump
      audit_file_dest          = /va00/oracle/product/10.2.0/db_1/admin/mytest/adump
      db_name                  = mytest
      open_cursors             = 300
      pga_aggregate_target     = 94371840
    PMON started with pid=2, OS id=4622
    PSP0 started with pid=3, OS id=4624
    MMAN started with pid=4, OS id=4626
    DBW0 started with pid=5, OS id=4628
    LGWR started with pid=6, OS id=4630
    CKPT started with pid=7, OS id=4632
    SMON started with pid=8, OS id=4634
    RECO started with pid=9, OS id=4636
    CJQ0 started with pid=10, OS id=4638
    MMON started with pid=11, OS id=4640
    MMNL started with pid=12, OS id=4642
    Tue Oct 26 23:36:36 2010
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    Tue Oct 26 23:36:47 2010
    Deleted Oracle managed file /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dcg8wco_.ctl
    Deleted Oracle managed file /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dcg8wps_.ctl
    Tue Oct 26 23:36:58 2010
    Shutting down instance: further logons disabled
    Tue Oct 26 23:36:58 2010
    Stopping background process CJQ0
    Tue Oct 26 23:36:58 2010
    Stopping background process MMNL
    Tue Oct 26 23:36:58 2010
    Stopping background process MMON
    Tue Oct 26 23:36:58 2010
    Shutting down instance (immediate)
    License high water mark = 3
    Tue Oct 26 23:36:58 2010
    Stopping Job queue slave processes
    Tue Oct 26 23:36:58 2010
    Job queue slave processes stopped
    Waiting for dispatcher 'D000' to shutdown
    All dispatchers and shared servers shutdown
    Tue Oct 26 23:37:00 2010
    alter database close
    ORA-1507 signalled during: alter database close...
    Tue Oct 26 23:37:00 2010
    alter database dismount
    ORA-1507 signalled during: alter database dismount...
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Tue Oct 26 23:37:10 2010
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
      processes                = 150
      __shared_pool_size       = 75497472
      __large_pool_size        = 4194304
      __java_pool_size         = 4194304
      __streams_pool_size      = 0
      sga_target               = 285212672
      control_files            = /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dhc2ymb_.ctl, /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dhc2yp5_.ctl
      db_block_size            = 8192
      __db_cache_size          = 197132288
      compatible               = 10.2.0.1.0
      db_file_multiblock_read_count= 16
      db_create_file_dest      = /va00/oracle/product/10.2.0/db_1/oradata
      db_recovery_file_dest    = /va00/oracle/product/10.2.0/db_1/flash_recovery_area
      db_recovery_file_dest_size= 1572864000
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      remote_login_passwordfile= EXCLUSIVE
      db_domain                =
      dispatchers              = (PROTOCOL=TCP) (SERVICE=mytestXDB)
      job_queue_processes      = 10
      background_dump_dest     = /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump
      user_dump_dest           = /va00/oracle/product/10.2.0/db_1/admin/mytest/udump
      core_dump_dest           = /va00/oracle/product/10.2.0/db_1/admin/mytest/cdump
      audit_file_dest          = /va00/oracle/product/10.2.0/db_1/admin/mytest/adump
      db_name                  = mytest
      open_cursors             = 300
      pga_aggregate_target     = 94371840
    PMON started with pid=2, OS id=4654
    PSP0 started with pid=3, OS id=4656
    MMAN started with pid=4, OS id=4658
    DBW0 started with pid=5, OS id=4660
    LGWR started with pid=6, OS id=4662
    CKPT started with pid=7, OS id=4664
    SMON started with pid=8, OS id=4666
    RECO started with pid=9, OS id=4668
    CJQ0 started with pid=10, OS id=4670
    MMON started with pid=11, OS id=4672
    Tue Oct 26 23:37:11 2010
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    MMNL started with pid=12, OS id=4674
    Tue Oct 26 23:37:11 2010
    starting up 1 shared server(s) ...
    Tue Oct 26 23:37:11 2010
    alter database mount
    Tue Oct 26 23:37:15 2010
    Setting recovery target incarnation to 2
    Tue Oct 26 23:37:15 2010
    Successful mount of redo thread 1, with mount id 2432596903
    Tue Oct 26 23:37:15 2010
    Database mounted in Exclusive Mode
    Completed: alter database mount
    New incarnation branch detected in Backup, filename /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/autobackup/2010_10_26/some_o1_mf_s_733420244_6dghs7pn_.bkp
    Inspection of file changed rdi from 2 to 3
    Setting recovery target incarnation to 3
    Tue Oct 26 23:37:23 2010
    Setting recovery target incarnation to 3
    Tue Oct 26 23:37:23 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:23 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:23 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
    ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:23 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:23 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:23 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
    ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:31 2010
    WARNING: catalog online log file /tmp/rman_backups_third_set/onlinelog/o1_mf_1_6dcg8yw6_.log is not supported
    WARNING: catalog online log file /tmp/rman_backups_third_set/onlinelog/o1_mf_3_6dcg92d5_.log is not supported
    WARNING: catalog online log file /tmp/rman_backups_third_set/onlinelog/o1_mf_2_6dcg90tg_.log is not supported
    Expanded controlfile section 11 from 28 to 144 records
    Requested to grow by 116 records; added 5 blocks of records
    Tue Oct 26 23:37:46 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:46 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:46 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
    ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:46 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:46 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:46 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
    ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3Not sure why does it says that it was unable to obtain file status .. is it because the dbf files could not be restored that's why ??
    Also here goes the content of DBW trace file
    [oracle@localhost bdump]$ cat mytest_dbw0_4660.trc
    /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /va00/oracle/product/10.2.0/db_1
    System name:    Linux
    Node name:      localhost.localdomain
    Release:        2.6.18-194.el5
    Version:        #1 SMP Mon Mar 29 20:06:41 EDT 2010
    Machine:        i686
    Instance name: mytest
    Redo thread mounted by this instance: 1
    Oracle process number: 5
    Unix process pid: 4660, image: [email protected] (DBW0)
    *** 2010-10-26 23:37:23.741
    *** SERVICE NAME:() 2010-10-26 23:37:23.740
    *** SESSION ID:(167.1) 2010-10-26 23:37:23.740
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
    ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
    ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
    ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    *** 2010-10-26 23:37:46.274
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
    ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3

  • RMAN -06100: no channel to restore a backup or copy of datafile 51

    Oracle 10.2.0.4
    I am attempting to duplicate a database from a full backup that was written to tape. I connect to a catalog, the target, and an auxilliary database. I allocate channels for disk and allocate auxiliary channels. For testing purposes I am trying to restore one data file from tape to disk but get RMAN-06100.
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 23 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS 'ENV=(TDPO_OPTFILE=/xxxxx/oracle/tivoli/ndk8oasu181.opt)';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/xxxx/oracle/product/1020/db_1/dbs/snapcf_prd002l.f'; # default
    RMAN> run
    2> { allocate channel d01 type disk;
    3> allocate channel d02 type disk;
    4> allocate channel d03 type disk;
    5> allocate channel d04 type disk;
    6> allocate channel d05 type disk;
    7> allocate auxiliary channel stby01 type disk;
    8> allocate auxiliary channel stby02 type disk;
    9> set newname for datafile '/xxxxxx/d01/oradata/prd002l/patdata01.dbf' to '/xxxxxx/d26/oradata/prd002lp/patdata01.dbf';
    10> restore datafile '/xxxxxx/d01/oradata/prd002l/patdata01.dbf';
    11> release channel ch01;
    12> release channel ch02;
    13> }
    starting full resync of recovery catalog
    full resync complete
    allocated channel: d01
    channel d01: sid=1859 devtype=DISK
    allocated channel: d02
    channel d02: sid=1825 devtype=DISK
    allocated channel: d03
    channel d03: sid=2252 devtype=DISK
    allocated channel: d04
    channel d04: sid=1978 devtype=DISK
    allocated channel: d05
    channel d05: sid=1906 devtype=DISK
    allocated channel: stby01
    channel stby01: sid=1406 devtype=DISK
    allocated channel: stby02
    channel stby02: sid=1462 devtype=DISK
    executing command: SET NEWNAME
    Starting restore at 12-MAY-11
    released channel: d01
    released channel: d02
    released channel: d03
    released channel: d04
    released channel: d05
    released channel: stby01
    released channel: stby02
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/12/2011 08:00:46
    RMAN-06026: some targets not found - aborting restore
    RMAN-06100: no channel to restore a backup or copy of datafile 51

    Here is some additional information:
    6100, 1, "no channel to restore a backup or copy of datafile %d"
    // *Cause: A datafile, tablespace, or database restore could not proceed
    // because the backup of the indicated file exists on a device type
    // that was not allocated for restore.
    // *Action: None - this is an informational message. See message 6026 for
    // further details.
    what do i need to do to correct this: backup of the indicated file exists on a device type that was not allocated for restore

  • Restore from OSB. RMAN-06024: no backup or copy of the control file found

    I backed up controlfile for standby on production server to OSB media:
    -bash-3.00$ rman target / catalog rman/rman@emgc
    Recovery Manager: Release 10.2.0.5.0 - Production on Tue Jan 25 15:15:33 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: EMGC (DBID=1838014073)
    connected to recovery catalog database
    RMAN>
    RMAN> CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
    RUN
    ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
    BACKUP CURRENT CONTROLFILE FOR STANDBY tag 'stb_ctl';
    RELEASE CHANNEL ch1;
    CONFIGURE DEVICE TYPE 'SBT_TAPE' CLEAR;
    new RMAN configuration parameters:
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
    new RMAN configuration parameters are successfully stored
    starting full resync of recovery catalog
    full resync complete
    RMAN> 2> 3> 4> 5> 6>
    allocated channel: ch1
    channel ch1: sid=1085 devtype=SBT_TAPE
    channel ch1: Oracle Secure Backup
    Starting backup at 25-JAN-11
    channel ch1: starting compressed full datafile backupset
    channel ch1: specifying datafile(s) in backupset
    including standby control file in backupset
    channel ch1: starting piece 1 at 25-JAN-11
    channel ch1: finished piece 1 at 25-JAN-11
    piece handle=1em30ngu_1_1 tag=STB_CTL comment=API Version 2.0,MMS Version 10.3.0.2
    channel ch1: backup set complete, elapsed time: 00:00:27
    Finished backup at 25-JAN-11
    released channel: ch1
    RMAN> list backup of controlfile;
    old RMAN configuration parameters:
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
    RMAN configuration parameters are successfully reset to default value
    starting full resync of recovery catalog
    full resync complete
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    1479 Full 512.00K SBT_TAPE 00:00:18 25-JAN-11
    BP Key: 1480 Status: AVAILABLE Compressed: YES Tag: STB_CTL
    Handle: 1em30ngu_1_1 Media: mf_rman-000003
    Standby Control File Included: Ckp SCN: 33567224 Ckp time: 25-JAN-11
    RMAN>
    On standby server I try to restore this control file but there is some trouble with restore... By the way I can delete that backup piece...
    -bash-3.00$ rman target / catalog rman/rman@emgc
    Recovery Manager: Release 10.2.0.5.0 - Production on Tue Jan 25 15:34:32 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: emgc (not mounted)
    connected to recovery catalog database
    RMAN> set DBID=1838014073;
    executing command: SET DBID
    database name is "EMGC" and DBID is 1838014073
    RMAN> RUN
    ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
    crosscheck backup of controlfile;
    2> 3> 4> 5>
    allocated channel: ch1
    channel ch1: sid=1093 devtype=SBT_TAPE
    channel ch1: Oracle Secure Backup
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=1em30ngu_1_1 recid=40 stamp=741367328
    Crosschecked 1 objects
    released channel: ch1
    RMAN> list backup of controlfile;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    1479 Full 512.00K SBT_TAPE 00:00:18 25-JAN-11
    BP Key: 1480 Status: AVAILABLE Compressed: YES Tag: STB_CTL
    Handle: 1em30ngu_1_1 Media: mf_rman-000003
    Standby Control File Included: Ckp SCN: 33567224 Ckp time: 25-JAN-11
    RMAN> RUN
    ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
    RESTORE CONTROLFILE FROM TAG 'STB_CTL';
    2> 3> 4> 5>
    allocated channel: ch1
    channel ch1: sid=1093 devtype=SBT_TAPE
    channel ch1: Oracle Secure Backup
    Starting restore at 25-JAN-11
    released channel: ch1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 01/25/2011 15:35:20
    RMAN-06026: some targets not found - aborting restore
    RMAN-06024: no backup or copy of the control file found to restore
    RMAN> RUN
    ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
    delete noprompt backup of controlfile;
    2> 3> 4> 5>
    allocated channel: ch1
    channel ch1: sid=1093 devtype=SBT_TAPE
    channel ch1: Oracle Secure Backup
    List of Backup Pieces
    BP Key BS Key Pc# Cp# Status Device Type Piece Name
    1480 1479 1 1 AVAILABLE SBT_TAPE 1em30ngu_1_1
    deleted backup piece
    backup piece handle=1em30ngu_1_1 recid=40 stamp=741367328
    Deleted 1 objects
    released channel: ch1
    RMAN>

    You cannot specify a tag for a standby control file.
    read here
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmstand.htm#1002594
    Edited by: Adigozalov Gurban on Jan 25, 2011 2:14 PM

  • RMAN-06024: no backup or copy of the control file found to restore

    I am cloning a new database using a full backup from previous nightly rman backup using a standby database utilizing catalog. When I run the duplicate command, I get
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/27/2011 15:04:05
    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
    But the backup of controlfile does exists in the right place. What am I missing?

    958210 wrote:
    i was trying to clone a database to a remote machine, but it is giving me the following error
    'RMAN-06024: no backup or copy of the control file found to restore
    ORA-19505: failed to identify file "/u01/app/oracle/product/11.2.0/dbs/c-1617115651-20120912-02"
    even though i can list the backup of the control file in the source machine.
    thank you
    'How do I ask a question on the forums?
    SQL and PL/SQL FAQ
    Since we don't know what you did, so we can't know what you did wrong

  • How to put all RMAN-files in one backupset??  (so preventing RMAN-06023)

    ((Please see also this thread: Re: Restoring Database causes ORA-19612
    How can I manage that ALL files, ALL pieces, Controlfile, SPfile etc. etc. is available in ONE backup-file.
    When I do "Backup Database" and I copy the created files to another location: restoring the database keeps asking for older backuppieces.
    (Rman-error: RMAN-06023: no backup or copy of datafile 1 found to restore"
    When i type on the target:
    RMAN> list backup of datafile 1;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    12 Full 70.03G DISK 00:44:49 02-APR-12
    BP Key: 12 Status: EXPIRED Compressed: NO Tag: TAG20120402T213111
    Piece Name: G:\RMANBACKUP\0KN7EQSV_1_1
    List of Datafiles in backup set 12
    File LV Type Ckp SCN Ckp Time Name
    1 Full 2945781693 02-APR-12 D:\ORACLEDATA\CISORA1\SYSTEM01.DBF
    RMAN>
    I see that the Missing file is in a backupset of 1 day ago. That's NOT what i want. I want EVERY DAY a FULL backupset.
    please advise how to achive.
    thanks
    Edited by: AvRossem on 3-apr-2012 5:36

    AvRossem wrote:
    ((Please see also this thread: Re: Restoring Database causes ORA-19612
    How can I manage that ALL files, ALL pieces, Controlfile, SPfile etc. etc. is available in ONE backup-file.
    When I do "Backup Database" and I copy the created files to another location: restoring the database keeps asking for older backuppieces.
    (Rman-error: RMAN-06023: no backup or copy of datafile 1 found to restore"
    When i type on the target:
    RMAN> list backup of datafile 1;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    12 Full 70.03G DISK 00:44:49 02-APR-12
    BP Key: 12 Status: EXPIRED Compressed: NO Tag: TAG20120402T213111
    Piece Name: G:\RMANBACKUP\0KN7EQSV_1_1
    List of Datafiles in backup set 12
    File LV Type Ckp SCN Ckp Time Name
    1 Full 2945781693 02-APR-12 D:\ORACLEDATA\CISORA1\SYSTEM01.DBF
    RMAN>
    I see that the Missing file is in a backupset of 1 day ago. That's NOT what i want. I want EVERY DAY a FULL backupset.
    please advise how to achive.
    thanks
    Hi,
    How can I manage that ALL files, ALL pieces, Controlfile, SPfile etc. etc. is available in ONE backup-file.The short awnser is: You cannot do that.
    RMAN divides some files types in different backupset.
    This is a rule:
    Datafiles use your own Backupset
    Controlfile and SPFILE use your own Backupset
    ARCHIVELOG use your own Backupset
    For each BACKUPSET you can have many Backuppiece (i.e files on disk). As rule you always have relationship of one (Backupset) to one or more (Backuppiece).
    So, respecting the rule above you can do following:
    You can use the option FILESPERSET to keep all datafiles in same backuppiece. (In my case below 200 datafiles will be in same backuppiece)
    {code}
    RMAN> backup database tag='my_backup' filesperset 200 include current controlfile ;
    Starting backup at 03-APR-12
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00001 name=/u01/app/oracle/oradata/dbrcv/system01.dbf
    input datafile file number=00002 name=/u01/app/oracle/oradata/dbrcv/sysaux01.dbf
    input datafile file number=00003 name=/u01/app/oracle/oradata/dbrcv/undotbs01.dbf
    input datafile file number=00004 name=/u01/app/oracle/oradata/dbrcv/users01.dbf
    channel ORA_DISK_1: starting piece 1 at 03-APR-12
    channel ORA_DISK_1: finished piece 1 at 03-APR-12
    piece handle=/u01/app/oracle/fast_recovery_area/DBRCV/backupset/2012_04_03/o1_mf_nnndf_MY_BACKUP_7qppmnn7_.bkp tag=MY_BACKUP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:45
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    including current control file in backup set
    including current SPFILE in backup set
    channel ORA_DISK_1: starting piece 1 at 03-APR-12
    channel ORA_DISK_1: finished piece 1 at 03-APR-12
    piece handle=/u01/app/oracle/fast_recovery_area/DBRCV/backupset/2012_04_03/o1_mf_ncsnf_MY_BACKUP_7qppo4ls_.bkp tag=MY_BACKUP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 03-APR-12
    RMAN> backup archivelog all filesperset 200 ;
    Starting backup at 03-APR-12
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archived log backup set
    channel ORA_DISK_1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=16 RECID=1 STAMP=779332254
    input archived log thread=1 sequence=17 RECID=2 STAMP=779374813
    input archived log thread=1 sequence=18 RECID=3 STAMP=779393222
    input archived log thread=1 sequence=19 RECID=4 STAMP=779436085
    input archived log thread=1 sequence=20 RECID=5 STAMP=779472067
    input archived log thread=1 sequence=21 RECID=6 STAMP=779511653
    input archived log thread=1 sequence=22 RECID=7 STAMP=779580131
    input archived log thread=1 sequence=23 RECID=8 STAMP=779648029
    input archived log thread=1 sequence=24 RECID=9 STAMP=779649107
    input archived log thread=1 sequence=25 RECID=10 STAMP=779649189
    input archived log thread=1 sequence=26 RECID=11 STAMP=779649436
    channel ORA_DISK_1: starting piece 1 at 03-APR-12
    channel ORA_DISK_1: finished piece 1 at 03-APR-12
    piece handle=/u01/app/oracle/fast_recovery_area/DBRCV/backupset/2012_04_03/o1_mf_annnn_TAG20120403T171718_7qppphtb_.bkp tag=TAG20120403T171718 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:35
    Finished backup at 03-APR-12
    {code}
    Now I have 3 files:
    {code}
    RMAN > List BACKUSET;
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    447 Full 314.02M DISK 00:00:37 03-APR-12
    BP Key: 450 Status: AVAILABLE Compressed: NO Tag: MY_BACKUP
    Piece Name: /u01/app/oracle/fast_recovery_area/DBRCV/backupset/2012_04_03/o1_mf_nnndf_MY_BACKUP_7qppmnn7_.bkp
    List of Datafiles in backup set 447
    File LV Type Ckp SCN Ckp Time Name
    1 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/system01.dbf
    2 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/sysaux01.dbf
    3 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/undotbs01.dbf
    4 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/users01.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    448 Full 9.36M DISK 00:00:04 03-APR-12
    BP Key: 451 Status: AVAILABLE Compressed: NO Tag: MY_BACKUP
    Piece Name: /u01/app/oracle/fast_recovery_area/DBRCV/backupset/2012_04_03/o1_mf_ncsnf_MY_BACKUP_7qppo4ls_.bkp
    SPFILE Included: Modification time: 03-APR-12
    SPFILE db_unique_name: DBRCV
    Control File Included: Ckp SCN: 444147 Ckp time: 03-APR-12
    BS Key Size Device Type Elapsed Time Completion Time
    492 300.38M DISK 00:00:26 03-APR-12
    BP Key: 495 Status: AVAILABLE Compressed: NO Tag: TAG20120403T171718
    Piece Name: /u01/app/oracle/fast_recovery_area/DBRCV/backupset/2012_04_03/o1_mf_annnn_TAG20120403T171718_7qppphtb_.bkp
    List of Archived Logs in backup set 492
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 16 234488 30-MAR-12 261258 31-MAR-12
    1 17 261258 31-MAR-12 286957 31-MAR-12
    1 18 286957 31-MAR-12 303448 31-MAR-12
    1 19 303448 31-MAR-12 329357 01-APR-12
    1 20 329357 01-APR-12 351967 01-APR-12
    1 21 351967 01-APR-12 375454 02-APR-12
    1 22 375454 02-APR-12 409423 02-APR-12
    1 23 409423 02-APR-12 443037 03-APR-12
    1 24 443037 03-APR-12 443868 03-APR-12
    1 25 443868 03-APR-12 443928 03-APR-12
    1 26 443928 03-APR-12 444188 03-APR-12
    {code}
    See it:
    BackupSet :
    447 = Datafiles
    448 = Controfile and SPFILE
    492 = Archivelogs
    Now I want create a copy of these backupset to offsite purpose:
    {code}
    RMAN> backup backupset 447,448,492 tag='my_backup_offsite' format '/u01/app/offsite/%U';
    Starting backup at 03-APR-12
    using channel ORA_DISK_1
    channel ORA_DISK_1: input backup set: count=17, stamp=779649348, piece=1
    channel ORA_DISK_1: starting piece 1 at 03-APR-12
    channel ORA_DISK_1: backup piece /u01/app/offsite/0hn7h0a4_1_2
    piece handle=/u01/app/offsite/0hn7h0a4_1_3 comment=NONE
    channel ORA_DISK_1: finished piece 1 at 03-APR-12
    channel ORA_DISK_1: backup piece complete, elapsed time: 00:00:25
    channel ORA_DISK_1: input backup set: count=18, stamp=779649393, piece=1
    channel ORA_DISK_1: starting piece 1 at 03-APR-12
    channel ORA_DISK_1: backup piece /u01/app/offsite/0in7h0bh_1_2
    piece handle=/u01/app/offsite/0in7h0bh_1_3 comment=NONE
    channel ORA_DISK_1: finished piece 1 at 03-APR-12
    channel ORA_DISK_1: backup piece complete, elapsed time: 00:00:03
    channel ORA_DISK_1: input backup set: count=19, stamp=779649439, piece=1
    channel ORA_DISK_1: starting piece 1 at 03-APR-12
    channel ORA_DISK_1: backup piece /u01/app/offsite/0jn7h0cv_1_2
    piece handle=/u01/app/offsite/0jn7h0cv_1_3 comment=NONE
    channel ORA_DISK_1: finished piece 1 at 03-APR-12
    channel ORA_DISK_1: backup piece complete, elapsed time: 00:00:45
    Finished backup at 03-APR-12
    RMAN> list backupset tag='my_backup_offsite';
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    447 Full 314.02M DISK 00:00:37 03-APR-12
    BP Key: 624 Status: AVAILABLE Compressed: NO Tag: MY_BACKUP_OFFSITE
    Piece Name: /u01/app/offsite/0hn7h0a4_1_3
    List of Datafiles in backup set 447
    File LV Type Ckp SCN Ckp Time Name
    1 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/system01.dbf
    2 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/sysaux01.dbf
    3 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/undotbs01.dbf
    4 Full 444127 03-APR-12 /u01/app/oracle/oradata/dbrcv/users01.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    448 Full 9.36M DISK 00:00:04 03-APR-12
    BP Key: 625 Status: AVAILABLE Compressed: NO Tag: MY_BACKUP_OFFSITE
    Piece Name: /u01/app/offsite/0in7h0bh_1_3
    SPFILE Included: Modification time: 03-APR-12
    SPFILE db_unique_name: DBRCV
    Control File Included: Ckp SCN: 444147 Ckp time: 03-APR-12
    BS Key Size Device Type Elapsed Time Completion Time
    492 300.38M DISK 00:00:26 03-APR-12
    BP Key: 626 Status: AVAILABLE Compressed: NO Tag: MY_BACKUP_OFFSITE
    Piece Name: /u01/app/offsite/0jn7h0cv_1_3
    List of Archived Logs in backup set 492
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 16 234488 30-MAR-12 261258 31-MAR-12
    1 17 261258 31-MAR-12 286957 31-MAR-12
    1 18 286957 31-MAR-12 303448 31-MAR-12
    1 19 303448 31-MAR-12 329357 01-APR-12
    1 20 329357 01-APR-12 351967 01-APR-12
    1 21 351967 01-APR-12 375454 02-APR-12
    1 22 375454 02-APR-12 409423 02-APR-12
    1 23 409423 02-APR-12 443037 03-APR-12
    1 24 443037 03-APR-12 443868 03-APR-12
    1 25 443868 03-APR-12 443928 03-APR-12
    1 26 443928 03-APR-12 444188 03-APR-12
    RMAN>
    {code}
    When you perform restore you can use the tag='my_backup_offsite'.
    This files belong a same policy of "configure retention policy ... " of RMAN. So, this files will be obsolete when it is out the policy.
    Hope this helps,
    Levi Pereira

  • Duplicate database command fails with RMAN-06023

    Hello,
    I am trying to test out the duplicate database command in RMAN and am running into some issues.
    I did a backup of my test database, copied the backup files to a second server, and now I'm trying to run the duplicate command and I get RMAN-06023 errors for all of my datafiles.
    I did crosschecks on my backupsets and they showed as available. They are in the same location on the new server, with the same permissions. There are no recent archived logs, as this is a very quiet environment.
    My commands and output (edited slightly) were as follows:
    RMAN> run {
    2> allocate channel d1 device type disk;
    3> allocate channel d2 device type disk;
    4> backup database;
    5> }
    allocated channel: d1
    channel d1: sid=32 devtype=DISK
    allocated channel: d2
    channel d2: sid=36 devtype=DISK
    Starting backup at 03-JUL-07
    channel d1: starting full datafile backupset
    channel d1: specifying datafile(s) in backupset
    channel d2: starting full datafile backupset
    channel d2: specifying datafile(s) in backupset
    input datafile fno=00012 name=/database/oradata/source/matrix_ts01.dbf
    input datafile fno=00004 name=/database/oraindex/source/ind_ts01.dbf
    input datafile fno=00006 name=/database/oradata/source/users_ts01.dbf
    input datafile fno=00003 name=/database/oradata/source/drsys01.dbf
    input datafile fno=00007 name=/database/oradata/source/ORACLEORADATATST2CWMLITE01.DBF
    input datafile fno=00009 name=/database/oradata/source/ORACLEORADATATST2ODM01.DBF
    input datafile fno=00005 name=/database/oradata/source/tools_ts01.dbf
    channel d2: starting piece 1 at 03-JUL-07
    including current SPFILE in backupset
    including current controlfile in backupset
    input datafile fno=00011 name=/database/oradata/source/ORACLEORADATADATA.DBF
    input datafile fno=00001 name=/database/oradata/source/system_ts01.dbf
    input datafile fno=00002 name=/database/oradata/source/undo_ts01.dbf
    input datafile fno=00008 name=/database/oradata/source/ORACLEORADATATST2EXAMPLE01.DBF
    input datafile fno=00010 name=/database/oradata/source/ORACLEORADATATST2XDB01.DBF
    channel d1: starting piece 1 at 03-JUL-07
    channel d2: finished piece 1 at 03-JUL-07
    piece handle=/database/oracle/product/9.2.0/dbs/0ciltjgn_1_1 comment=NONE
    channel d2: backup set complete, elapsed time: 00:08:17
    channel d1: finished piece 1 at 03-JUL-07
    piece handle=/database/oracle/product/9.2.0/dbs/0biltjgn_1_1 comment=NONE
    channel d1: backup set complete, elapsed time: 00:09:22
    Finished backup at 03-JUL-07
    released channel: d1
    released channel: d2
    ** at this point I copied the files listed above to same directory on destination server **
    RMAN> connect auxiliary sys/[email protected]
    connected to auxiliary database: destination (not mounted)
    RMAN> run {
    2> allocate auxiliary channel aux1 device type disk;
    3> allocate auxiliary channel aux2 device type disk;
    4> duplicate target database to destination nofilenamecheck;
    5> }
    llocated channel: aux1
    channel aux1: sid=10 devtype=DISK
    allocated channel: aux2
    channel aux2: sid=13 devtype=DISK
    Starting Duplicate Db at 03-JUL-07
    printing stored script: Memory Script
    set until scn 4873550;
    set newname for datafile 1 to
    "/database/oradata/destination/system_ts01.dbf";
    set newname for datafile 2 to
    "/database/oradata/destination/undo_ts01.dbf";
    set newname for datafile 3 to
    "/database/oradata/destination/drsys01.dbf";
    set newname for datafile 4 to
    "/database/oraindex/destination/ind_ts01.dbf";
    set newname for datafile 5 to
    "/database/oradata/destination/tools_ts01.dbf";
    set newname for datafile 6 to
    "/database/oradata/destination/users_ts01.dbf";
    set newname for datafile 7 to
    "/database/oradata/destination/ORACLEORADATATST2CWMLITE01.DBF";
    set newname for datafile 8 to
    "/database/oradata/destination/ORACLEORADATATST2EXAMPLE01.DBF";
    set newname for datafile 9 to
    "/database/oradata/destination/ORACLEORADATATST2ODM01.DBF";
    set newname for datafile 10 to
    "/database/oradata/destination/ORACLEORADATATST2XDB01.DBF";
    set newname for datafile 11 to
    "/database/oradata/destination/ORACLEORADATADATA.DBF";
    set newname for datafile 12 to
    "/database/oradata/destination/matrix_ts01.dbf";
    restore
    check readonly
    clone database
    executing script: Memory Script
    executing command: SET until clause
    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
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 03-JUL-07
    released channel: aux1
    released channel: aux2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 07/03/2007 14:35:13
    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 12 found to restore
    RMAN-06023: no backup or copy of datafile 11 found to restore
    RMAN-06023: no backup or copy of datafile 10 found to restore
    RMAN-06023: no backup or copy of datafile 9 found to restore
    RMAN-06023: no backup or copy of datafile 8 found to restore
    RMAN-06023: no backup or copy of datafile 7 found to restore
    RMAN-06023: no backup or copy of datafile 6 found to restore
    RMAN-06023: no backup or copy of datafile 5 found to restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    Thanks for any help,

    Hi,
    Where is you RMAN catalog? I think you forgot to connect to it.
    To duplicate a database check that folowing applies:
    1-the auxiliary instance is mounted
    2-the listener for the auxiliary db is up
    3-the backup pieces that RMAN is going to restore ARE AVAILABLE on the
    secondary/auxilary server with SAME NAME the have on the primary server (you can use NFS to avoid the copy of the pieces from primary to auxuliary box)
    Remember to be conected to both: target and auxiliary db.
    I have extracted the folowing lines from an RMAN script I used to create an standby database with the DUPLICATE command (the RMAN catalog was in the primary db controlfile, and the command was run on the primary server:
    $ rman target / nocatalog auxiliary sys/pwd@standbycard log=crCARD.log
    RMAN> duplicate target database for standby nofilenamecheck dorecover;
    I hope this helps
    Gustavo Restuccia

  • Another RMAN-06023 Error

    Hi all !
    I'm quite new to RMAN and facing some problem here. DB is 10gR2 and filesystem has crashed a couple of weeks ago.
    I'm trying to restore from backupset, but facing some trouble on restore database :
    RMAN> restore controlfile from '/swapcom/flash_recovery_area/SWAPCOM/backupset/backupset/2007_08_02/o1_mf_ncsn1_TAG20070802T172400_3c3yckh7_.bkp';
    Starting restore at 30-AUG-07
    using channel ORA_DISK_1
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    output filename=/export/swapcom/oracle/oradata/swapcom/swapcom/control01.ctl
    output filename=/export/swapcom/oracle/oradata/swapcom/swapcom/control02.ctl
    output filename=/export/swapcom/oracle/oradata/swapcom/swapcom/control03.ctl
    Finished restore at 30-AUG-07
    RMAN> restore spfile from '/swapcom/flash_recovery_area/SWAPCOM/backupset/backupset/2007_08_02/o1_mf_ncsn1_TAG20070802T172400_3c3yckh7_.bkp';
    Starting restore at 30-AUG-07
    using channel ORA_DISK_1
    channel ORA_DISK_1: autobackup found: /swapcom/flash_recovery_area/SWAPCOM/backupset/backupset/2007_08_02/o1_mf_ncsn1_TAG20070802T172400_3c3yckh7_.bkp
    channel ORA_DISK_1: SPFILE restore from autobackup complete
    Finished restore at 30-AUG-07
    RMAN> startup mount
    database is already started
    database mounted
    released channel: ORA_DISK_1
    RMAN> restore database;
    Starting restore at 30-AUG-07
    Starting implicit crosscheck backup at 30-AUG-07
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=157 devtype=DISK
    Crosschecked 62 objects
    Finished implicit crosscheck backup at 30-AUG-07
    Starting implicit crosscheck copy at 30-AUG-07
    using channel ORA_DISK_1
    Crosschecked 8 objects
    Finished implicit crosscheck copy at 30-AUG-07
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 08/30/2007 15:24:59
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    Any guidance would be highly appreciated. Thx in advance.

    Forgot to mention I have of course been searching on this forum and tried many things but am getting kinda confused...

  • RMAN-06023

    Hi,
    Oracle 10.2.0.5
    Solaris 10
    plan is backup and restore testing
    while restoring amfacing below problem, can please suggest how to proceed further.
    RMAN> restore datafile 28;
    Starting restore at 21 APR 2013 20:40:28
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 04/21/2013 20:40:28
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 28 found to restore
    RMAN>
    appricate your help.
    thanks.

    RMAN> list copy of datafile 28;it is showing specification does not match any backup in the repository
    RMAN> list backup;List of Datafiles in backup set 32
    File LV Type Ckp SCN Ckp Time Name
    28 Full 563444 20 APR 2013 20:04:10
    result is too long ........
    select file#, status, enabled,
    to_char(creation_time,'dd-Mon-yyyy hh24:mi:ss') creation_tm
    ,foreign_dbid, plugged_readonly,
    to_char(foreign_creation_time,'dd-Mon-yyyy hh24:mi:ss') foreign_cr_tm,
    plugin_change#
    from v$datafile
    where file# = 28;FILE# STATUS ENABLED CREATION_TM FOREIGN_DBID PLU FOREIGN_CR_TM PLUGIN_CHANGE#
    28 ONLINE READ ONLY 20-Apr-2013 08:55:04 552936878 YES 20-Apr-2013 08:55:04 568809

Maybe you are looking for

  • Photoshop CS5 problem- won't open

    None of my adobe products will open with the exception of Lightroom- please help

  • Date format for oracle lite client database

    hello.... When data is entered opened on the oracle lite webtogo OC4J client is giving the following errors: JBO-25009: Cannot create an object of type:java.sql.Date with value:2/21/08 12:00 AM JBO-27014: Attribute CreationDate in AppModule.Applicant

  • More shared variable help

    Yep, I'm attempting a large shared variable project, so, I guess it's time to get active on the board again.  Anyway, so I had this problem; http://forums.ni.com/t5/LabVIEW/Getting-a-list-shared-variable-references/td-p/1817829 but we got that figure

  • Material from material type

    hi all i have an urgent need to get report in excel for material according to material type. what is the table for that,how can i get it??? thanks

  • Do we have screen exit for QE73?

    Hi, I need to  add "Update" button on QE73 screen, Do we have screen exit for QE73. Please provide exit name. Thanks, Mahahe