I am rather new to Netbackup. We have been successfully backing up VMs with query based jobs via Netbackup for about 2 months. I have a few VMs that are scheduled for decommissioning and we would like to make a final backup of them prior to removing them from vCenter / deleting from disk. Here is the query I have tried:
Displayname Contains "Decom_"
AND Powerstate Equal poweredOff
Testing this on the machine I would like to backup fails with "VM does not have a host name to use as a client name, display name = [Decom_MyLegacyServer], server = [vcenter.atmydomain.com]."
I have tried the following name based options: Displayname, VMDNSname and VMHostName. All are either Excluded or fail. It seems the problem is when the power state is off, the real hostname of the server is unavailable and Netbackup cannot or will not backup the VM. I would rather get the final backup for these machines scheduled to be decommissioned in a powered off state.
Any suggestions would be appreciated.
Solved! Go to Solution.