Skip to main content

Windows Server Backup Audit

Summary

This dataview shows the complete Windows Server Backup report and is useful for demonstrating how the Windows Server Backup operates on a scheduled basis.

Dependencies

Columns

ColumnDescription
Client NameClient name of the agent
Location NameLocation name of the agent
Computer NameName of the agent
Operating SystemOperating system name of the agent
Last ContactLast contact of the agent with the RMM
Next Backup TimeNext backup runtime
Last Successful Backup TimeLast successful backup time
Last Backup TimeLast backup runtime
Last Backup StatusLast backup health
Last Backup TargetDestination path where the last backup is stored
Backup Operation Status During Script RanIndicates whether the backup is in progress or completed
Backup Start DateBackup schedule date
Volumes To BackupVolumes that are being backed up
Files to BackupFiles that are being backed up
Exclude Files From BackupFiles that are excluded from backup
Components to BackupComponents that are being backed up
Bare Metal RecoveryRefers to a complete system restore, including the operating system and all system-specific configurations
System State BackupContains critical system components, including the registry, Active Directory, and system files required for system recovery
Overwrite Old Format VHDIf enabled, old VHD files will be overwritten during subsequent backups
Script Ran DateLast run time of the script

SQL Representation

SELECT 
c.clientid,
c.locationid,
c.computerid,
cl.name AS `Client Name`,
l.name AS `Location Name`,
c.name AS `Computer Name`,
c.os AS `Operating System`,
c.LastContact,
CONCAT(
ROUND(c.uptime / 60 / 24, 0),
' Day(s)'
) AS `Agent Uptime`,
pw.`Next Backup Time`,
pw.`Last Successful Backup Time`,
pw.`Last Backup Time`,
CASE WHEN pw.`Last Backup Status` = 0 THEN 'Success' ELSE 'Failed' END AS `Last Backup Status`,
pw.`Last Backup Target`,
pw.`Backup Operation Status During ScriptRan`,
pw.`Backup Start Date` AS `Backup Scheduled Date`,
pw.`Volumes To Backup`,
pw.`Files to Backup`,
pw.`Exclude Files From Backup`,
pw.`Components to Backup`,
pw.`Bare Metal Recovery`,
pw.`SystemState Backup`,
pw.`Overwrite Old Format VHD`,
pw.ScriptRanDate
FROM
computers c
JOIN clients cl ON cl.clientid = c.clientid
JOIN locations l ON l.locationid = c.locationid
JOIN plugin_proval_windows_server_backup pw ON pw.computerid = c.computerid