backup status

RESTful knowledge exchange

backup status

Veeam Logoby frankive » Wed 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
frankive
Service Provider
 
Posts: 718
Liked: 86 times
Joined: Tue May 14, 2013 8:35 pm
Location: Norway
Full Name: Frank Iversen

Re: backup status

Veeam Logoby poulpreben » Wed 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
poulpreben
Expert
 
Posts: 935
Liked: 398 times
Joined: Mon Jul 23, 2012 8:16 am
Full Name: Preben Berg

Re: backup status

Veeam Logoby v.Eremin » Wed 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.
v.Eremin
Veeam Software
 
Posts: 13255
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: backup status

Veeam Logoby poulpreben » Wed 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 :-)
poulpreben
Expert
 
Posts: 935
Liked: 398 times
Joined: Mon Jul 23, 2012 8:16 am
Full Name: Preben Berg

Re: backup status

Veeam Logoby frankive » Thu 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
frankive
Service Provider
 
Posts: 718
Liked: 86 times
Joined: Tue May 14, 2013 8:35 pm
Location: Norway
Full Name: Frank Iversen

Re: backup status

Veeam Logoby v.Eremin » Thu 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. :)
v.Eremin
Veeam Software
 
Posts: 13255
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to RESTful API



Who is online

Users browsing this forum: No registered users and 2 guests