| 失效鏈接處理 |
|
RMAN參考手冊 PDF 下載
本站整理下載:
相關截圖:
![]()
主要內容:
RMAN 參考手冊
ORACLE 備份分為物理備份和邏輯備份兩種:物理備份就是轉儲 ORACLE 物理文件 ( 如數(shù)據文件、控制文件、歸檔日志文
件等 ) ,一旦數(shù)據庫發(fā)生故障,我們可以利用這些文件進行還原;邏輯備份就是對數(shù)據庫對象 ( 如用戶、表、存儲過程等 )
利用 EXPORT 等工具進行導出工作,我們可以利用 IMPORT 等工具把邏輯備份文件導入到數(shù)據庫。 RMAN 備份是一種物理
備份,可以用 RMAN 來備份數(shù)據文件、控制文件、參數(shù)文件、歸檔日志文件。我們在數(shù)據庫出現(xiàn)問題的時候可以通過
RMAN 物理備份恢復到數(shù)據庫的失效點。
開始和退出 RMAN
進入 RMAN 恢復管理器 2 種方式 :
1 、直接在系統(tǒng)命令提示符敲入 rman 命令,進入 rman 控制臺后執(zhí)行 connect
D:/>rman
恢復管理器 : Release 10.2.0.2.0 - Production on 星期四 1 月 4 10:08:52
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect target /
連接到目標數(shù)據庫 : ROME (DBID=252956976)
RMAN>
2 、在系統(tǒng)命令提示符下敲入 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
恢復管理器完成。
注:我們將在以后章節(jié)講述帶有恢復目錄的 RMAN 操作。
我們可以看一下 rman 可以連接的數(shù)據庫的類型如下:
Target da
tabase
RMAN connects you to the target database, which is the database that you are backing up or r
ecovering, with the SYSDBA privilege. If you do not have this privilege, then the connection fai
ls.
Recovery
catalog d
atabase
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 insta
nce 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.
|




蘇公網安備 32061202001004號


