设为首页 收藏本站
查看: 794|回复: 0

[经验分享] 全备份失败后,如何手工清除exchange日志文件,附微软KB

[复制链接]

尚未签到

发表于 2018-7-7 12:07:08 | 显示全部楼层 |阅读模式
Exchange如果不采用循环日志,在成功实现全备份前,将产生大量DB日志。当磁盘性能比较差时,Exchange将延缓日志提交到数据库。因此这部分日志绝对不能删除,否则DB会有问题。而那些已经提交的db的log,其实可以手工delete掉(普通删除文件的方法)。当备份出现问题,磁盘容量又不够时,该方法非常有用。
  以下KB就是帮助用户如何确定哪些日志已经提交,可以删除。
  XADM: Using Eseutil to Determine Which Logs Have Been Committed
  View products that this article applies to.

  Article>  Last Review : October 28, 2006
  Revision : 4.3
  This article was previously published under Q182961
  On This Page
  SUMMARY
  MORE INFORMATION
  Exchange Server 5.5
  Exchange 2000 Server
  SUMMARY
  You can use the Eseutil utility to view the contents of the checkpoint file to determine which log files have been committed to an Exchange database.
  Back to the top
  MORE INFORMATION
  Exchange Server 5.5
  The information in this section applies to all three Exchange Server 5.5 databases: • Dir.edb
  • Priv.edb
  • Pub.edb
  To display the Edb.chk (checkpoint) file on the screen, run the following command from a command prompt:
  eseutil /mk edb.chk | more
  If you do not run eseutil from the folder where the Edb.chk file is located, you must provide the full path to the file.
  In Exchange Server 5.5, there is one checkpoint file for each set of log files. There will be one Edb.chk file for the directory and one for the information store. (Priv.edb and Pub.edb share the same log files and checkpoint file.)
  The information that is displayed is similar to:    Microsoft(R) Exchange Server Database Utilities
  Version 5.5
  Copyright (C) Microsoft Corporation 1991-1997. All Rights Reserved.
  Initiating FILE DUMP mode...
  Checkpoint file: edb.chk
  LastFullBackupCheckpoint (8,615,203)
  Checkpoint (22,6485,399)
  FullBackup (8,615,203)
  FullBackup time:3/6/1998 11:52:16
  IncBackup (0,0,0)
  IncBackup time:0/0/1900 0:0:0
  Signature: Create time:2/24/1998 14:23:47 Rand:24842 Computer:
  Env (Session, Opentbl, VerPage, Cursors, LogBufs, LogFile, Buffers)
  (    168,   25200,    4440,    8400,      84,   10240,    8045)
  Operation completed successfully in 0.20 seconds.
  Take the first number in the parentheses for the Checkpoint field and convert it to hexadecimal. The hexadecimal number is the file name of the first uncommitted log for the appropriate directory. Circular logging works by deleting all log files with generations that are lower than the generation in the checkpoint, for example:
  Checkpoint (22,6485,399) = EDB00016.LOG
  This syntax applies for most other fields in the dump file (LastFullBackupCheckpoint, FullBackup, IncBackup, and other fields).
  Back to the top
  Exchange 2000 Server

  In Exchange 2000, there is one checkpoint file for each storage group and one for the directory. When you try to>  To display the Exx.chk (checkpoint) file on the screen, run the following command from a command prompt (from the Exchsrvr\Bin folder):
  eseutil /mk the_full_path_to_the_checkpoint_file
  For example, you may run the following command:
  eseutil /mk "C:\Program Files\Exchsrvr\MDBDATA\E00.chk"
  Note that you must use the quotation marks if there is a space in the path to the checkpoint file.
  The output of this command is similar to:    Microsoft(R) Exchange Server(TM) Database Utilities
  Version 6.0
  Copyright (C) Microsoft Corporation 1991-2000.  All Rights Reserved.
  Initiating FILE DUMP mode...
  Checkpoint file: C:\Program Files\Exchsrvr\MDBDATA\E00.chk
  LastFullBackupCheckpoint: (0x0,0,0)
  Checkpoint: (0x6A,1119,3D)
  FullBackup: (0x0,0,0)
  FullBackup time: 00/00/1900 00:00:00
  IncBackup: (0x0,0,0)
  IncBackup time: 00/00/1900 00:00:00
  Signature: Create time:09/24/2001 17:10:26 Rand:522553071 Computer:
  Env (CircLog,Session,Opentbl,VerPage,Cursors,LogBufs,LogFile,Buffers)
  (    off,    202,  30300,   1365,  10100,    128,  10240,  97940)
  Operation completed successfully in 1.192 seconds.
  Take the first number in the parentheses for the Checkpoint field. The hexadecimal number is the file name of the first uncommitted log for the appropriate database; in this example:
  Checkpoint (0x6A,1119,3D) = E000006A.log
  Back to the top

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-534838-1-1.html 上篇帖子: DPM2012恢复单个Exchange2010用户邮箱 下篇帖子: Exchange 2013 DAG报错“The fully qualified domain name for node “DAG” could notbefo
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表