NetWorker: REST API jobs GET request shows incorrect dataSize unit

Resumen: 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. ...

Este artículo se aplica a Este artículo no se aplica a Este artículo no está vinculado a ningún producto específico. No se identifican todas las versiones del producto en este artículo.

Síntomas

  • 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 mminfo output 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.

Causa

This issue was raised to NetWorker engineering.

Resolución

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.

Información adicional

Productos afectados

NetWorker

Productos

NetWorker Family, NetWorker Series
Propiedades del artículo
Número del artículo: 000221479
Tipo de artículo: Solution
Última modificación: 30 dic 2025
Versión:  5
Encuentre respuestas a sus preguntas de otros usuarios de Dell
Servicios de soporte
Compruebe si el dispositivo está cubierto por los servicios de soporte.