Oracle
我們仍然無法在本地控製文件中找到備份存檔日誌
Oracle數據庫為Oracle 11.2.0.3版本。
每隔一小時,archivelog 將備份到 netbackup 磁帶。
但奇怪的是,即使我們使用
resync catalog
命令,在本地控製文件中仍然找不到備份的歸檔日誌文件;但在 nbu 目錄數據庫中,我們可以找到備份存檔日誌資訊。你能檢查一下我們是否做錯了什麼嗎?
list backup of archivelog from logseq 382594 until logseq 382595;
- 在本地控制時,列出備份存檔日誌資訊如下;找不到備份的歸檔日誌。
Recovery Manager complete. [opreb@srebdb01 ~]$ rman target / Recovery Manager: Release 11.2.0.3.0 - Production on Fri Oct 23 10:21:38 2020 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. connected to target database: REB (DBID=2063200898) RMAN> list backup of archivelog from logseq 382594 until logseq 382595; <- using target database control file instead of recovery catalog specification does not match any backup in the repository RMAN> exit Recovery Manager complete.
- 使用目錄數據庫檢查是否可以找到備份的歸檔日誌資訊;
[opreb@srebdb01 ~]$ rman target / catalog rman11g/rman11g@cat11g Recovery Manager: Release 11.2.0.3.0 - Production on Fri Oct 23 10:21:52 2020 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. connected to target database: REB (DBID=2063200898) connected to recovery catalog database list backup of archivelog from logseq 382594 until logseq 382595; <- RMAN> List of Backup Sets =================== BS Key Size Device Type Elapsed Time Completion Time ------- ---------- ----------- ------------ --------------- 128764956 6.50M SBT_TAPE 00:00:09 22-OCT-20 BP Key: 128764959 Status: AVAILABLE Compressed: NO Tag: TAG20201022T215336 Handle: al_73143_1_1054504417 Media: @aaabh List of Archived Logs in backup set 128764956 Thrd Seq Low SCN Low Time Next SCN Next Time ---- ------- ---------- --------- ---------- --------- 1 382594 5576720225 22-OCT-20 5576727105 22-OCT-20 1 382595 5576727105 22-OCT-20 5576733606 22-OCT-20
- 然後我們嘗試重新同步目錄
RMAN> RESYNC CATALOG 2> 3> ; starting full resync of recovery catalog full resync complete RMAN> exit Recovery Manager complete.
- 事件然後,我們仍然無法在本地控製文件中找到備份存檔日誌資訊。
[opreb@srebdb01 ~]$ rman target / Recovery Manager: Release 11.2.0.3.0 - Production on Fri Oct 23 10:22:26 2020 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. connected to target database: REB (DBID=2063200898) RMAN> list backup of archivelog from logseq 382594 until logseq 382595; <- using target database control file instead of recovery catalog specification does not match any backup in the repository RMAN> exit
感謝您的回饋意見。
如果備份直接發送到 NetBackup,請嘗試在 LIST 命令中指定 DEVICE TYPE SBT。預設值可能是 DEVICE TYPE DISK。例如
list backup of archivelog all device type sbt;
高溫高壓
$$ opreb@srebdb01 ~ $$$ rman 目標 / 恢復管理器:版本 11.2.0.3.0 - 2020 年 10 月 28 日星期三 10:37:20 生產
版權所有 (c) 1982, 2011,Oracle 和/或其附屬公司。版權所有。
連接到目標數據庫:REB (DBID=2063200898)
RMAN> 列出從 logseq 382594 到 logseq 382595 的歸檔日誌備份;
使用目標數據庫控製文件而不是恢復目錄規範與儲存庫中的任何備份都不匹配
RMAN> 列出從 logseq 382594 到 logseq 382595 設備類型 sbt 的歸檔日誌備份;
規範與儲存庫中的任何備份都不匹配