以下是我将要备份表空时,出的错误,请各位大虾帮帮忙!!
RMAN> backup (tablespace users);启动 backup 于 13-5月 -12
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: backup 命令 (在 05/13/2012 19:54:19 上) 失败
RMAN-03014: 恢复目录的隐式重新同步失败
RMAN-06004: 恢复目录数据库发生 ORACLE 错误: RMAN-20020: 数据库原型尚未设置
RMAN> backup (tablespace users);启动 backup 于 13-5月 -12
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: backup 命令 (在 05/13/2012 19:54:19 上) 失败
RMAN-03014: 恢复目录的隐式重新同步失败
RMAN-06004: 恢复目录数据库发生 ORACLE 错误: RMAN-20020: 数据库原型尚未设置
RMAN>list incarnation;2,恢复管理器
SQL>conn rman/rman
SQL>exec dbms_rcvcat.unregisterdatabase(1,DBid);3.注册DB
RMAN> register database;4.分配通道,backup
RMAN> run
2> {
3> allocate channel 'test1' type disk;
4> backup full tag 'dbfull' format 'd:\scott_full%u_%p_%c' database;
5> release channel test1;
6> }
RMAN> list incarnation;
数据库原型列表
DB 关键字 Inc 关键字 DB 名 DB ID STATUS 重置 SCN 重置时间
------- ------- -------- ---------------- --- ---------- ----------
197 198 ORCL 1304250000 CURRENT 1846465 06-5月 -12SQL> conn rman/rman
已连接。
SQL> exec dbms_rcvcat.unregisterdatabase(1,1304250000);PL/SQL 过程已成功完成。RMAN> register database;注册在恢复目录中的数据库
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03008: 在执行恢复目录的自动重新同步时出错
RMAN-20020: 数据库原型尚未设置
RMAN>list incarnation;2,恢复管理器
SQL>conn rman/rman
SQL>exec dbms_rcvcat.unregisterdatabase(1,DBid);3.注册DB
RMAN> register database;4.分配通道,backup
RMAN> run
2> {
3> allocate channel 'test1' type disk;
4> backup full tag 'dbfull' format 'd:\scott_full%u_%p_%c' database;
5> release channel test1;
6> }
学习