Exchange Log cleanup Exchange mailbox database log cleanup EMS commonly used commands (a) how to clear Exchange2010 mail log

 

First, manually delete logs

Reference Links: http://www.exchangecn.com/exchange2003/20110207_317.html

Isolated dot log file database writes, clearing the log:

 
  1, execute C: \ Program Files \ Exchsrvr \ bin> eseutil / mk E: \ exchsrvrstore01 \ mdbdata \ e01.chk | find / i "checkpoint" Find LOG file name before the checkpoint point.
 
  2, delete LOG before the Checkpoint (Checkpoint).
 
   3, restart the Exchange Attendant Service.
 
  c:\exchsrvr\mdbdata>eseutil /mk e00.chk | find /i “checkpoint”
 
  Example feedback results were as follows:
 
  Checkpoint file:e00.chk LastFullBackupCheckpoint0x0,0,0) Checkpoint0x2CC7,9607,256)
 

  Remarks:

 
  Checkpoint (Checkpoint) contains information (LastFullBackupCheckpoint items by the use of online backup, if you have never performed on the database online backup is that the reservation to all zeros). Checkpoint log location database format header format consistent with the last item of the same. Checkpoint in the present embodiment is located within E0002cc7.log.
 
  Moreover, by using all of the numbered log file before the checkpoint log (but not including the checkpoint log) reclaim disk space, in the present embodiment can remove all of the log before E0002cc6.log.

 

Second, a full backup by cleaning up the log

Reference links:

Exchange log cleaning

EMS mailbox database commonly used commands (a)

How to remove Exchange2010 mail log - paper recommended to choose a backup the entire server, or select a single log file partition, will not clear the log. To be verified, it is recommended custom can be.

 

After a volume VSS full backup Exchange database a) in using the operating system "Windows Server Backup" where provided, it will automatically clear the log.

b) "Windows Server Backup" After installation is complete, open the "Windows server backup", in the right-left "Local Backup" Console bar -> select "one-time backup."

 

In the "Backup Once Wizard" window, select "Other Options"

Recommended in a production environment, the volume backup log files are located, in this case, only the log backup directory folder.

Select "Custom" and click "Next"

Select the item you want to back up, select -> "Add Project", specify the path to be the backup log. Confirm and then select the "Advanced Settings."

Advanced Settings window, select "VSS Settings" tab, select "vss" full backup.

 Specify the path to save the backup, select "Local drive" and click "Next."

Select the backup directory, choose "Local Disk D" in the backup destination, click "Next."

Note: The path to the backup target, not the source file in the same letter, otherwise it will error.

Guess you like

Origin www.cnblogs.com/victorfrost/p/12531848.html