clearing out log files EX2007
How do i clear out the log files in exchange 2007?in EX2003 you can select to delete log files older than 30 days but i cant find anything like that in 2007. Im guessing its in the command shell somewhere...
August 15th, 2007 8:46am
its a Exchange Management Shell cmdlet
are you talking about message tracking logfiles?
its default to 30 days.
run 'Get-TransportServer | fl'
and look for 'MessageTracking....'
Change setting with 'Set-TransportServer -MessageTrackingLogMaxAge x' where x is the number of days you want.
Free Windows Admin Tool Kit Click here and download it now
August 15th, 2007 11:46am
no not the message tracking logs i think they are called storage group logs... the files are like this E00000000A0.logE0000000A00.logE0000000A0A.logif you expand server config, click mailbox, the right click first storage group, and point to move storage group path, that shows you the location of the logs... these are the ones i wish to clear as they are getting to be quite large in size.
August 16th, 2007 3:49am
Those logs are called transaction log files. Each Storage group has its own logs and they are used by the database engine, Dont fiddle with them manually
They should be deleted by Exchangewhen an Exchangebackup is completed.
a lot of information about database functionality is in http://technet.microsoft.com/en-us/library/aa998848.aspxand subsections
Free Windows Admin Tool Kit Click here and download it now
August 16th, 2007 10:10am
ah i see.so these should be deleted automaticlly after a full backup?they probably havent been deleted yet since we are not yet backing up the EX2007 server. (still testing)
August 17th, 2007 3:04am
You can use NTBackup to backup Exchange Information Store
Free Windows Admin Tool Kit Click here and download it now
August 17th, 2007 10:22am
Just make sure thatyou are selecting the Exchange Server backup rather than trying to back up the files directly via the file system. These are found under the Microsoft Exchange Server selection in the Windows Backup utility.
August 17th, 2007 8:44pm
Ok for Windows 2003 Server but if I have Exchange 2007 on Windows 2008, I cannot use NtBackup. Can clear the transaction log with Windows 2008.
Thanks for your help
Free Windows Admin Tool Kit Click here and download it now
July 3rd, 2008 9:15pm
You have to use another backup software to make Exchange backups and it will also purge the transaction log the same way ntbackup does on Windows 2003.
If you're in a hurry you can use DPM, I would preffer that, otherwise you must wait a while forMicrosoft to create something for Windows 2008, here is more info http://msexchangeteam.com/archive/2008/03/05/448338.aspx
and here http://msexchangeteam.com/archive/2008/06/18/449031.aspx
July 4th, 2008 7:55am
If Exchange 2007 is on Windows 2008, then you need install the feature called "Windows Backup". Open Server Manger | Features | Add feature | select Windows Backup
Once it is installed, you can run Backup and take Exchange 2007 backup which can purges all transaction logs.
Free Windows Admin Tool Kit Click here and download it now
July 8th, 2008 1:28am
In addition to the backup option (which is not the best for test environments). You could enable circular logging. This will ensure that Exchange overwrites the same set of transaction logs, reducing the drive space requirements. However, please keep in mindthis should not be used in production. Here is a technet on how to actually enable circular logging on Exchange 2007:
http://technet.microsoft.com/en-us/library/bb331968(EXCHG.80).aspx
-matt
July 8th, 2008 2:32am
Here is a really good thread on backing up E2K7 SP1 running on W2K8.
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2934600&SiteID=17
Free Windows Admin Tool Kit Click here and download it now
July 8th, 2008 2:51am