Host-based backup of Nutanix AHV VMs.
Post Reply
mikkeland
Novice
Posts: 6
Liked: 3 times
Joined: Nov 15, 2012 3:56 pm
Full Name: Mikkel Andreasen
Contact:

Report of VMs without backup

Post by mikkeland »

Hi,

We are fast approaching getting the Veeam/Nutanix solution moved to production - everything is working as expected, but I've been looking for a solution to list all VMs *without* a valid backup. Either because it's not included in a scheduled backup job or because the job failed.
Particularly those VMs that aren't part of a backup job (either specifically chosen or because of a missing catagory.

Looking in the Veeam console I see all the VMs in the inventory view, so I guess it should be possible to pull that info and combine it with a get-vbrsession to filter for VMs without a recent backup?

Sincerely
Mikkel
Kochkin
Veeam Software
Posts: 81
Liked: 36 times
Joined: Sep 18, 2014 10:10 am
Full Name: Nikolai Kochkin
Contact:

Re: Report of VMs without backup

Post by Kochkin »

Sure.

You can get VMs from a cluster or PC as $VMs
https://helpcenter.veeam.com/references ... als_GetVms
https://helpcenter.veeam.com/references ... ers_GetVms


After that get list of "protected VMs" (VMs which have restore points, but not necessarily exist on hypervisor) as $ProttectedVMs
https://helpcenter.veeam.com/references ... alMachines

Filter those which have #backups > 0 - save as $vmsWithABackup

And, finally, remove $vmsWithABackup from $VMs

The remaining list of VMs should represent "VMs without backup"
jorgedlcruz
Veeam Software
Posts: 1552
Liked: 670 times
Joined: Jul 17, 2015 6:54 pm
Full Name: Jorge de la Cruz
Contact:

Re: Report of VMs without backup

Post by jorgedlcruz » 1 person likes this post

Hello Mikkel,
Have you gave Veeam ONE a try? We have an specific report that does exactly this:
* https://helpcenter.veeam.com/docs/one/r ... ml?ver=120

Also we have APIs to retrieve this information within Veeam ONE, plus a few other reports like Workload Protection History for Audit and Compliance in the long term, historical reports.

Please let us know
Jorge de la Cruz
Senior Product Manager | Veeam ONE @ Veeam Software

@jorgedlcruz
https://www.jorgedelacruz.es / https://jorgedelacruz.uk
vExpert 2014-2025 / InfluxAce / Grafana Champion
mikkeland
Novice
Posts: 6
Liked: 3 times
Joined: Nov 15, 2012 3:56 pm
Full Name: Mikkel Andreasen
Contact:

Re: Report of VMs without backup

Post by mikkeland »

Hi,
I appreciate the snap responses, but I've not had time to look into it yet.

Pretty sure the end customer doesn't have a Veeam One subscription. Unfortunately.
/mikkel
vmtech123
Veeam Legend
Posts: 265
Liked: 141 times
Joined: Mar 28, 2019 2:01 pm
Full Name: SP
Contact:

Re: Report of VMs without backup

Post by vmtech123 »

VeeamONE is fantastic for generating reports like this, if you want to do it yourself PowerShell is always an option.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests