Query rules for datacenter folders (host folder)
In NetBackup terminology, a host folder is a folder that has been defined within a VMware datacenter. A host folder can contain ESX servers or clusters, as well as other folders. For example:
Folder_1
ESX1
ESX2
subfolder_A
ESX3
ESX4
subfolder_B
ESX_5
ESX_6If you want NetBackup to select all the virtual machines within the top-level folder and any subfolders, use the Contains or StartsWith operator. For example:
HostFolder Contains "Folder_1"
Note:
If you want the query to include all virtual machines in the hierarchy of folders, do not use Equal as the Operator.
If you want NetBackup to select the virtual machines within a subfolder only (such as subfolder_A), use the Contains or Equal operator. For example:
HostFolder Equal "Folder_1/subfolder_A"
In this case, NetBackup includes only the virtual machines that reside on servers ESX3 and ESX4.
For host folders, these operators work the same as they do for resource pools. For further query builder examples, refer to the following topic (substitute host folder for resource pool in the examples):
See Query rules for resource pools.
Note:
If an ESX cluster is not contained within a folder and you click the browse button: The ESX cluster name appears in the List of possible values for Value dialog.