免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1787 | 回复: 6
打印 上一主题 下一主题

[备份软件] Netbackup For Oracle RMAN恢复出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-04-17 10:39 |只看该作者 |倒序浏览
环境为: NBU  Server :  NBU4.5 , AIX5.2
           NBU  Client  :  NBU4.5 ,AIX 5.2 ,Oracle 9.2

我建了两个RMAN备份的Policy,一个Policy做每周的Full database backup;一个Policy做每天的Archive log backup。(Scripts用NBU自带的sample修改的)
这两个Policy的备份都正常,返回值都为0。
但是在恢复是出现错误;
我的恢复一是用RMAN命令:
RMAN>;run{
2>; allocate channel ch00 type disk;
3>; restore
4>;      database;
5>; recover
6>;      database;
7>; release channel ch00;
8>; }
另是用NBU Client的jbpSA,但是都返回错误。

以下是用jbpSA执行时的log:
Recovery Manager: Release 9.2.0.4.0 - 64bit Production

Copyright (c) 1995, 2002, Oracle Corporation.  All rights reserved.

2>;
3>; # -----------------------------------------------------------------
4>; # RMAN command section
5>; # -----------------------------------------------------------------
6>;
7>; RUN {
8>;
9>; ALLOCATE CHANNEL ch00
10>;     TYPE 'SBT_TAPE';
11>; SEND 'NB_ORA_CLIENT=p670a_svr';
12>;
13>; RESTORE
14>;     DATABASE
15>;     CHECK READONLY;
16>;
17>; RECOVER
18>;     DATABASE;
19>;
20>; RELEASE CHANNEL ch00;
21>; }
22>;
using target database controlfile instead of recovery catalog

allocated channel: ch00
channel ch00: sid=13 devtype=SBT_TAPE
channel ch00: VERITAS NetBackup for Oracle - Release 4.5MP6 (00000000)

sent command to channel: ch00

Starting restore at 16-APR-04

channel ch00: starting datafile backupset restore
channel ch00: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /oradata/hzsgs/system01.dbf
restoring datafile 00010 to /oradata/hzsgs/GSJ.dbf
restoring datafile 00016 to /oradata/hzsgs/expand/GONGSU.dbf
released channel: ch00
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 04/16/2004 15:43:46
ORA-19507: failed to retrieve sequential file, handle="bk_47_1_523634981", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
   sbtrestore: Failed to open for restore.

Recovery Manager complete.


那位熟悉NBU的大虾一起分析分析,Thank you

论坛徽章:
0
2 [报告]
发表于 2004-04-17 10:40 |只看该作者

Netbackup For Oracle RMAN恢复出错

刚才的RMAN命令写错了,为
RMAN>;run{
2>; allocate channel ch00 type 'sbt_tape';
3>; restore
4>; database;
5>; recover
6>; database;
7>; release channel ch00;

论坛徽章:
0
3 [报告]
发表于 2004-04-17 20:33 |只看该作者

Netbackup For Oracle RMAN恢复出错

NetBackup的active monitor有错吗?

论坛徽章:
0
4 [报告]
发表于 2004-04-17 20:37 |只看该作者

Netbackup For Oracle RMAN恢复出错

在客户端用bplist -t 4 -R /确认NetBackup有备份oracle,用rman 里的list backup看rman看到几号的备份

论坛徽章:
0
5 [报告]
发表于 2004-04-17 20:38 |只看该作者

Netbackup For Oracle RMAN恢复出错

可能过期了

论坛徽章:
0
6 [报告]
发表于 2004-04-17 20:43 |只看该作者

Netbackup For Oracle RMAN恢复出错

在/usr/openv/netbackup/logs下建bphdb和dbclient,加VERBOSE到bp.conf,再恢复一次看日志

论坛徽章:
0
7 [报告]
发表于 2004-04-18 02:53 |只看该作者

Netbackup For Oracle RMAN恢复出错

好的,谢谢,下周到客户哪里再试试
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP