Avamar: 由於 LSN 不相符,SQL 增量備份會隨機提升為完整備份

Summary: 儘管最近成功進行了完整備份,但 SQL 增量備份仍隨機提升為完整備份。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

SQL 增量備份在具有大量事務的繁忙 SQL 伺服器上隨機提升為完整備份。Avamar SQL 附掛程式中的記錄間隙偵測機制觸發不正確,即使記錄順序編號 (LSN) 連續性並未中斷。 

 

隨機的 Avamar SQL 增量備份會失敗,並傳回:

2025-02-05 07:01:16 avsql Info <15765>: A log gap was identified or a full backup was not found.
2025/02/05-07:01:16.98499 [avsql_assist]  ===> sqlconnect::~sqlconnect
2025/02/05-07:01:16.98499 [avsql_assist]  <=== sqlconnect::~sqlconnect
2025/02/05-07:01:16.98499 [avsql_assist]  <=== avsql_assist::snapup_check_timestamps
2025-02-05 07:01:16 avsql Warning <7420>: Forcing FULL backup for database 'sql1\GRS/GRSBLOBS' due to the following reason: A log gap was identified or a full backup was not found.

Cause

已產生修正以解決此問題。此問題會顯示 Avamar SQL 附掛程式演算法從 SQL 伺服器擷取最後一個 LSN,且無法總是取得最新的 LSN。此行為導致意外提升到完整備份。 

Resolution

您可以在 Dell 頁面上找到此問題的修正 Avamar 驅動程式和下載 

  1. Avamar SQL 附掛程式版本 19.10.100.166
    1. 修補程式編號 338887 
  2. Avamar SQL 附掛程式版本 19.12.100.186
    1. 修補程式編號 338888  

如需修補程式下載說明,請參閱:

 Avamar:如何從 Dell 支援網站尋找和下載產品 hotfix、修補程式、安裝或升級套裝 

這些修補程式使用新的 SQL 附掛程式旗標,必須新增至avsql.cmd檔或資料集。

  1. 若要在 Avamar 中使用此新旗標,請按照下列步驟操作:
    1. 找到avsql.cmd檔案:此檔案通常位於 Avamar 用戶端安裝目錄中。
    2. 編輯avsql.cmd檔案:在具有管理許可權的文字編輯器中打開檔。
    3. 在下面添加標誌:
    4. 儲存並關閉檔案 
--latest-lsn-from-msdb=True

啟用此標誌 (True) 時,它可確保從 SQL 伺服器檢索正確的 LSN 編號以進行“日誌間隙”驗證。

上述標誌也可以添加到數據集中。

  1. 如需 UI ,請參閱 Avamar:如何為 Avamar 備份提供專用旗標
  2. 對於非導潔
    1. 前往 AUI
      1. 找到備份原則。
      2. 選取原則
      3. 按一下編輯。
    2. 前往資料集頁面。
      1. 在編輯資料集區段中,啟用標示為「開啟此切換開關以編輯資料集」的切換開關
      2. 在附掛程式區段中:
        1. 選取附掛程式。
        2. 打開「顯示自由格式」開關。
    3. 使用鍵值對添加所需的標誌。例如,若要啟用期間鎖定,請使用:
      1. Key: [avtar]"Flag"
      2. 值: true
    4. 按一下提交以儲存資料集變更。

 

Affected Products

Avamar Plug-in for SQL

Products

Avamar
Article Properties
Article Number: 000291727
Article Type: Solution
Last Modified: 05 Sept 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.