Quantcast
Viewing all articles
Browse latest Browse all 22513

Template (Concept) for Commvault Backup Statistics

t   Hi all

I want to share my thoughts about "Commvault Backup Statistic" here for all. Maybe someone will find this Information usefull for a better template.

 

So what I need are the Backup Statistics as follow:

     Full Backup on Disc

     INR Backup on Disc

 

     Data Grow per Backup

     Used and Free Space on the Harddisk where we store the Backup (DeDup). These are 3 Disk Parts with 4 TB per Disk.

 

The Information can be found in the SQL Database of Commvault. Most of them are stored Procedures like dbo.commcellbkupsizeinfo or dbo.commcellauxcopyinfo. Goal is a View like the Screen.

Image may be NSFW.
Clik here to view.
CVstat.PNG

 

So i created a Template with the following in there. The SQL Statements a directly out from the Backup SQL Database.

 

Backup Statistic of Full Backup all Servers in the Backup Set:

SQL query: SELECT  SUM ([LastBkp_TotBkpSize]) FROM [CommServ].[dbo].[CommCellBkupSizeInfo] where [backuptype] = 'FULL'

SQL Server Instance: HDPS

Initial Catalog: commserv

convert value: XToTera(${Statistic})

 

 

Backup Statistic of INCR Backup all Servers in the Backup Set:

SELECT  SUM ([LastBkp_TotBkpSize])    

       FROM [CommServ].[dbo].[CommCellBkupSizeInfo] where [backuptype] = 'incr/diff/others'

Settings as above.

 

Disk space all Disks for Backup 2 Disk

SQL query: Select SUM ([TotalSpaceMB]) FROM [CommServ].[dbo].[CNMMMediaInfoView] where LibraryName = 'Dedup2disk'

"dedup2disk is the Name of the Media Agent and must be changed to your own settings."

SQL Server Instance: HDPS

Initial Catalog: commserv

convert value: MegaToTera(${Statistic})

 

 

Disk space FREE all Disks for Backup 2 Disk

SQL query: SELECT SUM ([TotalFreeSpaceMB] ) FROM [CommServ].[dbo].[CNMMMediaInfoView] where LibraryName = 'Dedup2disk'

 

Data Growth Summary:

SQL Query:

USE [CommServ]
DECLARE @return_value int
EXEC @return_value = [dbo].[QS_DataGrowthSummary]
SELECT 'Return Value' = @return_value

 

The template is also attached for you.

 

 

 



Viewing all articles
Browse latest Browse all 22513

Trending Articles