Skip to main content
NetApp Knowledge Base

SCSQL clone operation - Failed to find backup

Views:
53
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:
5/27/2024, 5:36:15 PM

Applies to

SnapCenter Plugin for SQL (SCSQL)

Issue

  • SnapCenter topology view of a database shows a count of “0” backups however all the successful backups are listed:
SnapCenter_topology.png
  • SCSQL database clone operations for the database fail with error, "Failed to find backup '<BACKUP NAME>' for resource '<INSTANCE NAME\DATABASE NAME>'".
SnapManagerWeb_XXXXXX.log:
 
2024-05-20T15:58:43.8173367+02:00 DEBUG SnapManagerWeb_XXXXXX PID=[23616] TID=[56] DALHelper - GetBackup Start
2024-05-20T15:58:43.8223377+02:00 DEBUG SnapManagerWeb_XXXXXX PID=[23616] TID=[56] Querying primary backup <nsm_Backup_Id #>
2024-05-20T15:58:43.8236791+02:00 DEBUG SnapManagerWeb_XXXXXX PID=[23616] TID=[56] Querying objects
2024-05-20T15:58:43.8244039+02:00 DEBUG SnapManagerWeb_XXXXXX PID=[23616] TID=[56] Querying objects from host resource mapping
2024-05-20T15:58:43.8244039+02:00 DEBUG SnapManagerWeb_XXXXXX PID=[23616] TID=[56] Querying SQL Database <INSTANCE NAME\DATABASE NAME> registered with host <OLD WINDOWS CLUSTER NAME>
2024-05-20T15:58:43.8353361+02:00 DEBUG SnapManagerWeb_XXXXXX PID=[23616] TID=[56] Object queried is <INSTANCE NAME\DATABASE NAME> host is <OLD WINDOWS CLUSTER NAME>
2024-05-20T15:58:43.8353361+02:00 DEBUG SnapManagerWeb_XXXXXX PID=[23616] TID=[56] Checking hostResource.AppObjects.First().Host <ORIGINAL/STALE nsm_sm_oject_id #> object type 2
2024-05-20T15:58:43.8393340+02:00 DEBUG SnapManagerWeb_XXXXXX PID=[23616] TID=[56] GetSqlResourceBySmObjectId Start
2024-05-20T15:58:43.8403344+02:00 DEBUG SnapManagerWeb_XXXXXX PID=[23616] TID=[56] FindDatabaseBySmObjectId Start
2024-05-20T15:58:43.8743357+02:00 INFO  SnapManagerWeb_XXXXXX PID=[23616] TID=[56] SmSqlDb with database name=<DATABASE NAME>
2024-05-20T15:58:43.8753361+02:00 DEBUG SnapManagerWeb_XXXXXX PID=[23616] TID=[56] GetSqlResourceBySmObjectId End
2024-05-20T15:58:43.8763329+02:00 DEBUG SnapManagerWeb_XXXXXX PID=[23616] TID=[56]  SmObject is <INSTANCE NAME\DATABASE NAME> clonelevel is 0
2024-05-20T15:58:43.8863361+02:00 ERROR SnapManagerWeb_XXXXXX PID=[23616] TID=[56] Failed to create clone request. System.Exception: Failed to find backup '<BACKUP NAME>' for resource '<INSTANCE NAME\DATABASE NAME>'
at SnapManager.SMSDAL.CloneHelper.GetBackupInfo(SmBackupInfo backupInfo, SmCreateCloneRequest inputRequest, SmCloneConfiguration cloneConfiguration)
at SnapManager.SMSDAL.CloneHelper.CreateCloneRequestsForHosts(SmCreateCloneRequest inputRequest)

 

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.