天天看點

Effect of Switchovers, Failovers, and Control File Creation on Backups

對dataguard 官方文檔裡面的這句話不了解,是否能給出一個樣例說明:

10.2.0.5的版本号

effect of switchovers, failovers, and control file creation on backups

all the archived redo log files that were generated after the last backup on the system

where backups are done must be manually cataloged using the rman catalog

archivelog 'archivelog_name_complete_path' command after any of the following

events:

■ the primary or standby control file is re-created.

using rman to back up and restore files 10-3

■ the primary database role changes to standby after a switchover.

■ the standby database role changes to primary after switchover or failover.

if the new archived redo log files are not cataloged, rman will not back them up.

做了實驗,針對standby controlfile 重建情況。

在standby controlfile重建之後,發現standby上的v$archive_log的記錄是空的,是以rman 備份的時候會說沒有日志。

事實上關鍵就在這個裡,發生上述情況的時候,檢視v$archived_log裡記錄就一目了然了。

另外在重建standby controlfile之後,在這之後archived的日志才會被controlfile記錄。備份的時候才會備份到

繼續閱讀