• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 29
  • Last Modified:

Exchange transaction logs

We are running exchange 2007 on a virtual machine and the transaction logs do not get flushed because NTBackup and Windows backup do not run internally, and Yes running backup will flush the transaction logs but We only backup the .vhd files because they run under Hyper V.

The mail it's slowing down because the logs size is about 90GB, how can i manually delete those logs? Or is there something else that can be done?

Please help
0
klajdi
Asked:
klajdi
  • 6
  • 5
  • 5
  • +2
2 Solutions
 
davorinCommented:
No, you should not manually delete log files.
One option is that you run backup of exchange server to file on internal or external disk.
Other option is to enable circular logging but is not recommended.
http://technet.microsoft.com/en-us/library/bb331968(EXCHG.80).aspx
0
 
5g6tdcv4Commented:
You can enable circular logging this will remove log files although it is not best practice nor recommended
Backing up the exchange database by an exchange aware backup is something you NEED to do on a regular basis
0
 
klajdiAuthor Commented:
What do you mean by exchange aware backup? And how do I back it up if there is no external backup drive attached to the virtual machine, because the exchange runs on a virtual machine?

Do you think the logs size of 90gb is the reason email is slow or there is something else to it?
0
Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

 
5g6tdcv4Commented:
Well you can use passthrough on your vm host to physically present a USB hdd to the vm, and then use backup exec 2010 R3 to do the backup or use windows backup, although backup exec is best

I doubt the log files are causing the slowness but it will not hurt to remove them
You can also run exchange BPA to see if there are any configuration issues with your install
0
 
davorinCommented:
Exchange aware backup is that one that flushes logs at the end.
You can backup exchange server to file on disk drive that is accessible by virtual machine.
The size of log files is not necessary the reason of slowness. Try to flush log files first and you will see.
0
 
klajdiAuthor Commented:
Davorin how do I flush logs? And Do i need to backup the logs before I flush them?
0
 
5g6tdcv4Commented:
The backup flushes the logs automatically
0
 
5g6tdcv4Commented:
And no you do not need to backup the logs. They are already committed to the database. They will sit there until the backup program marks the database as backed up and then the backup program deletes/flushes the log files
0
 
davorinCommented:
5g6tdcv4 answered your question.
0
 
chakkoCommented:
As the others have mentioned circular logging.  I would enable the circular logging and this will delete the log files.
You can disable circular logging later if you want to, it's just a checkbox setting.  You need to dismount/remount the mailbox for the change to take effect.

The only downside of circular logging is that if your database gets badly damaged or your server is lost.  Then your email database will be at the last time you made a backup (VHD or Exchange backup).  Any mail since that backup time is lost.
If you don't use circular logging then you could/should be able to restore the Exchange backup database and together with the log files you will recover the current email.  So if that 1 day of email (guessing you make daily backups of VHD) is important you should add an Exchange backup to your strategy and keep circular logging disabled.
0
 
klajdiAuthor Commented:
Where is the checkbox setting to enable circulat logging?
0
 
5g6tdcv4Commented:
In the exchange management console go to organization config, select mailbox, right click the database, go to properties, select maintenance tab.
0
 
klajdiAuthor Commented:
Chakko

I have enabled circular logging, so how long does it take for the tranactions logs to flush automatically after enabling it?
0
 
davorinCommented:
"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."

From first link I have posted.
0
 
klajdiAuthor Commented:
I've requested that this question be deleted for the following reason:

none
0
 
davorinCommented:
I don't agree that the question is deleted, because the author got all needed and possible answers.
0
 
5g6tdcv4Commented:
I concur
0
 
Delphineous SilverwingGood Ol' GeekCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 6
  • 5
  • 5
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now