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