Skip to main content
NetApp Knowledge Base

New-SmBackup cmdlet fails due to "Cannot create a backup as the resource group contains only deleted resources."

Views:
229
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

Applies to

  • SnapCenter 4.1P2
  • SnapCenter Plug-in for Microsoft Windows (SCW) 4.1P2

Issue

  • New-SmBackup cmdlet fails to trigger SnapCenter Backup job due to the following error.
New-SmBackup : Cannot create a backup as the resource group contains only deleted resources. To continue, add one or more resources
 
  • No job ID is generated.
  • SnapDriveSALDebug.log on SCW host shows the following error.
Example:
 
2020-01-21T06:00:24.8245286+09:00 Verbose SAL PID=[2508] TID=[6872] Creating PS helper
2020-01-21T06:00:24.8245286+09:00 Verbose SAL PID=[2508] TID=[6872] --StorageConnection::InitializeONTAP
2020-01-21T06:00:24.8245286+09:00 Verbose SAL PID=[2508] TID=[6872] InitializeONTAP() throw exception: Object reference not set to an instance of an object.
2020-01-21T06:00:24.8245286+09:00 Error SAL PID=[2508] TID=[6872] Object reference not set to an instance of an object.
   at SnapDrive.Nsf.Core.Storage.StorageConnection.Initialize(SDStorageSystemId storageSystemId)
 
2020-01-21T06:00:24.8245286+09:00 Verbose SAL PID=[2508] TID=[6872] --StorageConnection::Initialize
2020-01-21T06:00:24.8245286+09:00 Error SAL PID=[2508] TID=[6872] Failed to connect to storage system 192.168.0.130.
Object reference not set to an instance of an object.
2020-01-21T06:00:24.8245286+09:00 Verbose SAL PID=[2508] TID=[6872] Validated 0 of the 1 requested settings for the configuration repository, status: Failed to connect to storage system 192.168.0.130.
Object reference not set to an instance of an object.
2020-01-21T06:00:24.8245286+09:00 Verbose SAL PID=[2508] TID=[6872] --StorageConnectionManager::ValidateStorageConnectionEx
2020-01-21T06:00:24.8245286+09:00 Verbose SAL PID=[2508] TID=[6872] --SDConfigurationServiceProvider::SDValidateStorageConnectionEx
2020-01-21T06:00:24.8245286+09:00 Verbose SAL PID=[2508] TID=[6872] Failed to connect to storage system 192.168.0.130.
Object reference not set to an instance of an object.
2020-01-21T06:00:24.8245286+09:00 Verbose SAL PID=[2508] TID=[6872] --SDConfigurationServiceProvider::SDSetStorageConnection
 

 

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

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device