Monitoring and reporting for Veeam Data Platform
Post Reply
NK100251
Influencer
Posts: 16
Liked: never
Joined: Jan 28, 2022 1:08 am
Full Name: Neha Karan
Contact:

Need VeeamONE SQL DB tables info to create custom Power BI backup dashboard

Post by NK100251 »

Hi Team,

I want to create a Power BI dashboard for backup which requires connecting with SQL server database for Veeam backup server.

Instead of using multiple backup servers SQL DB, I think it would be better if we can use VeeamONE SQL Database which has all information available.

I am able to connect VeeamONE SQL DB in Power BI successfully.

In order to create reports for backup I need information which tables should I select to create my reports in Power BI.

I would need info on only selected tables/schema under SQL DB on Veeam ONE which has info about server backup status and backup servers, backup jobs overview in last 24 hours and in 7 days, average backup speed, backup windows etc.

I tried to connect with Veeam support but they couldn't provide the info.

I am looking forward to your help.
RomanK
Veeam Software
Posts: 641
Liked: 168 times
Joined: Nov 01, 2016 11:26 am
Contact:

Re: Need VeeamONE SQL DB tables info to create custom Power BI backup dashboard

Post by RomanK »

Hello Neha

Often there is no raw data you requested, multiple tables are used and additional operations would be required to process the data. Moreover, we cannot guarantee that there will be no changes in the database tables in the future.

Did you check the REST API instead? At a glance, it seems to me everything should be there and it is a more reliable way to get the data.

Thanks
jorgedlcruz
Veeam Software
Posts: 1372
Liked: 619 times
Joined: Jul 17, 2015 6:54 pm
Full Name: Jorge de la Cruz
Contact:

Re: Need VeeamONE SQL DB tables info to create custom Power BI backup dashboard

Post by jorgedlcruz »

Hello Neha,
As Roman pointed out, checking the DB directly is not supported officially, meaning that we can not point you to tables or queries that might change in the future, plus imagine for some reason some data is truncated in the process. It will work of course, and if I was investigating by my own I would probably look at the SQL store procedures that most likely have all the data in the format PowerBI or other tools can consume. But that, again, is flying solo and without official support.

Now, officially we exposed API endpoints to satisfy these scenarios.

Here is the map in case you want to take a look:
https://www.veeam.com/veeam_one_12_0_re ... map_ot.pdf

For example:
1. Backup job status - We have endpoints under vbrJobs

We are always happy to get feature requests to improve our API, so we would encourage you to take a look and share what is missing if possible.

Thank you
Jorge de la Cruz
Senior Product Manager | Veeam ONE @ Veeam Software

@jorgedlcruz
https://www.jorgedelacruz.es / https://jorgedelacruz.uk
vExpert 2014-2024 / InfluxAce / Grafana Champion
NK100251
Influencer
Posts: 16
Liked: never
Joined: Jan 28, 2022 1:08 am
Full Name: Neha Karan
Contact:

Re: Need VeeamONE SQL DB tables info to create custom Power BI backup dashboard

Post by NK100251 »

Thanks jorgedlcruz for providing some insights.. I don't think Power BI uses REST APIs as dataset to create dashboards. Do you happen to know process to get these REST APIs in Power BI?

You mentioned, SQL store procedures that most likely have all the data in the format PowerBI or other tools can consume. I am not sure how we can use it? Can you provide some info?
NK100251
Influencer
Posts: 16
Liked: never
Joined: Jan 28, 2022 1:08 am
Full Name: Neha Karan
Contact:

Re: Need VeeamONE SQL DB tables info to create custom Power BI backup dashboard

Post by NK100251 »

In addition to this, Can you provide the info on how to get details from SQL DB tables for total space vs free space?
NK100251
Influencer
Posts: 16
Liked: never
Joined: Jan 28, 2022 1:08 am
Full Name: Neha Karan
Contact:

Re: Need VeeamONE SQL DB tables info to create custom Power BI backup dashboard

Post by NK100251 »

I tried using the VEEAM ONE REST APIs in Power BI via Get Data-->Web, seems like the access token requires authorization header option in the power BI API call option. However, options available are Accept,Accept-Charset,Accept-Encoding,Accept Language,Cache-Control,Content-Type,If-Modified-Since,Prefer,Range,Referer

Not sure which option to choose from as Veeam support is unable to provide this answer. Veeam Support - Case # 07003348

I also tried to use the service account which has full permissions/rights to access Veeam ONE web client & REST APIs but it didn't authenticate.
nielsengelen
Product Manager
Posts: 5636
Liked: 1181 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Need VeeamONE SQL DB tables info to create custom Power BI backup dashboard

Post by nielsengelen »

Hi,

You could have a look at this VB365 example blogpost which you can probably alter to VONE settings.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
NK100251
Influencer
Posts: 16
Liked: never
Joined: Jan 28, 2022 1:08 am
Full Name: Neha Karan
Contact:

Re: Need VeeamONE SQL DB tables info to create custom Power BI backup dashboard

Post by NK100251 »

@nielsengelen
This is blog is using SQL server for VBR server which I have tried already but like product team recommends not to use SQL server tables as schema always changes with new version release.

I have already created Power BI using this but it is valid until SQL schema/tables remain same or not changed.

By the way, in this blog I see there is one chart created from Backup Repositories tables i.e. Free Space vs Total Space.

I don't see this option in Backup repo tables under SQL server.
nielsengelen
Product Manager
Posts: 5636
Liked: 1181 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Need VeeamONE SQL DB tables info to create custom Power BI backup dashboard

Post by nielsengelen » 1 person likes this post

Hi Neha,

Sorry, I meant to reference to the article on VB365 with PowerBI. I have probably copied the link from the wrong tab being fast.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
NK100251
Influencer
Posts: 16
Liked: never
Joined: Jan 28, 2022 1:08 am
Full Name: Neha Karan
Contact:

Re: Need VeeamONE SQL DB tables info to create custom Power BI backup dashboard

Post by NK100251 »

@nielsengelen : I read your article mentioned. Here HTTP Request Header option is used as "authorization" but in Power BI new version, this option is not available.
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests