Hi Veeamers,
I'm working on a new backup portal, and unfortunately, I'm unable to find a RestApi call to retrieve the job report. I'm interested in pulling the same info the report is providing like:
Start time, Total size, Backup size, Warning, End time, Data read, Dedupe, Error, Duration, Transferred,Compression
Can anyone point me in the right direction, please?
I appreciate any help you can provide.
HY.
-
- Influencer
- Posts: 16
- Liked: 1 time
- Joined: Feb 13, 2022 11:02 am
- Full Name: Hal
- Contact:
-
- Veeam Software
- Posts: 2010
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Backup Job Report API
Hi Hal,
First, I would like to note that Data read and transferred sizes are not available in both EM and VBR REST APIs.
The other metrics are more or less retrievable from EM REST:
Unfortunately, there are no direct references from both sides, so the only way I see it is to correlate backup files with sessions by machine name and creation times.
Hope it helps,
Oleg
First, I would like to note that Data read and transferred sizes are not available in both EM and VBR REST APIs.
The other metrics are more or less retrievable from EM REST:
- BackupSize, Dedupe and Compression ratio are available under /backupFiles/{id}.
- Session start/end times and statuses are available in /backupSessions/{id}.
- Total size can be obtained from/backupTaskSessions. So, to know a total size for the whole session you'd need to sum each task session's value manualy on the client side.
- Duration is what you can also count on the client substracting backup session's start time from end time.
Unfortunately, there are no direct references from both sides, so the only way I see it is to correlate backup files with sessions by machine name and creation times.
Hope it helps,
Oleg
-
- Influencer
- Posts: 16
- Liked: 1 time
- Joined: Feb 13, 2022 11:02 am
- Full Name: Hal
- Contact:
Re: Backup Job Report API
Hi Oleg
Thanks for your reply and help. This is exactly what I'm after. I already checked, and I have been able to get the data I wanted based on the above.
Thanks
HY.
Thanks for your reply and help. This is exactly what I'm after. I already checked, and I have been able to get the data I wanted based on the above.
Thanks
HY.
Who is online
Users browsing this forum: No registered users and 6 guests