Skip to main content
Solved

Last good job of subclient via REST API

  • October 28, 2021
  • 2 replies
  • 426 views

Juergen
Byte
Forum|alt.badge.img+8

Hello,

I need for a automation project get the last successful backup job of a subclient. I found last job of a client, but when we have SQL server with some instances the list of jobs are very long and exceed the limit  10000 as the list is not from newest to oldest, so I need all jobs to find the last JOB number.

 

Any ID how I can get simply the last jobid of subclient?

we have commcell with 11.20.55 running

 

thanks for any help.

regards Juergen

Best answer by MFasulo

@Juergen   I would use the subclient backup coverage report… add the necessary filters and columns, and then (with command center of course) hit the gear and dump the report as the REST API.  

 

In the below screenshot you can see I filter it down to just SQL backups and I can pull the full or nf job ID based on the job status (like completed)

 

 

View original
Did this answer your question?

2 replies

Mike Struening
Vaulter
Forum|alt.badge.img+23

Hey @Juergen , thanks for the question!

I’m asking an internal resource for advice.  He or I will respond once we have an answer.


MFasulo
Vaulter
Forum|alt.badge.img+12
  • Vaulter
  • 175 replies
  • Answer
  • October 29, 2021

@Juergen   I would use the subclient backup coverage report… add the necessary filters and columns, and then (with command center of course) hit the gear and dump the report as the REST API.  

 

In the below screenshot you can see I filter it down to just SQL backups and I can pull the full or nf job ID based on the job status (like completed)

 

 


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