免费注册 查看新帖 |

Chinaunix

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

oracle恢复的问题请教。。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-07-02 10:09 |只看该作者 |倒序浏览
新学oracle备份与恢复。环境:win2000 server+oracle8.1.7
备份脚本:(已做好archivelog,catalog)
create script back {
allocate channel n1 type disk;
backup database
format '/data/backup/ora8_%d_%s_%p';
release channel n1;}
run{execute script back;}
以上可以正确通过。

恢复脚本:
run{
allocate channel n1 type disk;
restore database;
recover database;
sql "alter database open resetlogs";
release channel n1;}
rman报错:
RMAN-03022: compiling command: allocate
RMAN-03026: error recovery releasing channel resources
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: allocate
RMAN-06004: ORACLE error from recovery catalog database: ORA-03114: not connected to ORACLE
RMAN-06097: text of failing SQL statement: begin dbms_rcvman . resetAll ; :succe
ss := dbms_rcvman . SUCCESS ; :av
RMAN-06099: error occurred in source file: krmk.pc, line: 9397
请高人帮忙!!!

论坛徽章:
0
2 [报告]
发表于 2005-07-02 11:51 |只看该作者

oracle恢复的问题请教。。

连接到target and rman db了码?

论坛徽章:
0
3 [报告]
发表于 2005-07-02 20:12 |只看该作者

oracle恢复的问题请教。。

连了。
rman target system/manager@test rcvcat rman/rman@test

论坛徽章:
0
4 [报告]
发表于 2005-07-03 10:24 |只看该作者

oracle恢复的问题请教。。

???

论坛徽章:
0
5 [报告]
发表于 2005-07-03 11:13 |只看该作者

oracle恢复的问题请教。。

原帖由 "aigo_H" 发表:
连了。
rman target system/manager@test rcvcat rman/rman@test

这个没报错吗?

论坛徽章:
0
6 [报告]
发表于 2005-07-03 12:56 |只看该作者

oracle恢复的问题请教。。

没有出错啊!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP