Skip to the main content.

E2K7: Determining Status of Database Backups

While running some reports on Exchange backup success I could not figure out why when I ran get-mailboxdatabase | fl Name,LastFullBackup it would return a blank LastFull Backup.  In Exchange Management console I could look at the properties of the database and see the Last full backup and the Last incrementation backup times.

 

After some search, Martin’s Wonderful World of Exchange had an answer for me.  You need to add -status to your command or the backup properties where blank.

 

 

Command as follows:

Get-MailboxDatabase -Status | fl Name,Server,*backup*

  

If you only want the LastFullBackup:

Get-MailboxDatabase -Status | fl Name,Server,LastFullBackup

  

And if you only want to list the databases where the backup didn’t go as planned today:

Get-MailboxDatabase -Status | Select Name,Server,LastFullBackup | Where { $_.LastFullBackup -le (get-date).adddays(-1) }

The Benefits of Transitioning to Microsoft Fabric for Power BI Users

The Benefits of Transitioning to Microsoft Fabric for Power BI Users

As Microsoft rolls out its comprehensive analytics platform, Microsoft Fabric, existing Power BI users face a pivotal moment of transition. This...

Facing SQL Server 2014 End of Support: Upgrade or Migrate?

Facing SQL Server 2014 End of Support: Upgrade or Migrate?

July 9th, 2024 marked theend of support(EOS), for SQL Server 2014following that of Windows and SQL Server 2012 in the past few years. This end of...

Microsoft Q2 2024 Licensing Updates

Microsoft Q2 2024 Licensing Updates

Microsoft continues to deliver a stream of thrilling announcements throughout 2024!