Adding a Datastore for a Subclient (VMware command line)

You can use the command line to add a datastore for 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 DATASTORE -vmContentOperationType ADD


The following example adds datastore DStore01 to subclient1, under client1, instance VMware, and backupset1.

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

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