环境描述:数据库通过rman远端备份至机器A(192.18.0.25),复原的机器B(172.18.65.40),
A(192.18.0.25)在防火墙上映射成A(172.18.1.83).
现在B上做复原:
复原控制文件没有问题
B:rman>run {allocate channel db_rec_0 type disk;restore controlfile from '\\172.18.1.83\control.bak';}
接着做复原datafile
B:rman>run {allocate channel db_rec_0 type disk; restore database;}
报错:
RMAN-03002: failure of restore command at 09/14/2006 01:39:09
ORA-01180:
cannot create datafile 1
ORA-01110: data file 1:
'/
/system01.dbf'
这种情况请你确认你备份时写入control的路径信息(\\192.18.0.25).
在172网段是不能直接通过192网址直接访问的,所以即使防火墙有映射也不行.
两种思路解决:
1.将B直接换成192的ip
2.通过防火墙策略让172.18.65.40可以直接访问192.18.0.25(防火墙新增策略)
标记一下.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/475734/viewspace-630235/
,如需转载,请注明出处,否则将追究法律责任。