REST API knowledge exchange
Post Reply
UnknownAX
Service Provider
Posts: 3
Liked: 1 time
Joined: Jan 29, 2025 9:19 am
Full Name: Tom Hutchins
Contact:

Nutanix AHV 9 Rest API - Protected VMs

Post by UnknownAX »

Hi,

We were using the Nutanix AHV Appliance before which I believe was running version 7 of the API, we used this quite heavily for job session data, restore points (protected vms) etc. However, a recent upgrade to VBR v13 has removed the AHV appliance and we're now having to use the plugin - 'Veeam Plug-in for Nutanix AHV' which is running v9 of the REST API.

Unfortunately in v8's change log it seems that the protectedVms was removed. This feature was quite handy for us to pull all of the restore points.

However in v9 of the REST API, it seems that there is no way to carry out a similar style of API request to pull the restore points for the Nutanix AHV VMs. Click here to see v9's documentation.

I've also tried looking into the powershell scripts available to the VBR server and using Get-VBRRestorePoint, however, this only seems to show 'Backup copy' jobs, and not those listed as 'Nutanix AHV Backups'. If I do try and run the command above on the Nutanix AHV job I receive this error.

Code: Select all

Get-VBRRestorePoint: Cannot get restore points from backup Backup 4 Weeks - DE, because it is encrypted or created by an enterprise application plug-in.
So, I'm just wondering, now that the protectedVms endpoint has been deprecated is there another way I can retrieve information on the Nutanix AHV VM restore points?

Thanks,
Tom
ronnmartin61
Veeam Software
Posts: 664
Liked: 252 times
Joined: Mar 07, 2016 3:55 pm
Full Name: Ronn Martin
Contact:

Re: Nutanix AHV 9 Rest API - Protected VMs

Post by ronnmartin61 »

@UnknownAX yes unfortunately we had to make some RestAPI functionality sacrifices to accomplish other more pressing goals however we do plan to reinstate the capabilities temporarily lost as soon as possible. In the interim our engineering team is suggesting this Powershell for retrieving AHV plug-in restore points by job name -

Code: Select all

$Backup = Get-VBRBackup -Name "My AHV Backup Job"
$Backup.GetAllChildBackupsIncludingThis() | Where-Object { $_.IsChildBackup } | Get-VBRRestorePoint
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest