我先连接到catalog,如下:
RMAN>connect catalog rman/rman;
RMAN-06008:连接到恢复目录数据库
再连接到目标数据库,如下:
RMAN>connect target sys/123456@dbtest
RMAN-06005:连接到目标数据库:ORA8TEST (DBID=2420058704)
我尝试备份一个控制文件,如下:
RMAN>backup current controlfile;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "backup": expecting one of: "allocate,alter,be
ginline,catalog,change,connect,create,crosscheck,configure,debug,delete
,drop,exit,endinline,host,{,library,list,mount,open,print,register,r
elease,replace,report,renormalize,reset,resync,rman,rpct?"
RMAN-01007: at line 1 column 1 file: standard input
这是什么问题?
随便敲个命令:如下也报错
RMAN>show all;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "identifier": expecting one of: "allocate,alter
,beginline,catalog,change,connect,create,crosscheck,configure,debug,del
ete,drop,exit,endinline,host,{,library,list,mount,open,print,register
,release,replace,report,renormalize,reset,resync,rman,rpct?"
RMAN-01008: the bad identifier was: show
RMAN-01007: at line 1 column 1 file: standard input
什么原因呀?