熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> Oracle >> 正文

進入RMAN恢復管理器的兩種方式

2022-06-13   來源: Oracle 

  進入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 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 pointintime recovery instance)

  (NoteYou do not need to specify the SYSDBA option because RMAN uses this option implicitly and automatically


From:http://tw.wingwit.com/Article/program/Oracle/201311/17941.html
  • 上一篇文章:

  • 下一篇文章:
  • 推薦文章
    Copyright © 2005-2022 電腦知識網 Computer Knowledge   All rights reserved.