As the volume of business increases, the number of people increases, and the use of the Exchange messaging system grows, the database logs in the mail server are increasing. And as the messaging system becomes more efficient, the number of logs in the mailbox database increases dramatically. A log file with a size of 1024KB and a suffix named log is generated in the log folder. Has a 400-person real estate Company For example, we can see (for example), in the relatively high peak period, every 1 minutes, there will be several to more than 10, or even dozens of log files. After a while, the mail server disk occupies a very high, if not take certain measures, our disk is miserable!
650) this.width=650; "title=" image "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/59/C1/wKiom1Tez1yDg_ Aeaanfs6vh64y953.jpg "height=" 526 "/>
BTW: Add that the mailbox database disk if the free space is too small, the direct result of internal and external mail can not send and receive, because from the point of view of the mail store and the angle of logging audit, can not make the mail service normal operation, will directly lead to Exchange Server service interruption. Unable to provide mail service. (Mail in many enterprises is unable to send and receive problems, it is caused by the problem of too small disk space)
So how do we effectively clean up the Exchange mailbox database logs? Next, let's take a step-by-step operation.
First of all, the more commonly used solutions are as follows: three
I. Manually delete the log log file on the server (not recommended)
Two. Turn on the circular logging feature of the mailbox database on the server
Three. Turn on the Windows Server Backup feature on the server for scheduled backups
Let's take a look at the first type:
I. Manually delete the log log file on the server (not recommended)
As the name implies, directly log on to the server, find the path of the mailbox database log (by default, the mailbox database EDB file is stored together). After locating these files, delete the log logs directly. However, it is recommended to keep a log of the most recent time to ensure the recent mail log query functionality.
BTW: If the heart has the Dread friend, can first move the premature log file to other disk, and then after the Mail function normal verification, then delete also can. If you right-click Delete, remember to clean up the Recycle Bin and make sure that free space is really free.
Two. Turn on the circular logging feature of the mailbox database on the server
The purpose of this approach is to open the circular log function of the mail server, and literally understand that the log of the mailbox database will be saved in a circular overwrite. However, after the circular logging feature is turned on, the mailbox database log is not immediately erased, and the database must be manually unloaded and then re-mounted to effectively free up space. Let's take a look at the functional location of Exchange Server 2013&2010.
The functional location of Exchange Server 2013 is as follows:
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/59/C1/wKiom1Tez1yCD2rjAAEPqMCTKDg599.jpg "height=" 355 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/59/C1/wKiom1Tez13wAvOYAAERN-5JWtI308.jpg "height=" 484 "/>
The functional location of Exchange Server 2010 is as follows:
650) this.width=650; "title=" image "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/59/C1/wKiom1Tez17il7 _uaaik-4kcqy8384.jpg "height=" 484 "/>
Three. Turn on the Windows Server Backup feature on the server for scheduled backups
This approach is now more prevalent and recommended as a way to maximize the security of log files and to ensure free space.
The first step is to install the Windows Server Backup feature on the server to support the log backup function. The add steps for server 2008r2 and server 2012r2 are similar.
The following is a demo of Windows Server R2
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/59/C1/wKiom1Tez1-hUbldAAHMGhx746s255.jpg "height=" 449 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/59/C1/wKiom1Tez1_jmGeGAAHEhC4FC-k609.jpg "height=" 476 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/59/C1/wKiom1Tez2CDatkhAAFEh0eB3RA088.jpg "height=" 476 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/59/C2/wKiom1Tez2HiWoyxAAFN8freK8Q061.jpg "height=" 478 "/>
After the installation is complete, in the list of server management tools, open the Windows Server Backup feature, click Backup Schedule, and in the Backup Schedule Wizard, select Entire server.
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/59/be/wkiol1te0fva4hltaagudiibccm455.jpg "height=" 375 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/59/BE/wKioL1Te0FzBAL-4AAFddyoRHJY618.jpg "height=" 464 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/59/BE/wKioL1Te0F3zSTJbAAGjsPHHMSE869.jpg "height=" 465 "/>
The following step selects the storage path of the backup file, which is chosen according to the current situation of the enterprise, because we are the test machine, so only select "Backup to Volume".
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/59/BE/wKioL1Te0F2DlllVAAH8n7OMTZI223.jpg "height=" 469 "/>
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/59/C2/wKiom1Tez2WTmrZPAAG9bFpo9YI732.jpg "height=" 462 "/>,
Remember that the advanced option must be the selected VSS copy backup in order to effectively clean up the log file. Finally click "Finish" configuration.
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/59/C2/wKiom1Tez2Wi2FvjAAFjWYR3DtU616.jpg "height=" 463 "/>
This article is from the "June Ma Run Space" blog, be sure to keep this source http://horse87.blog.51cto.com/2633686/1614441
Exchange Server 2013&2010 Mailbox Database log cleanup