Skip to main content
Solved

Timeout for PreBackup or PostBackup process

  • March 24, 2023
  • 2 replies
  • 347 views

Forum|alt.badge.img+4

Hello,

I’m looking for a way to set a timeout for PreBackup and PostBackup process.

My expectation was a default timeout of 600 seconds. Therefore I created a batch script which has a wait of 700 seconds included. Commvault was patiently waiting for the script to finish, but I would like to have a timeout after which Commvault fails the job.

Does anybody know a way to set such a timeout? I could not find any hint on this and also no additional setting.

Best answer by Scott Reynolds

Hello @Marc St. 

I do not think there is a timeout setting that can be entered within Commvault. However if you can modify the script to return a non-zero error after 600 seconds or whatever time and use the following additional setting it will force the job to fail.

https://documentation.commvault.com/additionalsetting/details?name=JMFailJobOnScriptFailure

2 replies

Forum|alt.badge.img+14

Hello @Marc St. 

I do not think there is a timeout setting that can be entered within Commvault. However if you can modify the script to return a non-zero error after 600 seconds or whatever time and use the following additional setting it will force the job to fail.

https://documentation.commvault.com/additionalsetting/details?name=JMFailJobOnScriptFailure


Forum|alt.badge.img+4
  • Author
  • Novice
  • March 28, 2023

Hello @Marc St. 

I do not think there is a timeout setting that can be entered within Commvault. However if you can modify the script to return a non-zero error after 600 seconds or whatever time and use the following additional setting it will force the job to fail.

https://documentation.commvault.com/additionalsetting/details?name=JMFailJobOnScriptFailure

Thank you Scott.