Solved

Is it possible to move a subclient to a different backup set from the same client?

  • 11 March 2021
  • 5 replies
  • 956 views

Badge +4

I have about 100 subclients in a backup set that I would need to move and I rather not have recreate them with their distinct settings.

As per the screenshot, I have 2 backup set under VMware and I would like to move some subclients from defaultbackupset to t320 servers.

Is that possible?

icon

Best answer by dude 11 March 2021, 18:31

View original

5 replies

Userlevel 1
Badge +3

The short answer is no.

 

Userlevel 7
Badge +23

Hi @MartinD, there is an option that might interest you.

While you can’t ‘move’ backup jobs contained under a subclient to another, you can clone all the configuration using this workflow:

https://cloud.commvault.com/webconsole/softwarestore/#!/136/671/11518

 

That may make it easier to migrate the 100 subclients but it wont move the jobs. If that is acceptible then this could be an option.

Badge +15

 

@MartinD following kind of the same thoughts shared before by @Damian Andre , you could clone and create the subclient using command line.

You would have to edit the entities within the XML. Review below.

Cloning a Subclient Using the Command Line Interface (supported File System and VSA)

https://documentation.commvault.com/commvault/v11_sp20/article?p=106064.htm

Badge +4

Thanks @Damian Andre and @dude I’ll review your options! 

Badge +1

Can you use “clone_subclient_template.xml” to clone to a different backupSet on the same client/agent? In the parent element “subClientProperties/subClientEntity” there is only a subclientName component.

 

UPDATE:

It cannot create a subclient in a different backupset, only in the same backupset.
Also the content isn’t cloned (eg. virtual machines)

Tried updating the XML like this and passing the arguments:


Command used:
qoperation execute -af .\clone_subclient_template.xml -cloneEntity/clientName "client1" -cloneEntity/appName "Virtual Server" -cloneEntity/instanceName "instance1" -cloneEntity/backupsetName "backupset1" -cloneEntity/subclientName "subclient1" -subClientProperties/subClientEntity/clientName "client1" -subClientProperties/subClientEntity/appName "Virtual Server" -subClientProperties/subClientEntity/instanceName "instance1" -subClientProperties/subClientEntity/backupsetName "backupset2" -subClientProperties/subClientEntity/subclientName "subclient2"
 

Reply