NetWorker: REST API jobs GET request shows incorrect dataSize unit

Résumé: 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. ...

Cet article concerne Cet article ne concerne pas Cet article n’est associé à aucun produit spécifique. Toutes les versions du produit ne sont pas identifiées dans cet article.

Symptômes

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

Cause

This issue was raised to NetWorker engineering.

Résolution

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.

Informations supplémentaires

Produits concernés

NetWorker

Produits

NetWorker Family, NetWorker Series
Propriétés de l’article
Numéro d’article: 000221479
Type d’article: Solution
Dernière modification: 30 Dec 2025
Version:  5
Trouvez des réponses à vos questions auprès d’autres utilisateurs Dell
Services de support
Vérifiez si votre appareil est couvert par les services de support.