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
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 AMRMAN-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. -
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
LearnerNo 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-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/ -
RMAN-06023: no backup or copy of datafile 54 found to restore
Hi
Edited by: shakilshaikh on May 20, 2011 1:29 AMyep 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 -
Hi,
I'm testing RMAN Backup on a new database,I first tested the backup and backup was successful.Now thet I need to test restoring the backup i'm getting error msg below.
"RMAN-06100: no channel to restore a backup or copy of datafile".
I'm not sure if the command I use is wrong,here is wat I did.Pls correct me if i'm wrong.I run following script
run {
shutdown immediate; # use abort if this fails
startup mount;
restore database;
recover database;
alter database open;
}Thank you everyone!! I manage to resolve the prblm.I did not include TDPO_OPTFILE path when I run the restore script. I tried the following script and now database is restoring.Haha.. I'm So happy.. Thank you so much for all the metalink notes id.
# Recovery database from backup tape
startup mount;
run {
set until time "to_date('17-OCT-2007 19:00:00','DD-MON-YYYY HH24:MI:SS')";
allocate channel t1 type 'sbt_tape' parms
'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
restore database;
recover database ;
release channel t1;
alter database open resetlogs; -
RMAN Duplicate DB fails to restore datafile created during backup.
Database is 9i.
Performing duplicate database using rman on seperate host.
Reason of failure is , there were datafiles created during backup. Question is , Is there a workaround to perform duplicate database to work.
Error :
released channel: aux1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 12/16/2007 14:42:44
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 791 found to restore
RMAN-06023: no backup or copy of datafile 790 found to restore
RMAN-06023: no backup or copy of datafile 789 found to restore
RMAN-06023: no backup or copy of datafile 788 found to restore
RMAN-06023: no backup or copy of datafile 787 found to restore
RMAN-06023: no backup or copy of datafile 786 found to restore
Backup Date is : 23rd Nov to 26th Nov
Datafile created between backup period are :
786 /oracle/prod/proddata17/btabd_322/btabd.data322 Nov-25-2007 02:58:38 AM
787 /oracle/prod/proddata17/btabd_323/btabd.data323 Nov-25-2007 03:06:02 AM
788 /oracle/prod/proddata17/btabd_324/btabd.data324 Nov-25-2007 03:17:48 AM
789 /oracle/prod/proddata17/btabd_325/btabd.data325 Nov-25-2007 03:26:50 AM
790 /oracle/prod/proddata17/btabd_326/btabd.data326 Nov-25-2007 03:32:31 AM
791 /oracle/prod/proddata17/btabd_327/btabd.data327 Nov-25-2007 03:39:59 AM
Restore Script :
rman TARGET dtbackup/dt0dmin@prod CATALOG rman_prd/rman_prd@rcat_db connect auxiliary /
run {
set until time = "TO_DATE('11/26/2007 10:30:00','mm/dd/yyyy hh24:mi:ss')";
allocate auxiliary channel aux1 type 'SBT_TAPE' PARMS="BLKSIZE=262144";
DUPLICATE TARGET DATABASE TO DUP ;
}I think there is no workaround and this is expected behavior - atleast till 10.2. If you refer oracle documentation, it says that it requires target database in either MOUNT or OPEN stage to duplicate database using RMAN. So RMAN will get current physical structure information about target database from its control file and when any file is not there in the backup, it will give error. Only way to resolve this is to take backup of these datafiles through RMAN either as backupset or copy. ( I think oracle can take hint from here and make RMAN database duplication possible for which backup is not available - its a small change in code - if backup not found, then start taking backup. Already in 11g, during RMAN duplication, RMAN can use backup from other server)
-
Block corruption - cant restore from backup
Hi,
we have development database 11.2.0.1. There was problem with storage, and as a result there are two corrupted blocks in data files.
SQL> select * from V$DATABASE_BLOCK_CORRUPTION;
FILE# BLOCK# BLOCKS CORRUPTION_CHANGE# CORRUPTIO
6 2359942 1 0 FRACTURED
25 1855622 1 0 FRACTURED
I have scheduled weekly full backup and daily incremental backup using EM so now I want to use rman to perform media recovery on corrupted blocks. However rman says there is no backup for affected data files (see below)
RMAN> RECOVER CORRUPTION LIST;
Starting recover at 03-NOV-12
using channel ORA_DISK_1
using channel ORA_DISK_2
using channel ORA_DISK_3
using channel ORA_DISK_4
using channel ORA_DISK_5
channel ORA_DISK_1: restoring block(s)
channel ORA_DISK_1: specifying block(s) to restore from backup set
restoring blocks of datafile 00006
channel ORA_DISK_1: reading from backup piece /opt/oraBackup/rman/i2npb3o9_1_1
channel ORA_DISK_1: piece handle=/opt/oraBackup/rman/i2npb3o9_1_1 tag=BACKUP_FULL_110212103009
channel ORA_DISK_1: restored block(s) from backup piece 1
channel ORA_DISK_1: block restore complete, elapsed time: 00:42:35
channel ORA_DISK_1: restoring block(s)
channel ORA_DISK_1: specifying block(s) to restore from backup set
restoring blocks of datafile 00025
channel ORA_DISK_1: reading from backup piece /opt/oraBackup/rman/i9npbd5e_1_1
channel ORA_DISK_1: piece handle=/opt/oraBackup/rman/i9npbd5e_1_1 tag=BACKUP_FULL_110212103009
channel ORA_DISK_1: restored block(s) from backup piece 1
channel ORA_DISK_1: block restore complete, elapsed time: 00:16:35
failover to previous backup
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 11/03/2012 11:59:29
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 25 found to restore
RMAN-06023: no backup or copy of datafile 6 found to restore
I dont understand this, because the backups are performed weekly and daily and all files are at their proper location. When I check the EM backup reports, I see COMPLETED for every weekly and daily backup.
Anyone please could suggest how to repair the blocks from backups ?Hi people, I am back to this issue. I have found this in the database
SQL> select * from v$backup_corruption;
RECID STAMP SET_STAMP SET_COUNT PIECE# FILE# BLOCK# BLOCKS CORRUPTION_CHANGE# MAR CORRUPTIO
1 796949262 796948233 9293 1 6 2359942 1 0 NO CORRUPT
2 796953328 796949174 9300 1 25 1855622 1 0 NO CORRUPT
3 797035604 797034635 9318 1 6 2359942 1 0 NO CORRUPT
4 797039692 797035556 9325 1 25 1855622 1 0 NO CORRUPT
5 797134390 797121030 9343 1 6 2359942 1 0 NO CORRUPT
6 797137228 797134397 9368 1 25 1855622 1 0 NO CORRUPT
7 797739951 797725854 9590 1 6 2359942 1 0 NO CORRUPT
8 797744507 797739957 9597 1 25 1855622 1 0 NO CORRUPT
9 798340269 798330633 9794 1 6 2359942 1 0 NO CORRUPT
10 798343497 798340270 9801 1 25 1855622 1 0 NO CORRUPTSo the backup contains corrupted blocks. Right ? Older backups are already gone because of retention policy.
I have set up the backup using Enterprise Manager - Schedule Backup.
What I need to know is how to avoid taking backup with corrupted blocks in future. I need such backup to fail.
Thank you for advices and regards. -
HI ALL IAM VERY NEW TO ORACLE
I TAKEN BACKUP..OF ORACLEDB BY USING RMAN
RMAN> run{
Allocate channel s1 type disk;
Backup datafile âc:\MY\system01.dbfâ format âc:\MY\temp01.dbfâ;
Now i want restore this back what r the step needed to restore...
1.Can i create DB in Distination server or RMAN IT SELF CREATE DB
2.if suppose i create db that must be same structure of source db or simple format
3.what r the pre-caution i suppose to take while restoreingHi,
in your example you don't backup the database, but only one datafile (by the way, it's not a good idea to name the backup file temp01.dbf, very likely this datafile belongs to the temporary tablespace, you destroy this datafile). You cannot use a single datafile to implement a second database on a second server.
The command to backup a database running in noarchivemode is simply
backup database; and in archivelog mode
backup database plus archivelog;
(There are a lot of other options, see the documentation here on OTN). -
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 -
How to restore specific backup file from RMAN?
Hi,
I am just begginer with Oracle DB so I do not have a lot knowledge.
I created two backups at April the 8th and April the 10th.
I did following from RMAN.
shutdown immediate
startup mount
configure channel 1 device type disk format '/opt/oracle/backup/std_%U';
backup database
startup
output was:
including current control file in backupset
including current SPFILE in backupset
it created two files: std-0so6l0vn(2 GB) and std_0to6l106 (7 MB).
First question - first file is backup and what is the second file???
Today I created also backup and it also created two files: std_0uo6morg (2GB) and std_0vo6morv (7MB)
Now I want to return backup from 2 days ago (*std-0so6l0vn*) but can't;
I do the the following:
shutdown immediate
startup mount
restore database from '/opt/oracle/backup/std_0so6l0vn'
but getting error - only SPFILE or control file can be restored from autobackup.
How to restore my backup from two days ago? It looks to me so complicated and hardly understandable.
What command to execute from RMAN to succeed in restore?
Thank youI still can not restore database; I tried Honza method.
i try
startup nomount
restore controlfile from 'restore controlfile from /opt/oracle/backup/sss_11o7efd9_1_1';
And getting message:
no autobackup found or specified handle is not a valid copy or piece
list backup returns:
BS Key Type LV Size Device Type Elapsed Time Completion Time
19 Full 6.80M DISK 00:00:01 19-APR-13
BP Key: 19 Status: AVAILABLE Compressed: NO Tag: TAG20130419T025522
Piece Name: /opt/oracle/backup/sss_11o7efd9_1_1
Control File Included: Ckp SCN: 3178467 Ckp time: 19-APR-13
SPFILE Included: Modification time: 02-APR-13
show all returns:
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
configuration for DISK channel 2 is ignored
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 CHANNEL 1 DEVICE TYPE DISK FORMAT '/opt/oracle/backup/sss_%U';
CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT '/opt/oracle/backup/sss_%U';
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 '/opt/oracle/product/10.2.0/dbs/snapcf_ctginst1.f'; # default
Please help I really must restore database but can't do it.
Maybe you are looking for
-
Setting up Time Machine - it won't recognise my external hard disk - help!
I'm trying to set up time machine to use as my back up system. I have an external drive plugged in by USB that the desktop and finder are picking up - but when I got to 'find disk' as I am setting up Time Machine - it doesn't show any disks to choose
-
Help needed in Dynamic Configuration
Hello Gurus, I have a requirement where in my input filename is : ABCD#XXX_YYYYMMDD_HHMMSS I want my output filename as : VN01MMDDYY01 Where VN01 is the companycode which is in the Header field of my input file. MMDDYY should be extracted from my inp
-
TS1702 On resetting, apple logo appears and stays on ipad3
An ignorant technician whom I went for the sim, after inserting the sim just did the resetting. An apple logo appeared and never went away untill the whole battery just drained away. As I put the iPad on charging, it came back to life but mail and sa
-
How to use ICC based colorspace
hello, The question is how to define a color in ICC based colorspace ? I tried with gState.strokeColorSpec.value.color array and it work fine when my CIE based colorspace is CMYK but how to do it when colorspace can be CMYKOG or RGB ... ? Regards, Wi
-
Hi am trying to use is digit on specific args to handle non numeric operands wilthout using exception handlers I have tried various ways but am having no luck and have not found any answers in the tutortials most recent attempt as follows: // Calcula