Damon 发表于 2014-7-11 14:57:11

ORA-01180: can not create datafile 1 during RMAN restore.

我之前也碰到过这个问题, 但是不知道为什么又好了, 重启数据库或者机器都没有用过,
怀疑是rman没有把backup set的信息更新到controlfile里面.

从netbackup导出来后, 用catalog start with '/backupsetpath/';把备份集认出来,但是不能还原数据库,
上MOS一查, 说是缺少这个数据文件的备份..一看果然是.

奇怪的是备份出来的文件都没有少或者漏...同一个备份文件, 在RMAN里显示的数据文件都不一样.
完全蒙了.



=====rman备份日志=============


piecehandle=/backup/rman/fbip/backupset/FBIP_df0_20140702_126970_1_851841686tag=TAG20140701T224849 comment=NONE

channel ORA_DISK_2:backup set complete, elapsed time: 00:39:28

channel ORA_DISK_2:starting compressed incremental level 0 datafile backupset

channel ORA_DISK_2:specifying datafile(s) in backupset

input datafile fno=00040name=/data3/fbip/csm020_index03.dbf

input datafile fno=00099name=/data1/fbip/misc_data01.dbf

input datafile fno=00001 name=/data1/fbip/system01.dbf

input datafile fno=00012name=/data1/fbip/ar_settle_data01.dbf

input datafile fno=00134name=/data3/fbip/srt_data03.dbf

input datafile fno=00086name=/data3/fbip/isp_index03.dbf





========异机list backup of database的backup set 信息======

BS KeyType LV Size       Device Type Elapsed Time Completion Time

------- ---- ------------ ----------- ------------ ---------------

126826Incr 0 4.03G      DISK      00:39:24   02-JUL-14

      BP Key: 127628   Status: AVAILABLECompressed: YESTag: TAG20140701T224849

      Piece Name:/dbdata/tnss20140701/rmanbackup/FBIP_df0_20140702_126970_1_851841686

List of Datafiles in backup set 126826

File LV Type Ckp SCN    Ckp Time Name

---- -- ---- ---------- --------- ----

230Incr 6378142203701 02-JUL-14/data2/fbip/bw_data02.dbf

360Incr 6378142203701 02-JUL-14/data2/fbip/csm020_data02.dbf

480Incr 6378142203701 02-JUL-14/data1/fbip/csm030_index01.dbf

830Incr 6378142203701 02-JUL-14/data3/fbip/isp_data03.dbf

101 0Incr 6378142203701 02-JUL-14/data3/fbip/misc_data03.dbf

103 0Incr 6378142203701 02-JUL-14/data2/fbip/misc_index02.dbf

112 0Incr 6378142203701 02-JUL-14/data3/fbip/octopus03.dbf

169 0Incr 6378142203701 02-JUL-14/data2/fbip/ar_data05.dbf

xifenfei 发表于 2014-7-11 23:31:58

对应的数据文件都不一样,初步怀疑,你是不是备份的时候开了并行,然后并行输出的日志穿插在一起了,因此你看到类似这样的情况

你分析整个的备份日志和list datafile信息,看看

travel.liu 发表于 2014-7-12 10:22:35

可以尝试先delele backup,然后在catalog试试。
页: [1]
查看完整版本: ORA-01180: can not create datafile 1 during RMAN restore.