Skip to main content
Solved

Creating a Subclient using command line

  • September 4, 2022
  • 7 replies
  • 732 views

Forum|alt.badge.img+8

Hello, 

 

I’m trying to create a subclient using command line below but im stuck with the idataagent name which says subclient: Error 0x303: Unsupported iDataAgent Type VirtualServerAgent which i try to type : 

“Virtual Server”

Virtual_Server

VirtualServerAgent 

VSA

qcreate subclient -c client -a dataagenttype -b backupset -i instance -n subclient -sp storagepolicy -f content1 

 

 

Best answer by Graham Swift

Hello @Muhammad Abdullah, Whilst qoperation mentioned above will work, the agent syntax is documented in various sections and link to the following page. So you want to use:

Q_VIRTUAL_SERVER

See here for more details on the agent types to use in these commands.

https://documentation.commvault.com/2022e/expert/45467_command_line_faq.html#b45468_what_are_argument_values_used_for_agent

 

Example below working as you may need:

 

 

Just check if the content works as in my lab I had to specify a valid VM but nothing is added to the content. 

 

7 replies

Jos Meijer
Community All Star
Forum|alt.badge.img+16
  • Community All Star
  • September 4, 2022

Hi @Muhammad Abdullah 

I would normally use the following method (assuming this is for VMWare):

https://documentation.commvault.com/2022e/expert/32414_creating_subclient_vmware_command_line.html

But deriving from this command could it be that you need to use a single quote for ‘Virtual Server’ ?
Not sure if this agent is supported with qcreate though.


chrisknows
Novice
Forum|alt.badge.img+9
  • Novice
  • September 4, 2022

@Jos Meijer is correct, you should use qoperation execute in conjunction with the xml file.


Graham Swift
Vaulter
Forum|alt.badge.img+10
  • Vaulter
  • Answer
  • September 4, 2022

Hello @Muhammad Abdullah, Whilst qoperation mentioned above will work, the agent syntax is documented in various sections and link to the following page. So you want to use:

Q_VIRTUAL_SERVER

See here for more details on the agent types to use in these commands.

https://documentation.commvault.com/2022e/expert/45467_command_line_faq.html#b45468_what_are_argument_values_used_for_agent

 

Example below working as you may need:

 

 

Just check if the content works as in my lab I had to specify a valid VM but nothing is added to the content. 

 


Onno van den Berg
Community All Star
Forum|alt.badge.img+22

Funny to see Q_, which originates from the time in where the product was called QiNetix and the company name was written as CommVault, is still seen so much throughout the product. 


Graham Swift
Vaulter
Forum|alt.badge.img+10
  • Vaulter
  • September 5, 2022

Showing your age there Onno :) don’t miss the Galaxy part as well, still seen in many places ;)

 

and for posterity, we still have a page with it all spelled out: https://ir.commvault.com/news-releases/news-release-details/commvault-launches-next-generation-qinetix-software-address


Forum|alt.badge.img+8

Hi @Muhammad Abdullah 

I would normally use the following method (assuming this is for VMWare):

https://documentation.commvault.com/2022e/expert/32414_creating_subclient_vmware_command_line.html

But deriving from this command could it be that you need to use a single quote for ‘Virtual Server’ ?
Not sure if this agent is supported with qcreate though.

i have tried the xml file and it worked thanks =) 


Forum|alt.badge.img+8

Hello @Muhammad Abdullah, Whilst qoperation mentioned above will work, the agent syntax is documented in various sections and link to the following page. So you want to use:

Q_VIRTUAL_SERVER

See here for more details on the agent types to use in these commands.

https://documentation.commvault.com/2022e/expert/45467_command_line_faq.html#b45468_what_are_argument_values_used_for_agent

 

Example below working as you may need:

 

 

Just check if the content works as in my lab I had to specify a valid VM but nothing is added to the content. 

 

Thank you @Graham Swift  

this is what i was looking for =)