Skip to main content
Question

deleting defautl subclient policy


Forum|alt.badge.img+2

I have created a new subclient policy but instead of using this default subclient i created a new sublclient to take backup of only selected extensions and assigned to all 100 laptops.

now when i created a schedule policy and assigned schedule policy to a laptop client group .

the backup us being run for the default subclient as well as the new one which i created.

i have disbabled default subclient from policy by “activity control” but still the schedule policy executes job for both and its causing lot of failures in my job and confusion during restore.

raised case with support ( 250331-339) but they are not able to do anything from last 10 days.

 

5 replies

Forum|alt.badge.img+2

can we change new subclient as defautl subclient in policy?

i know this can be done individually by a qscript but hwo to do it in policy?

 


Forum|alt.badge.img+2

no body has suggestion ?


sbhatia
Vaulter
Forum|alt.badge.img+6
  • Vaulter
  • 46 replies
  • April 22, 2025

Hey Yogesh,

Sorry for the delay in getting back to you on this.

So, I understand you're trying to delete the default subclient from the subclient policy — from what I see, that’s not something we can directly do. I did check with the engineer handling your case, and looks like it’s already with our development team, so let’s wait for their input on this as well.

In the meantime, I came across this doc which might give some useful insights:
https://documentation.commvault.com/2022e/expert/subclient_policy_advanced_topics.html
 

 

Now, regarding your point — even after disabling the default subclient using activity control, the schedule is still kicking off jobs for both subclients and causing confusion/failures.

From what I can tell, since the schedule is applied at the group level, it’s picking up all subclients (default + user-defined). Instead, you could try applying the schedule directly at the subclient level — yeah, it might take some manual work, but should help avoid failures while the dev team works on a cleaner solution.


Forum|alt.badge.img+2

Hi Sbhatia,

Now, we have removed deleted the existing sub-Client policy and created new one then modified its default policy to use contents as per requirements.

but the new problem is that now we have two subclients in each agent, one is default one from older policy and new one which we created.

I know we can use qscript to individually promote this new subclient as default one, but can i use this q script command to be executed for all my 100 agents in one go?

can you help with this.

 

I am asking it here because, we as CommVault partner are facing too many challenges with quality of support from Commvault these days. specially by L1 team.

Support guys try to misguide each time, like in this case they misguided customer by saying your version is out of support while it was LTS release with support until 2026.

 

 


sbhatia
Vaulter
Forum|alt.badge.img+6
  • Vaulter
  • 46 replies
  • April 23, 2025

Hello Yogesh, 

I am aware that we can definitely promote a user-defined subclient to default subclient but you will need a script (changedefaultsubclient.sqle) for which you need to request Commvault Support. That script then can be used to execute for all the 100 agents in one go for sure, make sure you provide this statement in the case. Once that is done, you can also delete the older subclient keeping things clean. 

 

And in order to run the script for all 100 clients at one shot, i am sure support will help you with that and they can curate an xml file , test it on staging and provide you the script to run on production. 

Alternatively, you can consider using a wrapper script (e.g., in PowerShell or Bash) that reads from a CSV/XML/JSON input file containing your 100 client details and loops through them, calling qscript for each.

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings