Description
run the following command from Base using qlogin
qoperation execscript -sn QS_modifySubclientAssociationsForCopy -si "e=enable|e=disable" -si "sp=storage policy namename" -si "c=copyname" [-si "cl=clientname"] [-si "a=AgentName"] [-si "i=instanceName"] [-si "b=backupsetName"] [-si "s=subClientName"]
example - qoperation execscript -sn QS_modifySubclientAssociationsForCopy -si "e=enable" -si "sp=sp1" -si "c=seccopy" -si "cl=client1" -si "s=subclient1"
the entity hierarchy must be maintained client->agent->instance->backupset->subclient
the following in put is invalid as backupset appearing before client
-si "e=enable" -si "sp=sp1" -si "c=seccopy" -si "b=backupset1" -si "cl=client1"
Usage
qoperation execscript -sn QS_modifySubclientAssociationsForCopy -si 'e=enable|e=disable' -si 'sp=storage policy name' -si 'c=copy name' [-si 'cl=clientName'] [-si 'a=Agent'] [-si 'i=instanceName'] [-si 'b=backupsetName'] [-si 's=subClientName']
Enable or disable subclient association with seconday copy of a storage policy
Enable or disable , storage policy name , copyname -- these are mandatory options and these options must be in the same order specified above.
Client name must appear after copy name
After client name ,agent, instance, backupset all are optional parameters but should not specify the Child entity before parent entity . The following are some of valid combinations
enable|disable storage policy name, copy name, client name
enable|disable storage policy name, copy name, client name, agent
enable|disable storage policy name, copy name, client name, instance
enable|disable storage policy name, copy name, client name, backupset
enable|disable storage policy name, copy name, client name, subclient
enable|disable storage policy name, copy name, client name, agent, backupset
The entity hierarchy must be maintained client->agent->instance->backupset->subclient
For example the following combination is invalid
enable|disable storage policy name, copy name, client name , agent ,backupset ,instance , subclient
as backupset should not be given before instance .
For help use the following command
qoperation execscript -sn QS_modifySubclientAssociationsForCopy -help
Details
- Scope: All
- Platform: (Database: CommServ)
- Release: 11.0.0
Disclaimer of Warranties
CommVault provides software tools and utilities on an "as is" basis, as a courtesy and convenience to its users, and they may be changed from time to time without notice. These tools and utilities are provided without express, implied, or statutory warranties of any kind. You assume full risk and responsibility for the selection, possession, performance and proper installation and use of the software tools and utilities, and for verifying the results obtained there from. Your use of CommVault software tools and utilities indicates your unconditional acceptance of the above disclaimer.