Quantcast
Channel: Veeam Support Knowledge Base
Viewing all articles
Browse latest Browse all 4362

How to Expand Backup Heatmap Widget From 12 Hours to 24

$
0
0

How to Expand Backup Heatmap Widget From 12 Hours to 24

KB ID: 4526
Published: 2023-12-13
Last Modified: 2023-12-13
Article Applicability

This article documents changing the Backup Heatmap time scale in the Analytics Dashboard of the Veeam Backup & Replication Console in version 12.1.

*Please note that the heatmaps in the view are only available if Veeam ONE is integrated with Veeam Backup & Replication.

Purpose

This article documents how to change the Backup Heatmaps from their default 12-hour scale to a full 24-hour.
Before
Default, 12-Hour Scale
After
24-Hour Scale

Solution

Affects Currently Added Veeam Backup & Replication Servers
This change affects only Veeam Backup & Replication servers that are currently added to Veeam ONE. If new Veeam Backup & Replication servers are added at a later time, the script must be rerun to update the heatmap for those servers.

To change the Backup Heatmap scale, execute the following SQL query against the Veeam ONE database using SQL Management Studio (this procedure is documented in KB4414).

Note: This SQL Query to change the heatmap scale can be applied to the Veeam ONE database without stopping and starting the Veeam ONE services.

;with layout_defaults as (
select
w.ID, x.LayoutType, x.PositionX, x.PositionY, x.Width, x.Height
from [reporter].[ExtensionItemWidget] w
inner join (
values
('RepositoriesFreeSpace', 3, 0, 0, 1, 2),
('ProxyUsage', 3, 1, 0, 1, 2),
('RepositoriesUsage', 3, 2, 0, 1, 2)
) as x(TemplateName, LayoutType, PositionX, PositionY, Width, Height)
on ([x].[TemplateName] = [w].[Name])
),
dashboards as (
select ID
from [reporter].[Dashboard]
where [Deleted] is null and
[IsSystem] = 1 and
[IsBuiltIn] = 1 and
[ExtApplicationId] is not null
),
update_layout_cte as (
select
WidgetId = w.ID
, x.LayoutType
, x.PositionX
, x.PositionY
, x.Width
, x.Height
from [reporter].[DashboardWidget] w
join [dashboards] d on ([d].[ID] = [w].[Dashboard])
join [layout_defaults] x on ([x].[ID] = [w].[ExtensionItemWidget])
)

merge [reporter].[DashboardWidgetLayout] as Target
using [update_layout_cte] as Source
on (Source.WidgetId = Target.WidgetId)
when matched then update set
Target.LayoutType = Source.LayoutType,
Target.PositionX = Source.PositionX,
Target.PositionY = Source.PositionY,
Target.Width = Source.Width,
Target.Height = Source.Height

when not matched by Target then
insert (WidgetId, LayoutType, PositionX, PositionY, Width, Height)
values (Source.WidgetId, Source.LayoutType, Source.PositionX, Source.PositionY, Source.Width, Source.Height);
Click Refresh on the Backup Heatamp view to update the page.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Viewing all articles
Browse latest Browse all 4362

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>