Solved

Truncate Exchange Logs

Posted on 2011-09-27
7
457 Views
Last Modified: 2012-06-27
Hey,

I'm after a method to truncate exchange logs for an exchange 2007 (sp1) running on Server 2008 Standard 64bit sp2. Have previously used NTBackup to do the task in server 2003 but this doesn't seem to be an option. Tried to use the built in backup software for 2008 but it wouldn't truncate the logs. Any help?    
0
Comment
Question by:LogicalSolutionsNZ
7 Comments
 
LVL 22

Expert Comment

by:chakko
ID: 36714242
Can you give some information on how you did the backup.

With Windows backup you want to backup with the VSSFull backup option.  During the backup job setup click the Advanced button and check the backup for VSSFull backup.
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36714284
Yes there is no NTbackup now.
It was replaced bt Windows Backup Utility.
Just go to start menu and type backup.
It will open and you can schedule backups and do everything as before.
If you dont find it yu have to add this feature using server manager console --> add feature.

Go through this article and you will get a good idea about this new feature
0
 
LVL 17

Expert Comment

by:lucid8
ID: 36718789
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

Author Comment

by:LogicalSolutionsNZ
ID: 36922123
I followed the 'howtoexchange' link above but trucating still failed. Looked into it further and found that circular logging was enabled (which is meant to automatically truncate the logs as it goes) but it wasn't working. With circular logging enabled it causes all kinds of problems for VSS truncating.

Found that the reason circular logging wasn't working was that it was not enabled on all the stores. Have enabled that and just need to test for a bit now. Will use the methods mentioned above (and disable circular logging) if it continues to play up.

Thanks
0
 
LVL 17

Expert Comment

by:lucid8
ID: 36922215
Excellent thanks for.the update
0
 
LVL 22

Accepted Solution

by:
chakko earned 500 total points
ID: 36922517
Circular logging can be enabled on a per store basis (storage group). It doesn't need to be ALL enabled.  

When was the last time the server was restarted or the Exchange services.  If the Circular logging was changed to enabled, but the required service not restarted (or the store unmount/mount), then it has not been made active and you will have all of the logs files still.  After it is made active then it will reduce the log files.

Also, if you still have a problem then something to consider is that the circular logging feature should not be any problem in regards to the backup.
I have circular logging enabled on some Exchange Servers and I don't have any problems with Backups (VSSfull or VSSCopy).

0
 
LVL 17

Expert Comment

by:lucid8
ID: 36924173
Could be that all the databases in the same group need circular logging, but if they are in an alternate group with a different log path it shouldn't matter
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question