RESTful knowledge exchange
Post Reply
frankive
Service Provider
Posts: 884
Liked: 104 times
Joined: May 14, 2013 8:35 pm
Full Name: Frank Iversen
Location: Norway
Contact:

backup status

Post by frankive » Feb 17, 2016 11:54 am

Hi.
Is it possible to get the backup job status out from restul api instead of using veeam one?
We are just using veeam one trial for seeing the backup job status as widget, but it is some overkill to buy veeam one just for the backup status reporting

poulpreben
Service Provider
Posts: 957
Liked: 404 times
Joined: Jul 23, 2012 8:16 am
Full Name: Preben Berg
Contact:

Re: backup status

Post by poulpreben » Feb 17, 2016 12:50 pm

Hi Frank. You can maybe use /vmRestorePoints and check if the restore point is older than your desired RPO, and use that as an indication? Otherwise, you are obviously free to begin parsing the job session logs.

- Preben

veremin
Product Manager
Posts: 16666
Liked: 1390 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: backup status

Post by veremin » Feb 17, 2016 1:07 pm

What if you get Job ID and then query backupSessions to find our the latest one. Once it's found, you can check both its State and Result. Isn't that what you're looking for? Thanks.

poulpreben
Service Provider
Posts: 957
Liked: 404 times
Joined: Jul 23, 2012 8:16 am
Full Name: Preben Berg
Contact:

Re: backup status

Post by poulpreben » Feb 17, 2016 1:18 pm

Just make sure you check if the recent job session is a retry, and if true create a loop that iterates through all the retries and the failed session for the full overview :-)

frankive
Service Provider
Posts: 884
Liked: 104 times
Joined: May 14, 2013 8:35 pm
Full Name: Frank Iversen
Location: Norway
Contact:

Re: backup status

Post by frankive » Feb 18, 2016 8:35 am

I think we'll stich to Veeam One and the widget... :)

Looking forward to the veeam management portal so we can check all our customers status with a singel pane of glass hopefully.

Perhaps I should create a turnkey wordpress which supports this widgets too

veremin
Product Manager
Posts: 16666
Liked: 1390 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: backup status

Post by veremin » Feb 18, 2016 9:49 am 1 person likes this post

I think we'll stich to Veeam One and the widget... :)
You know how to make Vitaliy happy. :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest