You can use the command line to delete a VM from a subclient under a specified virtualization client, VMware instance, and backup set.
-
Download the update_subclient_vm_template.xml file and save it on the computer where the command will be executed.
-
Log in to the CommServe host using the qlogin command.
-
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