by srebucci » Mon Mar 19, 2012 4:52 pm 1 person likes this post
Hi Gostev,
the view is the [VeeamBackup].[dbo].[ReportSessionsView].
This view is used by the Realtime Statistics menu (Right Click on a Backup Job) to get the main data of this dialog: the values are in bytes, so, if you need MB or TB, you simply need to do the math (as the Veeam B&R GUI do).
I've simply used the SQL Server Management Studio to query this view about all my jobs executions between 4 PM to 5 AM (my nightly backup window); then I've exported the data on CSV on do the plot for my boss on Excel.
SELECT TOP 1000 [id]
,[job_name]
,[state]
,[creation_time]
,[end_time]
,[job_type]
,[is_startfull]
,[operation]
,[processed_objects]
,[total_objects]
,[result]
,[total_size]
,[processed_size]
,[processed_used_size]
,[progress]
,[is_retry]
,[avg_speed]
,[read_size]
,[stored_size]
,[failed]
,[usn]
FROM [VeeamBackup].[dbo].[ReportSessionsView]
where [creation_time] > '2012-03-18 16:00:00.000' and [creation_time] < '2012-03-19 07:00:00.000'
order by [creation_time] desc;
The column name are easy to read: by the way, "very great job!!!" to the DB team.
I hope this help everyone on the forum to answer the question: how many MB/GB/TB Veeam read every night from the SAN? The short answer: only the changed ones. But sometimes (especially for the IT bosses) numbers matters.