- 論壇徽章:
- 0
|
W2K下的oracle8.1.6 備份用rman nocatalog在archivelog模式下:
備份:step 1、做hot-full-backup ,其中包括對archivelog 的備份,并將controlfile備份到磁盤上其它位置,成功;
step 2、對數(shù)據(jù)庫做一些更改(建表,插入數(shù)據(jù));
step 3、手工歸檔,做switchlog;
step 4、用rman備份archivelog, 并備份controlfile ,成功;
恢復:模擬數(shù)據(jù)文件所在的磁盤損壞,數(shù)據(jù)庫關閉后,刪除所有數(shù)據(jù)文件。
step 1. 恢復全備,成功;
step 2. 現(xiàn)在想恢復歸檔,再用歸檔恢復對數(shù)據(jù)庫所做的更改:
a. 恢復archivelog,成功;
b. recover database;
這時提示using backup control, 用命令:recover database using backup control; 則總提示需要一個seq# 最新的archivelog文件,而這個seq# 的archivelog文件在恢復的archivelog中是不存在的(應該是下一個號),數(shù)據(jù)庫無法打開, 這是什么原因呢?
幫忙了,多謝了!  |
|