Rman恢复脚本问题

[复制链接]
查看11 | 回复2 | 2010-10-8 09:32:26 | 显示全部楼层 |阅读模式
使用Rman恢复脚本来恢复数据库
在脚本中使用STARTUP MOUNT命令时候会报ORA-12514错,不知道为什么
我在sqlplus里面startup,shutdown都没有问题的?
查了下说要修改listner.ora文件,但不知道原理为什么,尝试修改了,也没有成功。
高手指点下迷津~~~ 谢谢啦~~
脚本如下:
connect target scott/tiger@orcl
connect catalog rman/rman@rman
run{
#Loss of all the database files except the redo logs and the control files
shutdown immediate;
startup mount;
allocate channel t1 type disk;
allocate channel t2 type disk;
restore database;
recover database;
alter database open;
release channel t1;
release channel t2;
}
大家帮忙啊,很莫名~~~
[ 本帖最后由 Reynold4Fun 于 2009-11-18 09:49 编辑 ]
回复

使用道具 举报

千问 | 2010-10-8 09:32:26 | 显示全部楼层
你把脚本贴出来,楼上的兄台。
回复

使用道具 举报

千问 | 2010-10-8 09:32:26 | 显示全部楼层
你用的又不是 sys用户怎么能shutdown immediate;
startup mount;
?????
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行