How to disable circular logging in Microsoft Exchange so that differential or incremental backups of Exchange Storage Groups and Databases can be performed.

Article: 100000522
Last Published: 2018-02-01
Ratings: 0 0
Product(s): Backup Exec

Problem

How to disable circular logging in Microsoft Exchange so that differential or incremental backups of Exchange Storage Groups and Databases can be performed.

 

Error Message

 Job Log shows :

V-79-57344-33943 - AOFO: Initialization failure on: "Microsoft Information Store". Advance Open File Option used: Microsoft Volume Shadow Copy Service (VSS).

Snapshot provider error 0xe0008497 - Incremental and differential backups are not possible because Microsoft Exchange is configured for circular logging.

 

Cause

The above error is encountered when :

  1. Circular Logging is enabled for Exchange Database.
  2. Microsoft information Store Service was not restarted.
  3. Exchange Database was not dismounted and remounted after disabling Circular Logging.
     

Solution

 
If incremental or differential backups of Exchange are desired, it is necessary to disable circular logging on the Exchange Storage Groups or Databases. With circular logging enabled, only information included in the last full backup can be recovered.

When circular logging is enabled, transaction log files that have already been committed to the database are overwritten, preventing the accumulation of logs. The log files are overwritten whether or not a full or incremental backup has been run, and a history of previous logs since the last full or incremental backup is not maintained. This is why, when circular logging is enabled, differential and incremental backups of the Exchange databases cannot be performed (since these types of backups rely on complete history of logs).

Note: Exchange Server supports multiple databases and storage groups on the same server. Each storage group is controlled by a separate instance of the Extensible Storage Engine (ESE). Therefore, each storage group shares the same set of log files. As a result, circular logging is enabled or disabled for a particular storage group, not for a particular database.

Circular logging and disk space:

When circular logging is disabled, transaction log files accumulate on the disk until a full or incremental backup is performed. After this, the log files that have all transactions committed to the database are deleted. Performing a full backup of the Microsoft Exchange Server is the preferred way of saving the log files and removing these logs from the disk to utilize the space effectively. If a solid backup strategy is in place, transactions log files are purged during the backup, which frees disk space.
  
To disable circular logging in different version of Exchange Server, perform the following: 


How to Disable Circular Logging in Exchange 2007 :
   

  • To use the Exchange Management Console to disable circular logging:
1.       Start the Exchange Management Console.
2.       In the console tree, expand Server Configuration, and then click Mailbox.
3.       In the work pane, right-click the storage group for which you want to enable or disable circular logging, and then click Properties. The < Storage Group Name> Properties dialog box appears.
4.       Clear the Enable circular logging check box.
5.       Click OK.
6.       To make your changes to the circular logging settings effective, Restart the Microsoft Exchange Information Store service, or dismount and then mount all of the databases in the storage group.
 
  • To disable circular logging using Exchange Management Shell, run the following command:
Set-StorageGroup -Identity "First Storage Group" -CircularLoggingEnabled $false
 
How to Disable Circular Logging in Exchange 2010 :


 

  • To use the Exchange Management Console to disable circular logging:
1.       In the console tree, navigate to Organization Configuration | Mailbox.
2.       In the result pane, on the Database Management tab, select the database you want to configure.
3.       In the action pane, under the database name, click Properties.
4.       Click on the Maintenance tab
5.       Clear the Enable circular logging check box.
6.       Click OK
7.   To make your changes to the circular logging settings effective, Restart the Microsoft Exchange Information Store service, or dismount and then mount all of the databases in the storage group.
  • To disable circular logging using Exchange Management Shell, run the following command:
Set-MailboxDatabase -Identity "Database Name" -CircularLoggingEnabled $false

 

Microsoft article: technet.microsoft.com/en-us/library/dd297937.aspx#UseShelltechnet.microsoft.com/en-us/library/bb123971.aspx

 

How to Disable Circular Logging in Exchange 2013 :


 

  • To use the Exchange Admin Center (EAC) to disable circular logging:
1.      In the EAC, go to Servers > databases.
2.      Select the mailbox database you want to configure and click edit icon
3.      Uncheck the Enable circular logging checkbox, and then click save.
4.      To make your changes to the circular logging settings effective, Restart the Microsoft Exchange Information Store service,
         or dismount and then mount all of the databases in the storage group.
  • To disable circular logging using Exchange Management Shell, run the following command:
Set-MailboxDatabase "Database Name" -CircularLoggingEnabled $false

 

Microsoft article: technet.microsoft.com/en-us/library/dn756374(v=exchg.150).aspx

 

Note: The information store service must be restarted because when it starts, it reads configuration information from the Active Directory. The Active Directory attribute associated with the circular logging setting is called MSExchESEParamCircularLog. When circular logging is enabled, this attribute is set to 1. When circular logging is disabled, it is set to 0.

 

 

 

Applies To

Microsoft Exchange 2007.  

Microsoft Exchange 2010. 

Microsoft Exchange 2013.

 

Was this content helpful?