oracle 10.2.0.1 win 32 rman 備份異機恢復

msdnchina發表於2011-10-10
在目的機器上oradim -new -sid lei
建立bdump 和udump
登錄檔新增鍵oracle_sid ,並修改其值為lei
copy 源機器的full database 備份/archive備份/archive備份之後的歸檔日誌到目的機器的相同目錄下
copy 源機器的控制檔案自動備份到C:from14下
restore spfile from 'C:from14O1_MF_S_764118213_793FY5QG_.BKP'
restore controlfile from 'C:from14O1_MF_S_764118213_793FY5QG_.BKP'
alter database mount;
此時,請保證源機器的full database 備份/archive備份在相同的目錄(相同的目錄是指與源端的備份時的目錄同名)下
restore database;
recover database;
rman-06054 介質恢復正請求在未知的日誌:執行緒1 seq 8 lowscn 595344
catalog archivelog 'C:from14O1_MF_1_8_793FZSGN_.ARC';
catalog archivelog 'C:from14O1_MF_1_9_793FZX0H_.ARC';
catalog archivelog 'C:from14O1_MF_1_10_793G023X_.ARC';
catalog archivelog 'C:from14O1_MF_1_11_793G024D_.ARC';
catalog archivelog 'C:from14O1_MF_1_12_793G075V_.ARC';
catalog archivelog 'C:from14O1_MF_1_13_793G076C_.ARC';
catalog archivelog 'C:from14O1_MF_1_14_793G0CVC_.ARC';
alter database open resetlogs;
[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/161195/viewspace-1055540/,如需轉載,請註明出處,否則將追究法律責任。

相關文章