In Exchange, whether it is 2013 or higher, you may look at enabling Circular logging on your databases.

While this will constantly flush the logs, you cannot run Circular logging and have backups running as they will be inconsistent all the time.

To firstly check if circular logging is enabled on a mailbox database you can run the following command:

  • Get-MailboxDatabase -Identity Store1 | fl circ
Exchange 2010:- move requests with a bit more info using powershell

As shown above, it is disabled, to enable circular logging you can run the following command:

  • Set-MailboxDatabase -Identity Store1 -CircularLoggingEnabled $True
Exchange 2010:- move requests with a bit more info using powershell

Once run, you will receive a nice warning to dismount and mount the database, do this outside of production hours. To validate it is enabled you can run the same command as in step 1:

Exchange 2010:- move requests with a bit more info using powershell

Hope it helps.

    wpChatIcon

    Discover more from Everything-PowerShell

    Subscribe now to keep reading and get access to the full archive.

    Continue reading