RESTful knowledge exchange
Post Reply
claygod
Novice
Posts: 5
Liked: never
Joined: Jun 20, 2022 12:41 pm
Full Name: Eduard
Contact:

Getting backup size via VBR API v11

Post by claygod »

Hello!

Through the application, you can get information about the Backup Size of restore points
(https://helpcenter.veeam.com/archive/ba ... rties.html)

Tell me, is it possible to get such information through the VBR API version 11.0?
(https://helpcenter.veeam.com/archive/ba ... -rest.html)
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Getting backup size via VBR API v11

Post by oleg.feoktistov »

Hi,

Not possible with VBR REST in v11 as we haven't exposed backup files there yet.
But I noted your question as a feature request.

Best regards,
Oleg
claygod
Novice
Posts: 5
Liked: never
Joined: Jun 20, 2022 12:41 pm
Full Name: Eduard
Contact:

Re: Getting backup size via VBR API v11

Post by claygod »

Oleg, thanks for the quick response!

Let me clarify: is this also impossible through the VBEM API (when it interacts with vSphere)?
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Getting backup size via VBR API v11

Post by oleg.feoktistov » 1 person likes this post

Hi Eduard,

In EM REST API it's possible:

1. Obtain a backup with GET /backups/{ID}.
2. Query its backup files using the link of BackupFileReferenceList type.
3. Get backup files specs in a list using Entity formatting. Example:
https://localhost:9398/api/backups/{id} ... mat=Entity
4. Count the sum of BackupSize values for each backup file.

For a list of available properties for backup files check this article.

Best regards,
Oleg
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests