进入RMAN恢复管理器有两种方式 直接在系统命令提示符敲入rman命令进入rman控制台后执行connect D\>rman 恢复管理器 Release Production on 星期四 月 Copyright (c) Oracle All rights reserved RMAN> connect target / 连接到目标数据库 ROME (DBID=) RMAN> 在系统命令提示符下敲入target和catalog(没有此项默认非catalog方式控制文件记录rman操作的详细信息)的用户和密码 # example of operating system authentication D\>rman TARGET / # example of Oracle Net authentication D\>rman TARGET SYS/oracle@orcl NOCATALOG D\>rman TARGET / CATALOG rman/rman@catdb D\>rman TARGET SYS/oracle@orcl CATALOG rman/rman@catdb RMAN> exit 恢复管理器完成 注我们将在以后章节讲述带有恢复目录的RMAN操作 我们可以看一下rman可以连接的数据库的类型如下 Target databaseRMAN 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 failsRecovery catalog databaseThis database is optional By default RMAN runs in NOCATALOG modeAuxiliary databaseYou can connect to a standby database duplicate database or auxiliary instance (standby instance or tablespace pointintime recovery instance) (NoteYou do not need to specify the SYSDBA option because RMAN uses this option implicitly and automatically) |