Loading...

Creating a Subclient

You can use the command line to create a subclient under a specified virtualization client, Nutanix AHV instance, and backup set.

Before You Begin

Download the create_subclient_template.xml file and save it on the computer where the command will be executed.

Procedure

  1. Log in to the CommServe host using the qlogin command.
  2. Execute the following command from the software_installation_directory/Base folder after substituting the parameter values.

    qoperation execute -af create_subclient_template.xml -appName 'Virtual Server' -clientName xxxxx -instanceName Nutanix AHV -backupsetName xxxxx -subclientName xxxxx -vmContent/children/displayName xxxxx -vmContent/children/type xxxxx -storagePolicyName xxxxx

Examples

Subclient for a VM

The following command creates subclient1 under the client named ahv_client, assigns the VM named VM01 as the subclient content, and associates the storage policy storage01:

qoperation execute -af create_subclient_template.xml -appName 'Virtual Server' -clientName ahv_client -instanceName Nutanix AHV -backupsetName defaultbackupset -subclientName subclient1 -vmContent/children/displayName VM01 -vmContent/children/type VMName -storagePolicyName storage01

Subclient for a Protection Domain

The following command creates subclient2 under the client named ahv_client, assigns the protection domain named PD01 as the subclient content, and associates the storage policy storage02:

qoperation execute -af create_subclient_template.xml -appName 'Virtual Server' -clientName ahv_client -instanceName Nutanix AHV -backupsetName defaultbackupset -subclientName subclient2 -vmContent/children/displayName PD01 -vmContent/children/type "ProtectionDomain" -storagePolicyName storage02

Available Parameters

The following table describes the XML parameters used in the above command:

Parameter

Description of Parameter Values

appName

Name of the application (Virtual Server).

clientName

Display name for the Acropolis client.

instanceName

Name of the Nutanix instance (defaults to Nutanix AHV).

backupsetName

Name of the backup set.

subclientName

Name of the subclient to be created.

vmContent/children/displayName

Display name of the entity to be protected.

vmContent/children/type

Type of content to be added to the subclient.

storagePolicyName

dName of the storage policy for the subclient.

Last modified: 1/17/2019 9:16:09 PM