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

backup status

Post by frankive »

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
Certified Trainer
Posts: 1024
Liked: 448 times
Joined: Jul 23, 2012 8:16 am
Full Name: Preben Berg
Contact:

Re: backup status

Post by poulpreben »

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: 20271
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: backup status

Post by veremin »

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
Certified Trainer
Posts: 1024
Liked: 448 times
Joined: Jul 23, 2012 8:16 am
Full Name: Preben Berg
Contact:

Re: backup status

Post by poulpreben »

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: 1092
Liked: 134 times
Joined: May 14, 2013 8:35 pm
Full Name: Frank Iversen
Location: Norway
Contact:

Re: backup status

Post by frankive »

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: 20271
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: backup status

Post by veremin » 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 3 guests