BackupExec Not Purging Exchange 2007 Transaction Logs

Posted on 2013-01-12
Last Modified: 2013-01-14

We're running Exchange 2007 SP3 with multiple storage groups ('A-C users', D-F users' etc) I've just noticed that the 'Y-Z Users' groups has 1000s, of transaction logs in it, roughly 667,000, compared to a few 100 in all of the other storage group folders.

We do daily & weekly backups using BackupExec 2010 R3, and the last backup of this storage group was today, so the logs should have been purged. I have the backup settings set to 'full database & logs (flush commit logs)' however it doesn't seem to be happening for this storage group! Is there an issue with Backup Exec? Is there a way to purge them manually?

Any suggestions appreciated

Question by:bjblackmore
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
  • 2
  • +2

Expert Comment

ID: 38770025
Do you have the Advanced File Option licensing enabled? If so, there's a box "Process Logical Volumes for backup..."

This needs to be unticked for everything to purge properly. If you don't have the licensing for AOFO and the box is greyed out and ticked, it won't be causing an issue (obviously).
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38770029
Look backup dont purge logs for many a reasons

1. If there is some missing or affected log
2. Was there some LCR or SCR for this DB not working or down ?
3. Is this the only DB in this SG ?

- Rancy

Author Comment

ID: 38770033
We don't currently use AOFO although I think we're licensed, but we unticked the option last use due to another issue (if I remember correctly).

So, would you recommend enabling AOFO, but unticking 'Process Logical Volumes' or just leave it all disabled?

It only appears to be the one storage group having the issue, the other 12 appear OK, and only have 100-200 logs, dated today, compared to Y-Z Users which seems to date back nearly a year!

Is it possible these 600,000+ log files are just orphaned and can simply be deleted? I found an MS article on how to check with Exchange 5.5, 2000, & 2003, but not for 2007!
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.


Author Comment

ID: 38770036
This is the only database in the storage group.
It is in an LCR cluster, but there haven't been any issues with it going down. Only time it's gone down is for scheduled maintenance, and then we move to the passive node in a controlled manner!

Expert Comment

ID: 38770038
I think it can be left "as is" - without the setting enabled, it wouldn't be affecting the backup set.

Does the cmd command "vssadmin list writers" shed any light on it (I can't recall whether that would address the individual storage groups)
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38770043
I would simply enable Circular Logging Restart IS after production hours Disable Circular Logging again and then restart IS and this should take care of backup purge logs for that DB

- Rancy

Author Comment

ID: 38770047
vssadmin list writers reports all OK.

@Rancy: I will try your suggestion this evening, and report back.
LVL 25

Expert Comment

by:Tony Giangreco
ID: 38770056
Yes, check the VSS writers. They should all be working properly and porting no errors.

Also, make sure Backup Exec is fully updated. run Live Update and apply all updates.

What version of BE are you running?
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38770164
I am a bit off why are we checking with VSSWriters or others as only one is affected whereas all rest is working fine :(

- Rancy

Author Comment

ID: 38770771
OK, this eveing I've enabled Circular Logging, restarted the Information Store, then disabled Circular Logging and restared the Information Store again. However there are still 667,000+ e***.log files in the folder.

I'm thinking that this have to be orphaned files surely!?

BE version as said is BE 2010 R3! With 6 hotfixes applied!

Expert Comment

by:Sumit Gupta
ID: 38770938
1. Disable LCR and Re-enable LCR.
2. Run a full backup again to confirm if it deletes the old logs and replays logs to the database ( event id: 916).
3. Output of Get-Storagegroupcopystatus command: The CopyQueueLength and ReplayQueueLength will now show 0 and the number of log files as 50. ( Note: The number 50 is hardcoded.)


Author Comment

ID: 38770953
Results of Get-Storagegroupcopystatus from earlier today:

Name                      SummaryCopyStatus       CopyQueueLength         ReplayQueueLength      LastInspectedLogTime  
----                      -----------------       ---------------         -----------------      --------------------  
A-B-C Users Storage Group Healthy                 0                       0                      12/01/2013 14:36:03  
D-E-F Users Storage Group Healthy                 0                       0                      12/01/2013 14:35:53  
G-H-I Users Storage Group Healthy                 0                       0                      12/01/2013 14:36:03  
J-K-L Users Storage Group Healthy                 0                       0                      12/01/2013 14:34:53  
M-N-O Users Storage Group Healthy                 0                       0                      12/01/2013 14:36:03  
P-Q-R Users Storage Group Healthy                 0                       0                      12/01/2013 14:35:53  
S-T-U Users Storage Group Healthy                 0                       0                      12/01/2013 14:35:53  
V-W-X Users Storage Group Healthy                 0                       0                      12/01/2013 14:36:13  
Y-Z Users Storage Group   Healthy                 0                       0                      12/01/2013 14:35:53  
VIP A-M Users Storage ... Healthy                 0                       0                      12/01/2013 14:35:03  
VIP N-Z Users Storage ... Healthy                 0                       0                      12/01/2013 14:35:33  
Archived Users Storage... Healthy                 0                       0                      12/01/2013 13:07:03  
Public Folders Storage... Healthy                 0                       0                      12/01/2013 14:35:03  

Currently running a full backup, but it can take a few hours!
LVL 52

Assisted Solution

by:Manpreet SIngh Khatra
Manpreet SIngh Khatra earned 500 total points
ID: 38771804
So if Circular Logging didnt help these files dont seem to be a part of the live DB
Are you having LCR for all DB's ?

- Rancy

Author Comment

ID: 38772157
Yes, all DBs setup in the same way. Only this one has the issue.

Creating a new backup job just for this storage group, and setting it to purge the log files didn't help.

I've also tried following the steps in the below URL, but that didn't help:

As you say, these don't appear to be part of the live DB, and must be orphaned files. I'm thinking that deleting every file older than a month is the only way to go! Just hope it doesn't have any detrimental effect!
LVL 52

Accepted Solution

Manpreet SIngh Khatra earned 500 total points
ID: 38772298
I would say one more suggestion

Dismount the DB
Stop Information Store service
Move all logs for this DB to another location (.log .jrs .tmp .chk) anything apart from .edb

Start Information Store service, DB's should mount and now check with Backup

- Rancy

Author Closing Comment

ID: 38773728
Performed the steps suggested to clear out the orphaned E*.log files. Exchange has recreated a new set of E*.logs, whicch currents counts as 365, rather than the previous 667,000+. Hopefully this will resolve the issue, and they won't grow to that volume again!

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Remote Powershell Issue 3 33
exchange 2007 9 17
Auto BCC 8 27
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Microsoft will be releasing the Windows 10 Creators Update in just a matter of weeks. Are you prepared? Follow these steps to ensure everything goes smoothly and you don't lose valuable data on your PC.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…

730 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