NetWorker:REST API 备份查询超时
Summary: REST API 备份查询超时
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
- 您尝试使用 REST API 查询 NetWorker 备份,但它们在某些资源上超时。
- 您使用的是 /nwrestapi/v3/global/clients/client_id/backups URL。
- 要查询的资源适用于 VMware vCenter。
- 行为是可通过脚本化或单个 REST 调用实现的。
- /nsr/logs/restapi/restapi.log 可能会报告所查询资源的状态 500(内部服务器错误)。这是一条通用错误消息。
Cause
查询 vCenter 时可能会发生此行为,因为要为单个资源查询备份和元数据的数量。
如果您要编写 REST API 命令脚本,并且查询中存在使用“/clients/client_id/backups”URL 的 vCenter,则由于潜在的内存泄漏,此行为也可能出现在其他资源上。
如果您要编写 REST API 命令脚本,并且查询中存在使用“/clients/client_id/backups”URL 的 vCenter,则由于潜在的内存泄漏,此行为也可能出现在其他资源上。
Resolution
使用以下 REST API 调用查询 VMware 备份: https:// NetWorker_Server_Name:9090/nwrestapi/v3/global/vmware/vcenters/Hypervisor_Resource_Name/protectedvms/VM_UUID/backups
其中 Hypervisor_Resource_Name 是 NetWorker 中显示的 vCenter 的名称。
例子:
提醒:状态 200 表示已收到命令并正确响应。
您可以继续为传统 NetWorker 客户端使用 https:// NetWorker_Server_Name:9090/nwrestapi/v3/global/clients/Client_ID/backups URL。
其中 Hypervisor_Resource_Name 是 NetWorker 中显示的 vCenter 的名称。
例子:
提醒:状态 200 表示已收到命令并正确响应。
您可以继续为传统 NetWorker 客户端使用 https:// NetWorker_Server_Name:9090/nwrestapi/v3/global/clients/Client_ID/backups URL。
Additional Information
NetWorker 支持只能处理 REST API 的中断修复问题,并且不能支持任何用于调用 REST API 的自定义脚本。
https://developer.dell.com/apis/2378/versions/v3/docs/GettingStarted.md
https://developer.dell.com/apis/2378/versions/v3/docs/GettingStarted.md
Affected Products
NetWorkerProducts
NetWorkerArticle Properties
Article Number: 000169971
Article Type: Solution
Last Modified: 03 Jun 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.