$ rman
Recovery Manager: Release 10.2.0.1.0 - Production on Fri May 25 00:37:24 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect catalog rman/rman
connected to recovery catalog database
RMAN> exit
Recovery Manager complete.
可以连接呀,再来
$ rman target 'zhirui' catalog rman/rman
Recovery Manager: Release 10.2.0.1.0 - Production on Fri May 25 00:38:13 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
target database Password:
connected to target database: ZHIRUI (DBID=1679784276)
connected to recovery catalog database
恩,连接进去了。
6.注册数据库
RMAN> register database;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of register command at 05/25/2007 00:38:55
RMAN-06428: recovery catalog is not installed
出错,recovery catalog is not installed
RMAN> register database zhirui;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: ";"
RMAN-01008: the bad identifier was: zhirui
RMAN-01007: at line 1 column 19 file: standard input
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found ";": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, chan"
RMAN-01007: at line 1 column 25 file: standard input
更多内容请看PCdog.com--MySQL数据备份 备份恢复 数据库备份与恢复专题
