WORKAROUND:
The following script will try and compare a well known object in AD with the same object in the backup which would only be possible if the backup is not corrupt:
# Modify these parameters
$domain = 'rmad.local'
$objectDnToCompare = 'CN=Users,DC=RMAD,DC=local'
$latestBackupCountToTest = 3
$backups = Get-RMADBackup -Domain $domain | Sort-Object Date -Descending | Select-Object -First $latestBackupCountToTest
$backups |
%{
Write-Output "Test backup of $($_.ComputerName), created $($_.Date)"
$objectInfo = Compare-RMADObject -Backup $_ -Id $objectDnToCompare -UseAgentlessMethod
if($objectInfo.DN -like $objectDnToCompare)
{
Write-Output "Successful compare for $($objectInfo.DN)"
}
else
{
Write-Error 'Object compare failed!'
}
$report = Get-RMADReportSession | Sort-Object SessionId -Descending | Select-Object -First 1
if($report.Status -ne 'Succeeded')
{
Write-Error "Object compare failed: $report.Status"
}
}
STATUS:
The following Enhancement Requests have been created to implement checksums to validate backup consistency. These ERs have been tentatively planned for RMAD 10.2:
RMADFE-2948 - Check system state backup integrity using a checksum on a Tier 2 server
RMADFE-2947 - Check BMR backup integrity using a checksum on a Tier 2 server