分类:
2008-10-16 19:58:01
进入RMAN恢复管理器有两种方式:
1、 直接在系统命令提示符敲入rman命令,进入rman控制台后执行connect.
D:\>rman
恢复管理器: Release 10.2.0.2.0 - Production on 星期四 1月 4 10:08:52
Copyright (c) 1982, 2005, . All rights reserved.
RMAN> connect target /
连接到目标数据库: ROME (DBID=252956976)
RMAN>
2、在系统命令提示符下敲入target和catalog(没有此项默认非catalog方式,控制文件记录rman操作的详细信息)的用户和密码。
# example of operating system authentication
D:\>rman TARGET /
# example of Net authentication
D:\>rman TARGET NOCATALOG
D:\>rman TARGET / CATALOG
D:\>rman TARGET CATALOG
RMAN> exit
恢复管理器完成。
注:我们将在以后章节讲述带有恢复目录的RMAN操作。
我们可以看一下rman可以连接的数据库的类型如下:
Target database | RMAN connects you to the target database, which is the database that you are backing up or recovering, with the SYSDBA privilege. If you do not have this privilege, then the connection fails. |
Recovery catalog database | This database is optional. By default, RMAN runs in NOCATALOG mode. |
Auxiliary database | You can connect to a standby database, duplicate database, or auxiliary instance (standby instance or tablespace point-in-time recovery instance). |
(Note:You do not need to specify the SYSDBA option because RMAN uses this option implicitly and automatically.)