REST API knowledge exchange
Post Reply
HalYaman
Influencer
Posts: 16
Liked: 1 time
Joined: Feb 13, 2022 11:02 am
Full Name: Hal
Contact:

Restore Point - Retention info

Post by HalYaman »

Hi,

Is there any way to get the restore point (backup file) retention information? such if it is Weekly, Monthly using the API's? (EM or VBR)

For example:
S:\Backups\Test_Job\OpSrv.vm-9016D2022-03-05T221111_3E86.vbk WM

Thanks
HY.
chris.arceneaux
VeeaMVP
Posts: 695
Liked: 374 times
Joined: Jun 24, 2019 1:39 pm
Full Name: Chris Arceneaux
Location: Georgia, USA
Contact:

Re: Restore Point - Retention info

Post by chris.arceneaux »

Hi Hal,

No way to pull this info currently using either API. It can be retrieved, however, using PowerShell though:

Code: Select all

$backup = Get-VBRBackup -Name "active_directory"
$storages = $backup.GetAllStorages()
$storages | Where-Object {$_.GfsPeriod -ne "none"} | Select FilePath, GfsPeriod
Image
HalYaman
Influencer
Posts: 16
Liked: 1 time
Joined: Feb 13, 2022 11:02 am
Full Name: Hal
Contact:

Re: Restore Point - Retention info

Post by HalYaman »

Hi @Chris,

Thanks for your reply, mmm, I was hoping to retrieve this info using API as the portal I'm building is based on a WebApp, PowerShell is not going to be supported without installing an agent on the VBR server (which I'm trying to avoid at this stage).

Hy.
chris.arceneaux
VeeaMVP
Posts: 695
Liked: 374 times
Joined: Jun 24, 2019 1:39 pm
Full Name: Chris Arceneaux
Location: Georgia, USA
Contact:

Re: Restore Point - Retention info

Post by chris.arceneaux »

No problem. Only RESTful API currently with this information is the Veeam Service Provider Console. It's accessible for free for Veeam Cloud & Service Providers and Enterprise orgs that meet the qualifications and it contains a plethora of information available via RESTful API.

For more information, click on the link above or reach out to your local Veeam sales contact.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests