跳转到主内容

由于出现UnobservedTaskException、SnapCenter不会删除SCSQL数据库备份

Views:
1
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx<a>2009413587</a>
Last Updated:

适用场景

  • SnapCenter 服务器
  • 适用于Microsoft SQL数据库的SnapCenter插件(SCSQL)

问题描述

  • 在SCSQL备份作业期间应用保留策略时、不会删除不必要的备份
  • SnapCenter图形用户界面中的作业详细信息页面指示 完成注册备份并应用保留任务、并且未显示任何错误
  • SnapManagerWeb.log 显示错误。

ERROR SnapManagerWeb PID=[XXXX] TID=[X] UnobservedTaskException occurred
ERROR SnapManagerWeb PID=[XXXX] TID=[X] Sequence contains no elements Source: System.Core
Stack Trace:   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
  at SnapManager.SMSCore.Policy.SmRetentionHandler.FilterBackupsforCurrentHost(List`1 backups, List`1 latestBackupComponentObjectIds)
  at SnapManager.SMSCore.Policy.SmRetentionHandler.ProcessRetention(SmRetentionSettings settings, List`1 backups, SmBackup backup, 
     List`1 latestBackupComponentObjectIds, String pgName, Int64 jobId)
  at SnapManager.SMSCore.Policy.SmRetentionHandler.Execute()
  at SnapManager.SMSCore.Backup.SmRetentionManager.StartRetention(SmBackup currentBackup, SmUserOperationContext userContext, 
  SmJob backupJob, SmPluginCode pluginCode, String pluginName)
  at SnapManager.SMSCore.Backup.SmRetentionManager.StartQueuedRetention(Int64 backupId, SmPluginCode pluginCode)
  at SnapManager.SMSCore.Backup.SmRetentionManager.ProcessQueuedRetentions()
  at System.Threading.Tasks.Task.Execute()

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.