Solved

DependsOn field for Backup Task RESTAPI

  • 16 November 2021
  • 4 replies
  • 58 views

Userlevel 2
Badge +4

Hello 

 

With Indexing v1 VSA clients, we cannot run multiple backup jobs on the same VMGroup. Is there a way that we can submit multiple backup jobs at the same time and each starts as soon as the other finishes. Maybe through RESTAPI? I tried looking at the BackupTask template but there is no field where we can specify DependsOn kind of field. Once one of the backup job is submitted the subsequent submissions can have this field and get triggered as soon as first job finishes. Is there any other way we can achieve this? 

 

Thanks

icon

Best answer by Amey Karandikar 17 November 2021, 00:03

View original

4 replies

Userlevel 7
Badge +23

@Abdul Wajid , have you considered using a Workflow?

You can set conditions so that jobs are only started when the prior operation completes.

https://documentation.commvault.com/11.25/expert/49727_adding_oncomplete_script.html

Userlevel 7
Badge +23

There is actually a feature in the product that does exactly this - and by that I mean controls the number of jobs allowed to run concurrently for a particular client. They are queued in the background always waiting for a free slot based on your defined limits. Since you mentioned VSA, this is usually very helpful with Hyper-V, especially 2012 and earlier which has issues with multiple backups on the same CSVs sometimes.

https://documentation.commvault.com/11.24/expert/6822_enabling_job_throttling_for_clients.html

 

Userlevel 3
Badge +6

You can also use the “Queue jobs if other conflicting jobs are active” option. but this applies to all clients.

 

Queuing Jobs (commvault.com)

 

Userlevel 3
Badge +6

the same queueing option is available at job level also from commcell console advanced backup options, startup tab. you can do save as script from here and get the exact option.

Reply