+ -
当前位置:首页 → 问答吧 → rman能否直接编辑之前输入的 global script脚本

rman能否直接编辑之前输入的 global script脚本

时间:2011-09-08

来源:互联网

oracle 10g 2
用rman
建立一个脚本
replace global script g_duplicate comment"duplicate db" {
2 allocate.....

...

15};

执行发现中间有输入错误。 这个脚本备份在恢复目录db

有没有什么方法不用我再次完全输入replace global script g_duplicate comment"duplicate db"。。
也就是rman能否直接编辑刚才输入的 global script g_duplicate?

作者: liyihongcug   发布时间: 2011-09-08

可以写成一个sql保存成文件之后粘贴到rman下执行。

当然如果list global script names 如果能找到能编辑是最好了 ?

作者: liyihongcug   发布时间: 2011-09-08