Comprehensive data protection for all workloads
Post Reply
GabesVirtualWorld
Expert
Posts: 244
Liked: 38 times
Joined: Jun 15, 2009 10:49 am
Full Name: Gabrie van Zanten
Contact:

Talking to the database

Post by GabesVirtualWorld »

Hi,
We would like to feed our datawarehouse application with the results of the daily backups. The e-mail reports we get from Veeam look great but can't be read properly. Are we "allowed" to query the SQL DB directly? Is there a schema that explains how the database is build? How big is the chance that a new update would change the DB structure and have us recreate the queries?

Or is Powershell the way to get the same details as the e-mail reports do, but in an easier to convert format?

Gabrie
nielsengelen
Product Manager
Posts: 5636
Liked: 1181 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Talking to the database

Post by nielsengelen »

Hi Gabrie,

PowerShell would be advised as it can gather most of the information as well. Which statistics are you looking for/in need of exactly?
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
Vitaliy S.
VP, Product Management
Posts: 27120
Liked: 2721 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Talking to the database

Post by Vitaliy S. »

Querying database directly is strongly not recommended, as database schema and tables might change from one update to another. You can use PowerShell, SNMP or evem event log to feed this data to your application. Alternatively, you can use predefined Veeam ONE reports to export all the data and then save it in the datawarehouse.
GabesVirtualWorld
Expert
Posts: 244
Liked: 38 times
Joined: Jun 15, 2009 10:49 am
Full Name: Gabrie van Zanten
Contact:

Re: Talking to the database

Post by GabesVirtualWorld »

Pointed my dataware house specialist to the powershell API guide. He's happy now :-)
veremin
Product Manager
Posts: 20284
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Talking to the database

Post by veremin »

Should he need some assistance with scripting, let him create a topic in the corresponding subforum. Thanks.
Post Reply

Who is online

Users browsing this forum: dkuser, Semrush [Bot] and 140 guests