none
Purging of Transaction Log Files

    질문

  • Hello All,

                I have DAG in place where every server has passive copy of the database of the other server.  Currently, there is no backup solution involved.  I am aware that logs are committed into the EDB during the backup process.  Correct me if I am wrong?  My questions are:

    1-  Is there a way to keep the transaction log files to minimal even with no backup solution?

    2-  Why is circular logging used in exchange environment?

    3-  Is there any benefit with regards to performance if there are more TLs?

    Thanks in advance.

    2012년 4월 15일 일요일 오후 8:23

답변

  • Hello,

    First of all, I will highly recommend using a backup solution to backup your Exchange databases. You may need them one day for restoring. You can use Windows Server Backup to do that if you don't have a backup solution: http://technet.microsoft.com/en-us/library/dd876854.aspx

    I would recommend using Microsoft DPM or Symantec Backup Exec for backups.

    The purge transaction log files, you can enable the circular logging: http://msdn.microsoft.com/en-us/library/aa579094%28v=exchg.140%29.aspx

    You can the disadvantages of using it.

    See also that: http://blogs.technet.com/b/exchange/archive/2010/08/18/exchange-circular-logging-and-vss-backups.aspx

    I would recommend using a backup solution which purges automatically transaction files after making backups.


    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.   

    Microsoft Student Partner 2010 / 2011
    Microsoft Certified Professional
    Microsoft Certified Systems Administrator: Security
    Microsoft Certified Systems Engineer: Security
    Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows 7, Configuring
    Microsoft Certified Technology Specialist: Designing and Providing Volume Licensing Solutions to Large Organizations
    Microsoft Certified IT Professional: Enterprise Administrator
    Microsoft Certified IT Professional: Server Administrator
    Microsoft Certified Trainer

    • 답변으로 표시됨 Frank.Wang 2012년 4월 23일 월요일 오전 2:04
    2012년 4월 15일 일요일 오후 8:40
  • Like Mr. X stated i wouldn't go without back ups. If you move a decent amount for boxes your trans logs will fill up fairly quick. If your get to 1 GB of free space you are risking your users of not being able to receive emails.

    With Circular Logging you are risking of loosing emails if they weren't comited to your DBs. Also you would need to reboot your server after you enable Circualr Logging as far as i remember.

    You can also dismount your DB and manually copy your logs to a safe location then delete them and remount DB. Before we purchased Networker from EMC i used Server Back up that comes with 08 server. It was very easy to set up.

    • 답변으로 표시됨 Frank.Wang 2012년 4월 23일 월요일 오전 2:04
    2012년 4월 15일 일요일 오후 9:27
  • If you want to eliminate the need to make traditional backups, please see:

    Exchange Native Data Protection

    http://technet.microsoft.com/en-us/library/dd876874.aspx#FleMaiPro

    And Designing a backup less Exchange 2010 Architecture

    http://blogs.technet.com/b/omers/archive/2010/11/05/designing-a-backup-less-exchange-2010-architecture.aspx

    I would also suggest you protect your Exchange 2010 by DPM 2010, for more information, download How to protect Exchange with DPM 2010 whitepaper

    http://www.microsoft.com/download/en/details.aspx?id=8068


    Frank Wang

    TechNet Community Support

    • 답변으로 표시됨 Frank.Wang 2012년 4월 23일 월요일 오전 2:04
    2012년 4월 17일 화요일 오전 7:45
  • Hello All,

                I have DAG in place where every server has passive copy of the database of the other server.  Currently, there is no backup solution involved.  I am aware that logs are committed into the EDB during the backup process.  Correct me if I am wrong?  My questions are:

    1-  Is there a way to keep the transaction log files to minimal even with no backup solution?

    2-  Why is circular logging used in exchange environment?

    3-  Is there any benefit with regards to performance if there are more TLs?

    Thanks in advance.

    To answer your questions directly.

    1. Yes, you can enable circular logging, there's a different type of circular logging for use with DAG's.  It's called CRCL.  More intelligent than the normal CL.

    2. Circular logging is used to ensure transaction logs can be purged, in some cases such as a DAG enviornments where you want to go backupless.  Or even when some can accept the risk not to backup the logs in cases where you move large amounts of mailboxes, as you know you have backup of the source or is not required.

    3. No impact for performace as such, but there are effects such as if the disk/partition gets full and runs out of disk space, will causes outages.


    Sukh

    • 답변으로 표시됨 Frank.Wang 2012년 4월 23일 월요일 오전 2:04
    2012년 4월 17일 화요일 오전 9:01

모든 응답

  • Hello,

    First of all, I will highly recommend using a backup solution to backup your Exchange databases. You may need them one day for restoring. You can use Windows Server Backup to do that if you don't have a backup solution: http://technet.microsoft.com/en-us/library/dd876854.aspx

    I would recommend using Microsoft DPM or Symantec Backup Exec for backups.

    The purge transaction log files, you can enable the circular logging: http://msdn.microsoft.com/en-us/library/aa579094%28v=exchg.140%29.aspx

    You can the disadvantages of using it.

    See also that: http://blogs.technet.com/b/exchange/archive/2010/08/18/exchange-circular-logging-and-vss-backups.aspx

    I would recommend using a backup solution which purges automatically transaction files after making backups.


    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.   

    Microsoft Student Partner 2010 / 2011
    Microsoft Certified Professional
    Microsoft Certified Systems Administrator: Security
    Microsoft Certified Systems Engineer: Security
    Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows 7, Configuring
    Microsoft Certified Technology Specialist: Designing and Providing Volume Licensing Solutions to Large Organizations
    Microsoft Certified IT Professional: Enterprise Administrator
    Microsoft Certified IT Professional: Server Administrator
    Microsoft Certified Trainer

    • 답변으로 표시됨 Frank.Wang 2012년 4월 23일 월요일 오전 2:04
    2012년 4월 15일 일요일 오후 8:40
  • Like Mr. X stated i wouldn't go without back ups. If you move a decent amount for boxes your trans logs will fill up fairly quick. If your get to 1 GB of free space you are risking your users of not being able to receive emails.

    With Circular Logging you are risking of loosing emails if they weren't comited to your DBs. Also you would need to reboot your server after you enable Circualr Logging as far as i remember.

    You can also dismount your DB and manually copy your logs to a safe location then delete them and remount DB. Before we purchased Networker from EMC i used Server Back up that comes with 08 server. It was very easy to set up.

    • 답변으로 표시됨 Frank.Wang 2012년 4월 23일 월요일 오전 2:04
    2012년 4월 15일 일요일 오후 9:27
  • If you want to eliminate the need to make traditional backups, please see:

    Exchange Native Data Protection

    http://technet.microsoft.com/en-us/library/dd876874.aspx#FleMaiPro

    And Designing a backup less Exchange 2010 Architecture

    http://blogs.technet.com/b/omers/archive/2010/11/05/designing-a-backup-less-exchange-2010-architecture.aspx

    I would also suggest you protect your Exchange 2010 by DPM 2010, for more information, download How to protect Exchange with DPM 2010 whitepaper

    http://www.microsoft.com/download/en/details.aspx?id=8068


    Frank Wang

    TechNet Community Support

    • 답변으로 표시됨 Frank.Wang 2012년 4월 23일 월요일 오전 2:04
    2012년 4월 17일 화요일 오전 7:45
  • Hello All,

                I have DAG in place where every server has passive copy of the database of the other server.  Currently, there is no backup solution involved.  I am aware that logs are committed into the EDB during the backup process.  Correct me if I am wrong?  My questions are:

    1-  Is there a way to keep the transaction log files to minimal even with no backup solution?

    2-  Why is circular logging used in exchange environment?

    3-  Is there any benefit with regards to performance if there are more TLs?

    Thanks in advance.

    To answer your questions directly.

    1. Yes, you can enable circular logging, there's a different type of circular logging for use with DAG's.  It's called CRCL.  More intelligent than the normal CL.

    2. Circular logging is used to ensure transaction logs can be purged, in some cases such as a DAG enviornments where you want to go backupless.  Or even when some can accept the risk not to backup the logs in cases where you move large amounts of mailboxes, as you know you have backup of the source or is not required.

    3. No impact for performace as such, but there are effects such as if the disk/partition gets full and runs out of disk space, will causes outages.


    Sukh

    • 답변으로 표시됨 Frank.Wang 2012년 4월 23일 월요일 오전 2:04
    2012년 4월 17일 화요일 오전 9:01