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 Server 上的备份路径没有使日志备份过期。

《AppSync 用户和管理指南》指出,当出现以下情况时,日志备份符合到期条件:
  • 日志备份早于服务计划“Minimum Retention Hours”设置。
  • 所有较旧的数据库备份都已过期。
用户检查并验证了副本管理 > SQL Server 下没有较旧的数据库备份。

Cause

在服务计划 > MicrosoftSQL Server 下存在较旧的数据库拷贝。

Resolution

AppSync 服务器日志显示作为到期目标的日志备份以及与之连接的相关 SQL 数据库备份。
日志显示存在从 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->>>Getting log backups for expiration.服务计划数据库备份类型选项为“完整”

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->>> Getting log backups for FULL database backups for Database\Database name

10-24-2019 16:13:39.901 INFO [Thread-155378 (HornetQ-client-global-threads-1076521243)] [com.emc.archway.commands.application.mssql.GetSqlServ
erCopiesCommandBean] [APPSYNC SERVER]> [] 4cf73b39-51cb-4427-8746-c66c80a81717->>> Max time for log expiration:Wed 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->>>Oldest full timestamp:周六 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->>> Using oldest full timestamp
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->>>Expiring 0 log backups.

用户导航到服务计划 > SQL Server,并从那里使旧拷贝过期。
无论从何处列出拷贝,请确保页面上的“copies”下拉筛选器设置为 ALL,以确保列出较旧的拷贝。

Additional Information

有关 SQL Server 事务日志备份的更多详细信息,请参阅AppSync 用户和管理指南。

Affected Products

AppSync

Products

AppSync
Article 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.