Hello Everyone,
As title say, we're trying to automate some basic task we do periodically and one of those involves restore a machine, get how much time it takes (so we can get a raw estime) and then manually recreate the entire enviroment of our client.
Using PVE API I managed to restore a machine and get the UPID of the task:
what I would like to do next is save how much time the job took to finish, but as you can see if i fetch the job status using the API there's no total time or end time reported even if the job is finished:
The backup I'm restoring is from a Proxmox Backup Server.
Am I missing something?
In the web GUI job duration is reported...
I appreciate any effort, thank you very much.
As title say, we're trying to automate some basic task we do periodically and one of those involves restore a machine, get how much time it takes (so we can get a raw estime) and then manually recreate the entire enviroment of our client.
Using PVE API I managed to restore a machine and get the UPID of the task:
what I would like to do next is save how much time the job took to finish, but as you can see if i fetch the job status using the API there's no total time or end time reported even if the job is finished:
The backup I'm restoring is from a Proxmox Backup Server.
Am I missing something?
In the web GUI job duration is reported...
I appreciate any effort, thank you very much.