Deleting a Virtual Machine from a Subclient (VMware command line)

You can use the command line to delete a VM from a subclient under a specified virtualization client, VMware instance, and backup set.

  1. Download the update_subclient_vm_template.xml file and save it on the computer where the command will be executed.
  2. Log in to the CommServe host using the qlogin command.
  3. Execute the following command from the software_installation_directory/Base folder after substituting the parameter values.

    qoperation execute -af update_subclient_vm_template.xml -appName 'Virtual Server' -clientName xxxxx -instanceName xxxxx -backupsetName xxxxx -subclientName xxxxx -vmContent/children/displayName xxxxx -vmContent/children/type VMName -vmContentOperationType DELETE

    For example, delete VM01 virtual machine from subclient subclient1, under client client1, instance VMware, and backup set backupset1.

    qoperation execute -af update_subclient_vm_template.xml -appName 'Virtual Server' -clientName client1 -instanceName VMware -backupsetName backupset1 -subclientName subclient1 -vmContent/children/displayName VM01 -vmContent/children/type VMName -vmContentOperationType DELETE

Last modified: 3/13/2019 8:16:52 PM