一、通过对归档文件
dump
的方法,找到数据库的
DBID
!"##" #!$%&
'()*
'%
'()*
+++,," %
二、查看归档文件
dump
出的文件头信息
-./012-01013)2 !"##" #!$%
04%4
56!7!!!!!!%!!!!!!!!%!!!!!78888%8888%88
'66!7!!!!%!!!!!!!!6!788%8888
96:
13)2;2-26
:<=>,,"?$$=!7!!"!!
-3-=?">$ $=!7,> >$> @-=39-2<
:+:3-=?">$??$=!7,> #
'A=!$#?=!7 "#"@1B=!"!!=!7#!!!
1= @5B=$@19=)0C
上面显示
为
?">$ $
,数据库名为
39-2<
。
三、用常规方法来恢复控制文件
rman target /
set dbid=1748523235;
restore controlle from
'/home/oracle/backup/rman/full_ITDEV_20171209_215_1';
RMAN> set dbid=1748523235;
executing command: SET DBID
restore controlle from
'/home/oracle/backup/rman/full_ITDEV_20171209_214_1';
RMAN>
Starting restore at 17-DEC-17
using target database control le instead of recovery catalog
allocated channel: ORA_DISK_1
评论