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: 1982
Liked: 656 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: 1982
Liked: 656 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
Erwin Linker
Service Provider
Posts: 91
Liked: 9 times
Joined: Mar 30, 2016 12:58 pm
Full Name: Erwin Linker
Location: The Netherlands
Contact:

Re: Getting backup size via VBR API v11

Post by Erwin Linker »

Hi,

Can somebody tell me if it is possible to read the back-up size trough, VBR REST 1.1-rev1 ?

Regards,
Erwin
oleg.feoktistov
Veeam Software
Posts: 1982
Liked: 656 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 Erwin,

No it's not. But noted as an enhancement request.

Thanks,
Oleg
Erwin Linker
Service Provider
Posts: 91
Liked: 9 times
Joined: Mar 30, 2016 12:58 pm
Full Name: Erwin Linker
Location: The Netherlands
Contact:

Re: Getting backup size via VBR API v11

Post by Erwin Linker »

Hi Oleg,

There is almost a year passed, when will it be added? We want to migratie the API from VEM to VBR.

Regards,
Erwin
oleg.feoktistov
Veeam Software
Posts: 1982
Liked: 656 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 »

Can't give you any precise ETA. Possibly this year. Thanks!
Erwin Linker
Service Provider
Posts: 91
Liked: 9 times
Joined: Mar 30, 2016 12:58 pm
Full Name: Erwin Linker
Location: The Netherlands
Contact:

Re: Getting backup size via VBR API v11

Post by Erwin Linker »

Last question :-).

The idea is that the VBR API will replace the VEM API?
Thats the reason why we are exploring the VBR API. And that we can restore a VM to a specific datastore with the VBR API.

Is there a roadmap for the development of the VBR API, so that we can plan resources for the development when it is ready.
oleg.feoktistov
Veeam Software
Posts: 1982
Liked: 656 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 »

The idea is that the VBR API will replace the VEM API?
Correct, that is the goal.
Is there a roadmap for the development of the VBR API
There isn't a public one, no. But if you are interested in a specific feature/set of features that would easen transition from EM REST to VBR REST for you, please ask here/let me know. Reporting on backup sizes in particular is planned for one of the vNext releases (this year).

Best regards,
Oleg
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests