bseltz-cohesity / scripts

Cohesity REST API examples in PowerShell and Python
Apache License 2.0
104 stars 41 forks source link

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

Closed Sheeba86 closed 3 months ago

Sheeba86 commented 3 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 3 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 3 months ago

Ok thanks your support