Skip to main content

How to disable circular logging in MS Exchange so that backups of Exchange database can be performed.

Article ID
5076
Product Version
AhsayOBM / AhsayACB: 7 or above
Operating System
Windows
Description

This Know How article will provide instructions on how to disable circular logging in MS Exchange Server to prevent getting this error message and allow backups to be performed.

"Unable to run log file backup on "%Database_Name". Please disable circular logging or run database backup instead."

Solution

Disable Circular Logging in Exchange 2007

  • Using Exchange Management Console

    1. Start the Exchange Management Console.
    2. In the console tree, expand Server Configuration then click Mailbox.
    3. In the work pane, right-click the storage group where you want to disable circular logging then click Properties. The %Storage Group Name% Properties dialog box appears.
    4. Untick the "Enable circular logging" check box.
    5. Click OK.
    6. To make the changes to the circular settings effective, restart the Microsoft Exchange Information Store service. Or dismount then mount all the databases in the storage group.
  • Using Exchange Management Shell

    Run the following command:

    Set-StorageGroup -Identity "First Storage Group" -CircularLoggingEnabled $false 

Disable Circular Logging in Exchange 2010

  • Using Exchange Management Console

    1. In the console tree, go to Organization Configuration > Mailbox.
    2. In the result pane, go to the Database Management tab and select the database to be configured.
    3. In the action pane, under the database name, click Properties.
    4. Go to the Maintenance tab.
    5. Untick the "Enable circular logging" check box.
    6. Click OK.
    7. To make the changes to the circular settings effective, restart the Microsoft Exchange Information Store service. Or dismount then mount all the databases in the storage group.
  • Using Exchange Management Shell

    Run the following command:

    Set-MailboxDatabase -Identity "Database Name" -CircularLoggingEnabled $false 

Disable Circular Logging in Exchange 2013 / 2016 / 2019

  • Using Exchange Admin Center (EAC)

    1. In the EAC, go to Servers > databases.
    2. Select the mailbox database to be configured and click the wdit icon.
    3. In the action pane, under the database name, click Properties.
    4. Go to the Maintenance tab.
    5. Untick the "Enable circular logging" check box then click Save.
    6. To make the changes to the circular settings effective, restart the Microsoft Exchange Information Store service. Or dismount then mount all the databases in the storage group.
  • Using Exchange Management Shell

    Run the following command:

    Set-MailboxDatabase "Database Name" -CircularLoggingEnabled $false