cancel
Showing results for 
Search instead for 
Did you mean: 

manual-backup API

Steve262
Level 3

Is there an attribute for the manual-backup API equivalent to the -w switch for the bpbackup command ?

 

Thanks

 

 

Steve

3 REPLIES 3

sawdustar
Level 2

Good question and I'd like to know that as well. 

davidmoline
Level 6
Employee

HI @Steve262 

Firstly, what is the use case for wanting to do this - in my mind it doesn't makes sense for how one should be using API calls. 

I would think a better way would be to run the /admin/manual-backup API, and then use the jobID returned to further query the system using the /admin/jobs/{jobID} API call. 

Cheers
David

 

Hi David,

finally got round to looking at API's again, what we are trying to achieve is to run a backup via a 3rd party scheduler and at the moment the -w means that the the job in the scheduler does not complete until the job in netbackup has completed.

Is the only way to add checking for the status return codes from /admin/jobs{jobId} in to the script ?

Thanks

 

Steve