Defining Filters for a Subclient from Command Line Interface (Microsoft Hyper-V)

Use XML to define filters to a subclient. Run the operation from the command line, or automate configuration by combining command line operations in a script.

You can include the XML parameters in the xml file, or you can specify them on the command line when they frequently change. For more information on command line parameters and XML elements, see Command Line - Syntax.

Before You Begin

Log on to the CommServe host using qlogin command. For instructions, see Qlogin.

For information on supported XML parameters, see Available XML Parameters for Subclient Configuration.


  1. Download the update_subclient_filters_template.xml file to the computer where you will run the command.
  2. To exclude a virtual machine (for example, VM02) from the subclient content, on the command line, go to the software_installation_directory/Base folder, and type the command (including values for the client, instance, backup set, and subclient names):

    qoperation execute -af download_location\update_subclient_filters_template.xml -appName 'Virtual Server' -clientName xxxxx -instanceName xxxxx -backupsetName xxxxx -subclientName xxxxx -vmFilter/children/displayName VM02 -vmFilter/children/type VMName -vmFilterOperationType ADD


Filter Multiple Virtual Machines

Filter Virtual Machines Based on Power On Status

Filter Virtual Machines Based on Notes

Last modified: 1/18/2019 10:22:55 PM