Last week I started testing dbccheck on my test system. I found one strange thing, and I have no idea what is the problem, last fullbackup is few hours old, but dbccheck print an error.
Following you can see my steps:
installation dba checks
- based on the blog from chrissy lemaire (thank you chrissy,for that great job)
change configuration
Set-DbcConfig -Name policy.backup.fullmaxdays 3
Set-DbcConfig -Name policy.backup.logmaxminutes 720
first check
$server = "ALET21"
Invoke-DbcCheck -SqlInstance $server -Check LastBackup
here the result:
The dbccheck print an error
I did the same test with PS Command, following you can see the results:
any idea what is the problem?
AdminDB DB is not new, creation date was on 23.11.2016. I also updated the policy.backup.newdbgraceperiod to 1, but I have the same problem, as you can see below:
It looks like the dbacheck module is up to date:




