NetWorker: REST API jobs GET request shows incorrect dataSize unit
Summary: NetWorker provides Representational State Transfer (REST) Application Programming Interface (API) which can be used for gather data from the NetWorker application. The "jobs" based GET request reports the dataSize unit as "KB"; However, the value shown is the backup size in bytes not KB. ...
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
- A REST API GET request is used to collect "jobs" information from the NetWorker server.
curl -k -u Administrator:'PASSWORD' -X GET https://NETWORKER-SERVER-ADDRESS:9090/nwrestapi/v3/global/jobs/JOBID
- The dataSize unit shows as kilobytes; however, the value shown is in bytes:
"clientHostname": "win-client01.amer.lan",
"completionStatus": "Succeeded",
"dataSize": {
"unit": "KB",
"value": 96637437263
},
"dependentJobIds": [
0
],
"endTime": "2025-07-09T23:12:29-04:00",
"exitCode": 0,
Assuming the value is in kilobytes as shown, the converted value of the Virtual Machine (VM) to another unit reports a larger size than the VM is. For example, converting the value to GB suggests the VM is 94 TB.
[root@nsr ~]# echo "scale=6; 96637437263 / 1000 / 1024" | bc
94372.497327
- The
mminfooutput for this save set the correct VM size is shown:
[root@nsr ~]# mminfo -kot -q vmname=win-client01.amer.lan
volume type vm_name date time size ssid fl backup_size
ddve02VMdata.001 Data Domain win-client01.amer.lan 07/09/2025 11:12:29 PM 94 GB 3933240894 cr 94 GB
Converting the value shown in the jobsdb (REST API output) from bytes matches the VM size recording in the media database (
mminfo):
[root@nsr ~]# echo "scale=6; 96637437263 / 1000 / 1024 / 1000" | bc
94.372497
NOTE: This is observed for 19.9.0.6 and 19.10.0.3 and later. Prior to these versions the opposite is observed. Meaning, the unit reported is Bytes, but the value shown is in kilobytes. The conversion results in a smaller value than expected.
Cause
This issue was raised to NetWorker engineering.
Resolution
A future code fix will address this issue. This KB will be updated once fix details are posted.
You can continue using the jobs GET request until a code fix is applied. However, note that the value is in bytes, not kilobytes. Any conversion to a larger unit (such as GB or TB) must be done from bytes.
Additional Information
Affected Products
NetWorkerProducts
NetWorker Family, NetWorker SeriesArticle Properties
Article Number: 000221479
Article Type: Solution
Last Modified: 17 Jul 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.