01-12-2022 08:35 AM
Is there an attribute for the manual-backup API equivalent to the -w switch for the bpbackup command ?
Thanks
Steve
01-14-2022 08:39 AM
Good question and I'd like to know that as well.
01-14-2022 05:47 PM
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
04-13-2022 06:36 AM
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