Microsoft App Agent:SQL 備份因到期工作重疊而失敗
Summary: Microsoft Application Agent (MSAPPAGENT) 會對大小超過 200 TB 的大型資料庫進行 SQL 備份。完整備份會運行超過 24 小時。備份失敗時,使用者將被鎖定,直到備份結束。
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
備份失敗時,使用者將被鎖定,直到備份結束。
備份失敗期間出現的典型錯誤包括:
- 無法寫入檔案
ddp_write() failed with error 5057-File handle is stale- 無法將資料寫入儲存集 ID 的多個緩衝
Invalid argument (errno=22)
記錄顯示下列錯誤:
2025-03-09T06:33:18.862Z 153005 ddbmsqlsv SYSTEM critical Unable to write to a file. The error message is: [5057] [50964] [49344] Sun Mar 09 01:33:18 2025 ddp_write() failed Offset 17626881327104, BytesToWrite 524288, BytesWritten 0 Err: 5057-File handle is stale 2025-03-09T06:33:18.862Z 86699 ddbmsqlsv PowerProtect Data Manager critical Unable to write data into multiple buffers for save-set ID '1741402808': Invalid argument (errno=22) 2025-03-09T06:33:18.916Z 188739 ddbmsqlsv PowerProtect Data Manager warning Backup ID '1741402814' (client 'SqlHost.domain': backup 'MSSQL:DatabaseName~8') is aborted. 2025-03-09T06:33:18.924Z 188739 ddbmsqlsv PowerProtect Data Manager warning Backup ID '1741402817' (client 'SqlHost.domain': backup 'MSSQL:DatabaseName~4') is aborted. 2025-03-09T06:33:18.933Z 188739 ddbmsqlsv PowerProtect Data Manager warning Backup ID '1741402818' (client 'SqlHost.domain': backup 'MSSQL:DatabaseName~12') is aborted. 2025-03-09T06:33:19.324Z 188739 ddbmsqlsv PowerProtect Data Manager warning Backup ID '1741402816' (client 'SqlHost.domain': backup 'MSSQL:DatabaseName~3') is aborted.
此外,還會看到以下日誌條目:
ddbmexptool.messages.log -------------- 2025-03-09T06:33:19.475Z 0 ddbmexptool PowerProtect Data Manager notice 1741402814 Deleting '/MtreeName/SqlHost.domain/14/MSSQL2%3aDatabaseName/FULL/index/1741402814.rec' failed [5004] ([12956] [35836] Sun Mar 09 01:33:19 2025 2025-03-09T06:33:19.495Z 0 ddbmexptool PowerProtect Data Manager notice 1741402816 Deleting '/MtreeName/SqlHost.domain/14/MSSQL2%3aDatabaseName/FULL/index/1741402816.rec' failed [5004] ([12956] [35836] Sun Mar 09 01:33:19 2025 2025-03-09T06:33:19.515Z 0 ddbmexptool PowerProtect Data Manager notice 1741402817 Deleting '/MtreeName/SqlHost.domain/14/MSSQL2%3aDatabaseName/FULL/index/1741402817.rec' failed [5004] ([12956] [35836] Sun Mar 09 01:33:19 2025 2025-03-09T06:33:19.540Z 0 ddbmexptool PowerProtect Data Manager notice 1741402818 Deleting '/MtreeName/SqlHost.domain/14/MSSQL2%3aDatabaseName/FULL/index/1741402818.rec' failed [5004] ([12956] [35836] Sun Mar 09 01:33:19 2025 .
Cause
- 目前的觀察結果似乎是 MSAPPAGENT 到期工作 (
ddbmexptool) 作為完整備份同時運行。 - 完整備份需要超過 24 小時的時間,在此期間,過期工作會執行,刪除超過保留時間的過期存儲集。
- 到期工作開始刪除儲存集時的時間戳記,與備份工作失敗的時間戳記一致。
- 另一個觀察情況是,MSAPPAGENT 備份使用的 MTREE 已啟用複寫至兩個目的地目標。
- 使用新 MTREE 的測試備份成功。
- 新的 MTREE 不會啟用複寫。
- 這可能需要進一步的測試,以確定複製是否歸因於原因。
Resolution
- 執行 MSAPPAGENT 備份,並避免與到期工作重疊 (d
ddbmexptool),以及通常在週末運行的長時間運行的備份。 - 或者,使用新的 MTREE 進行完整備份
- 關鍵因素是避免執行過期工作 (
ddbmexptool),以進行長備份。
Article Properties
Article Number: 000302954
Article Type: Solution
Last Modified: 09 Apr 2025
Version: 1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.