Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All Diff Backup pester test are failed #410

Closed
4 of 5 tasks
Redwood001 opened this issue Mar 21, 2018 · 1 comment
Closed
4 of 5 tasks

All Diff Backup pester test are failed #410

Redwood001 opened this issue Mar 21, 2018 · 1 comment

Comments

@Redwood001
Copy link

Issue

This is a bug or unexpected behaviour/feature request/new check/question (delete as applicable)

Bug Report

General Troubleshooting steps

  • Verified running the latest release of dbachecks?

Does (Find-Module dbachecks).Version match (Get-Module dbachecks).Version.ToString()

image

  • Verified errors are not related to permissions?
  • Can duplicate in new/clean PowerShell session (clean = powershell -NoProfile)?

Version Information

  • Operating System (Name|Version): Windows Server 2012R2
  • PowerShell Version: 5.5.1
  • SQL Server (Edition|Version): SQL Server Enterprise 2016 SP1 CU8
  • DbaTools version: 0.9.306

Steps to Reproduce

All results from this test are failed. I am sure all the backups are present

$Checks = (
'LastDiffBackup'
)
invoke-DbcCheck -Check $Checks

When I change the markt line in LastDifferentialBackupDate intead of LastDiffBackup it runs fine

image

This also applies to the full backup test

  • Attach any screenshots (if possible/allowed)
  • Attach output from PowerShell console (if possible/allowed)
@jhoudi
Copy link

jhoudi commented Mar 22, 2018

Correct, the same counts for LastFullBackup and LastLogBackup. All checks are using wrong properties from SMO.

I can reproduce it on the newest version 1.1.113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants