bseltz-cohesity / scripts

Cohesity REST API examples in PowerShell and Python
Apache License 2.0
102 stars 40 forks source link

Restore Report not giving correct duration for VM's restore #174

Closed Sheeba86 closed 1 month ago

Sheeba86 commented 2 months ago

Hi Brian,

I have query with reporting of restore, I have multiple VM's restored in a restore job, but shows same duration for all the VM's instead of actual duration. could you please check it.

reports/powershell/restoreReport/restoreReport.ps1

bseltz-cohesity commented 2 months ago

The script is working as designed. It reports the start time and duration of the recovery task, not the individual objects. To get the object-level would require the script to run an API call for every object reported, which would be slow and impactful to the cluster.

Sheeba86 commented 1 month ago

Ok thanks your support