跳转到主内容

由于无法删除相关备份,无法删除 SCV 策略

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

适用于

SnapCenter Plug-in for VMware vSphere (SCV) 4.x

问题

由于存在关联的备份,尝试通过 REST API 删除策略失败。
 
当尝试使用以下 REST API 命令删除 nsm_Backup 中为该策略列出的(通常是旧的)备份时:
curl -X DELETE "https://<SCV_IP_OR_FQDN>:8144/api/4.1/backups" -H "accept: application/json" -H "Token: <LOGIN_TOKEN>" -H "Content-Type: application/json" -d "{ \"listOfBackupIds\": [ { \"backupId\": \"<BACKUP_ID>\" } ]}
 
(通过 REST API GUI 可见),会出现以下错误:
 
400   Error: Bad Request
Response body
{
  "statusMessage": "BAD_REQUETS",
  "statusCode": 400,
  "responseMessage": [
     "Unable to verify backupId <BACKUP_ID>. Please check and specify a valid BackupId."
   ]
}

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.