免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 11316 | 回复: 3

[Veritas NBU] 求助:NBU7.6 恢复oracle时出错 [复制链接]

论坛徽章:
0
发表于 2018-01-30 16:50 |显示全部楼层
nbu还原oracle的时候,控制文件已经还原成功了。但是还原数据库的时候报错。求各位老大,有什么解决方法。
RMAN> run {
2>  allocate channel D1 type 'sbt_tape' parms 'SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64';
3> send 'NB_ORA_SERV=******,NB_ORA_CLIENT=*******';
4> set until time "to_date('2018-01-25:00:00:00','YYYY-MM-DD hh24:mi:ss')";
5>    restore database;
6>   recover database;
7> RELEASE CHANNEL D1;
8>   }
allocated channel: D1
channel D1: SID=63 device type=SBT_TAPE
channel D1: Veritas NetBackup for Oracle - Release 7.6 (2014070620)
sent command to channel: D1
executing command: SET until clause
Starting restore at 30-JAN-18
creating datafile file number=1 name=/oracledata/oracle/CSIC8/system01.dbf
released channel: D1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 01/30/2018 16:25:47
ORA-01180: can not create datafile 1
ORA-01110: data file 1: '/oracledata/oracle/CSIC8/system01.dbf'

RMAN> run {
2>  allocate channel D1 type 'sbt_tape' parms 'SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64';
3> send 'NB_ORA_SERV=lilynub,NB_ORA_CLIENT=LILYPLMDBD02';
4> set until time "to_date('2018-01-25:00:00:00','YYYY-MM-DD hh24:mi:ss')";
5>    restore database;
6>   recover database;
7> RELEASE CHANNEL D1;
8>   }

allocated channel: D1
channel D1: SID=63 device type=SBT_TAPE
channel D1: Veritas NetBackup for Oracle - Release 7.6 (2014070620)

sent command to channel: D1

executing command: SET until clause

Starting restore at 30-JAN-18

creating datafile file number=1 name=/oracledata/oracle/CSIC8/system01.dbf
released channel: D1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 01/30/2018 16:25:47
ORA-01180: can not create datafile 1
ORA-01110: data file 1: '/oracledata/oracle/CSIC8/system01.dbf'


论坛徽章:
0
发表于 2018-02-20 10:34 |显示全部楼层
先看看是不是权限问题,如果排除权限问题,检查一下备份集是否有效。
RMAN> list backup of datafile 1;

论坛徽章:
1
CU十二周年纪念徽章
日期:2013-10-24 15:41:34
发表于 2018-02-20 10:38 |显示全部楼层
先看看是不是权限问题,如果排除权限问题,检查一下备份集是否有效。
RMAN> list backup of datafile 1;

论坛徽章:
0
发表于 2018-02-20 19:11 |显示全部楼层
原机恢复还是异机恢复,如果是异机确认一下路径是否有效。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP