AppSync:如果存在較舊的完整/複製資料庫備份,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
使用者已設定 AppSync,在每次備份 SQL 資料庫後立即進行事務記錄備份。
使用者後來注意到 SQL 伺服器上的備份路徑記錄備份並未到期。
AppSync 使用者和管理員指南指出,在下列情況下,記錄備份符合到期資格:
- 記錄備份比服務計畫的「最短保留時數」設定還要早。
- 所有較舊的資料庫備份都已過期。
Cause
SQL Server 下的服務計畫 > 下有較舊的資料庫複本Microsoft。
Resolution
AppSync 伺服器記錄會顯示目標到期的記錄備份,以及連接至該備份的相關 SQL 資料庫備份。
日誌顯示,從 9 月 7 日開始存在資料庫的完整副本。因此,任何較新的日誌備份都無法過期。
使用者瀏覽至 Service Plans SQL Server > ,並在此將較舊的副本到期。
無論副本來自何處列出,請務必將頁面上的「副本」下拉式篩選器設為「全部」,以確保列出較舊的副本。
日誌顯示,從 9 月 7 日開始存在資料庫的完整副本。因此,任何較新的日誌備份都無法過期。
10-24-2019 16:13:39.793 INFO [Thread-155378 (HornetQ-client-global-threads-1076521243)] [com.emc.archway.commands.application.mssql.GetSqlServerCopiesCommandBean] [<APPSYNC SERVER>] [] 4cf73b39-51cb-4427-8746-c66c80a81717->>>取得即將到期的記錄備份。服務計劃資料庫備份類型選項為「完整」
10-24-2019 16:13:39.840 INFO [Thread-155378 (HornetQ-client-global-threads-1076521243)] [com.emc.archway.commands.application.mssql.GetSqlServerCopiesCommandBean] [APPSYNC SERVER>] [] 4cf73b39-51cb-4427-8746-c66c80a81717->>> 為資料庫\資料庫名稱
取得完整資料庫備份的記錄備份 10-24-2019 16:13:39.901 INFO [Thread-155378 (HornetQ-client-global-threads-1076521243)] [com.emc.archway.commands.application.mssql.GetSqlServerCopiesCommandBean] [APPSYNC SERVER>] [] 4cf73b39-51cb-4427-8746-c66c80a81717->>> 記錄到期的最長時間:星期三 10/23/2019 04:13:39 PM
10-24-2019 16:13:39.901 INFO [Thread-155378 (HornetQ-client-global-threads-1076521243)] [com.emc.archway.commands.application.mssql.GetSqlServerCopiesCommandBean] [APPSYNC SERVER]> [] 4cf73b39-51cb-4427-8746-c66c80a81717->>>最舊的完整時間戳記:(六) 09/07/2019 03:04:31 AM
10-24-2019 16:13:39.901 INFO [Thread-155378 (HornetQ-client-global-threads-1076521243)] [com.emc.archway.commands.application.mssql.GetSqlServerCopiesCommandBean] [APPSYNC SERVER]> [] 4cf73b39-51cb-4427-8746-c66c80a81717->>> 使用最舊的完整時間戳
記 10-24-2019 16:13:40.867 INFO [Thread-155378 (HornetQ-client-global-threads-1076521243)] [com.emc.archway.commands.application.mssql.GetSqlServerCopiesCommandBean] [APPSYNC SERVER>] []4cf73b39-51cb-4427-8746-c66c80a81717->>>過期的 0 個日誌備份。
10-24-2019 16:13:39.840 INFO [Thread-155378 (HornetQ-client-global-threads-1076521243)] [com.emc.archway.commands.application.mssql.GetSqlServerCopiesCommandBean] [APPSYNC SERVER>] [] 4cf73b39-51cb-4427-8746-c66c80a81717->>> 為資料庫\資料庫名稱
取得完整資料庫備份的記錄備份 10-24-2019 16:13:39.901 INFO [Thread-155378 (HornetQ-client-global-threads-1076521243)] [com.emc.archway.commands.application.mssql.GetSqlServerCopiesCommandBean] [APPSYNC SERVER>] [] 4cf73b39-51cb-4427-8746-c66c80a81717->>> 記錄到期的最長時間:星期三 10/23/2019 04:13:39 PM
10-24-2019 16:13:39.901 INFO [Thread-155378 (HornetQ-client-global-threads-1076521243)] [com.emc.archway.commands.application.mssql.GetSqlServerCopiesCommandBean] [APPSYNC SERVER]> [] 4cf73b39-51cb-4427-8746-c66c80a81717->>>最舊的完整時間戳記:(六) 09/07/2019 03:04:31 AM
10-24-2019 16:13:39.901 INFO [Thread-155378 (HornetQ-client-global-threads-1076521243)] [com.emc.archway.commands.application.mssql.GetSqlServerCopiesCommandBean] [APPSYNC SERVER]> [] 4cf73b39-51cb-4427-8746-c66c80a81717->>> 使用最舊的完整時間戳
記 10-24-2019 16:13:40.867 INFO [Thread-155378 (HornetQ-client-global-threads-1076521243)] [com.emc.archway.commands.application.mssql.GetSqlServerCopiesCommandBean] [APPSYNC SERVER>] []4cf73b39-51cb-4427-8746-c66c80a81717->>>過期的 0 個日誌備份。
使用者瀏覽至 Service Plans SQL Server > ,並在此將較舊的副本到期。
無論副本來自何處列出,請務必將頁面上的「副本」下拉式篩選器設為「全部」,以確保列出較舊的副本。
Additional Information
如需有關 SQL Server 交易記錄備份的詳細資訊,請參閱 AppSync 使用者和管理指南。
Affected Products
AppSyncProducts
AppSyncArticle Properties
Article Number: 000168706
Article Type: Solution
Last Modified: 18 Sept 2025
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.