Skip to main content
Solved

Storage Policies, Subclients & Replication Queries


Forum|alt.badge.img+5

Thinking of renaming some policies and subclients to make them more readable.

Does this break anything? Jobs? Retention? Schedules?
Pretty sure Commvault tracks these by IDs, so it shouldn’t matter… right? But wanna make sure there’s no funky behavior hiding.

Also , what happens if you’ve got one subclient doing backups and another doing replication for the same VM? Could this mess up snapshots or indexes?
Like, is it gonna throw errors because two subclients are both taking snapshots of the same VM? Or maybe cause some weird restore behavior?

Appreciate your help overall!

 

 

 

Best answer by nicky

Ok, so I have had a detailed chat with TAC and reviewing some of their documentation, I wanted to provide further clarity around why issues crop up when we use multiple subclients for the same VM. 


Core Issue with Multiple Subclients for the Same VM

The real problem isn’t snapshots clashing or running at the same time — Commvault can handle that fine with staggering schedules. The actual issue is with how the backup chain gets tracked across subclients.


Here’s what happens behind the scenes:

  1. VMware CBT tracks changed blocks on a VM’s disk since the last snapshot.
  2. Commvault queries the CBT data during each backup job to identify what blocks need to be saved and writes that data to the index.
  3. The CommVault index tracks a continuous chain of backups (fulls and incrementals) for each VM.

 

 

Now, if you’re running two subclients (e.g., Subclient A and Subclient B) for the same VM, but with different storage policies and retention periods, things get messy.

Here’s what I confirmed with Commvault TAC:

  • Subclient A runs an incremental backup, and the change block details (CBD) are saved to the index.
  • Then Subclient B runs its backup, and Commvault treats the VM as a single entity, meaning the index gets updated again with the latest backup job from Subclient B.
  • If Subclient B has a shorter retention policy (say 2 days), and it deletes those incrementals, critical blocks that were part of the restore chain for Subclient A could be lost.

 

In simple terms:

Even if both subclients look like they’ve completed their jobs, the index won’t have a complete chain for restores. This can cause:

  • Restore failures because the backup chain is incomplete.
  • Test failover issues, like the one we experienced where the VM booted into BIOS instead of spinning up correctly.

Makes sense??

View original
Did this answer your question?

6 replies

Forum|alt.badge.img+11
  • Vaulter
  • 235 replies
  • January 9, 2025

Hi ​@nicky 

You may proceed to make changes to policy name and sub client's name and this will not impact running backup Jobs. 
Database will have unique ID created against client and policy. Hence the change will not impact.

Document for ref: https://documentation.commvault.com/2024e/expert/changing_name_of_storage_policy.html

 

Please refer to the document below for configuration details regarding VM replication and backup from two different subclients.

https://documentation.commvault.com/2024e/essential/getting_started_with_auto_recovery_of_virtual_machines.html


Forum|alt.badge.img+5
  • Author
  • Byte
  • 17 replies
  • January 9, 2025

Thanks for clarifying that ​@Pradeep 

Just on my second question — we currently have one subclient&StoragePolicy handling regular backups with extended retention and another subclient&StoragePolicy configured for replication with shorter retention (e.g., 30-minute incrementals retained for 2 days) - both for the same VM. The intention behind this setup is to avoid keeping frequent incrementals (configured for replication) for an extended period and consuming unnecessary storage space.

Given that this is a V2 indexing instance, where there’s only one backup reference to prevent duplicate backups, I’m wondering if having both subclients & storage Policy for the same vm — one for backups and one for replication could cause confusion with the index or potential data corruption?

I’ve come across older Commvault tickets that flagged similar issues during DR, where having the same VM in multiple subclients or backup and replication groups caused restore problems.. The recommendation from those cases was to configure one VM group and exclude that VM from other groups before enabling replication to avoid conflicts.

Would it be a safer approach to stick to a single subclient per VM with separate schedules and retention policies, instead of having multiple subclients, to prevent any snapshot/indexing conflicts or unexpected restore issues? Any suggestions please?



@Albert Williams  ​@Jos Meijer ​@Onno van den Berg ​@Dan White ​@Damian Andre  looping you all in for your valuable feedback, as I’ve come across your responses on replication useful in the community.


Forum|alt.badge.img+5
  • Author
  • Byte
  • 17 replies
  • January 9, 2025

Came across this, but I still want to double-check — there’s way too much conflicting info around this.

 


Forum|alt.badge.img+15

Hello ​@nicky 

We should stop you from trying to associate the same VM across multiple subclients/Replication groups. 
I am not 100% sure if the name change would mess with this at all. 

I recommend running a test scenario. Make a small VM, protect it and validate restores work. Change its name and replication group and then backup and restore again to validate nothing is corrupt or broken from this action. 

My understanding is that you should be in the clear but always best to be sure with these kinds of actions. Hard to know what Dev tested or didn't test sometimes. 

 

Kind regards

Albert Williams


Forum|alt.badge.img+5
  • Author
  • Byte
  • 17 replies
  • Answer
  • January 10, 2025

Ok, so I have had a detailed chat with TAC and reviewing some of their documentation, I wanted to provide further clarity around why issues crop up when we use multiple subclients for the same VM. 


Core Issue with Multiple Subclients for the Same VM

The real problem isn’t snapshots clashing or running at the same time — Commvault can handle that fine with staggering schedules. The actual issue is with how the backup chain gets tracked across subclients.


Here’s what happens behind the scenes:

  1. VMware CBT tracks changed blocks on a VM’s disk since the last snapshot.
  2. Commvault queries the CBT data during each backup job to identify what blocks need to be saved and writes that data to the index.
  3. The CommVault index tracks a continuous chain of backups (fulls and incrementals) for each VM.

 

 

Now, if you’re running two subclients (e.g., Subclient A and Subclient B) for the same VM, but with different storage policies and retention periods, things get messy.

Here’s what I confirmed with Commvault TAC:

  • Subclient A runs an incremental backup, and the change block details (CBD) are saved to the index.
  • Then Subclient B runs its backup, and Commvault treats the VM as a single entity, meaning the index gets updated again with the latest backup job from Subclient B.
  • If Subclient B has a shorter retention policy (say 2 days), and it deletes those incrementals, critical blocks that were part of the restore chain for Subclient A could be lost.

 

In simple terms:

Even if both subclients look like they’ve completed their jobs, the index won’t have a complete chain for restores. This can cause:

  • Restore failures because the backup chain is incomplete.
  • Test failover issues, like the one we experienced where the VM booted into BIOS instead of spinning up correctly.

Makes sense??


Forum|alt.badge.img+5
  • Author
  • Byte
  • 17 replies
  • January 10, 2025

Thanks for your feedback ​@Albert Williams 


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