Skip to main content
Answer

Change retention for a specific JobID using REST API or Qscripts

  • February 23, 2022
  • 2 replies
  • 166 views

Forum|alt.badge.img+7

Hello,

We need to change retention for multiple jobs. adding number of days to the existing retention.

Is there anyway to change retention for a sepecific JobID using REST API or Qscripts ?

Didn’t find anything in CV documentation.

 

Thanks

Best answer by Hyder

This does it via qoperation 

https://documentation.commvault.com/11.24/expert/11409_qoperation_jobretention.html

If you have a question or comment, please create a topic

2 replies

Hyder
Vaulter
Forum|alt.badge.img+8
  • Vaulter
  • Answer
  • February 23, 2022

Forum|alt.badge.img+7
  • Author
  • Novice
  • February 23, 2022

Thanks Hyder.

Will check it.

I’m looking for a way to add n number of days to the existing retention. not change it by date.