Solved

Exchange 2010 Transaction Log Files filling up

Posted on 2011-09-27
28
681 Views
Last Modified: 2012-05-12

Hi,

I have Exchange 2010 running on Windows 2008 R2.
The issue Im having is that the transaction logs are filling up fast.

it is save to use Enable Circular Logging and How can use
0
Comment
Question by:etwalttech2011
[X]
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
  • 13
  • 8
  • 7
28 Comments
 
LVL 12

Accepted Solution

by:
Deepu Chowdary earned 500 total points
ID: 36709109
Circular logging rewrites the logfiles instead of creating new logs once they are commited.
You can find circular logging in storage group properties. Just check the box and restart the information store or dismount and mount the store once..
You also can do that using shell by running this command


Set-StorageGroup -Identity "First Storage Group" -CircularLoggingEnabled $true
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36709119
Also its not safe for using in production environment as if circular logging is enabled, you can recover data only up until the last full backup.
0
 

Author Comment

by:etwalttech2011
ID: 36709187
Hi,

still I don't have any backup solution and I used windows buckup but nothing  now after I use the above solution sure the Transaction Log Files cleaning and I can turn off when I finish just as a temporary solution

thanks
0
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.

 

Author Comment

by:etwalttech2011
ID: 36709194

I cant take any backup for exchange so I can do it or no?
0
 

Author Comment

by:etwalttech2011
ID: 36709206
Navigate to the "Maintenance" tab
Below you’ll find-"Enable Circular Logging"
Go ahead and put a check mark next to it.
Click Apply
Unmount the store
Remount the store
*POOF* Log files are gone!
Noe again open “Maintenance” for same database
Below you’ll find-"Enable Circular Logging"
Go ahead and uncheck next to it.
Click Apply
Unmount the store
Remount the store
0
 
LVL 49

Expert Comment

by:Akhater
ID: 36709207
Do not enable circular loggin it is much neter to just backup using windows backup
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36709213
Ok., yes just uncheck the circular logging checkbox and restart information store or dismount and mount the store.
0
 
LVL 49

Expert Comment

by:Akhater
ID: 36709229
once again do not enable cicular logging  follow my article to backup up using the built in tool of windows

http://www.simple-talk.com/sysadmin/exchange/backing-up-exchange-2010-for-free/


if you still want to enable circulat logging run the below it should do all the steps for you

get-mailboxdatabase | set-mailboxdatabase -CircularLoggingEnabled:$true
restart-service msexchangeis
get-mailboxdatabase | set-mailboxdatabase -CircularLoggingEnabled:$false
0
 

Author Comment

by:etwalttech2011
ID: 36709292

please check the attached PIC


EX2.PNG
EX3.PNG
EX1.PNG
0
 

Author Comment

by:etwalttech2011
ID: 36709297

 I cant take backup I need fast soluotion for today
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36709310
then the circular logging is the way
0
 
LVL 49

Expert Comment

by:Akhater
ID: 36709315
you still have 63 gb you have nothing alarming, take a backup just follow my tutorial

if you don't want I gave you the commands to run

get-mailboxdatabase | set-mailboxdatabase -CircularLoggingEnabled:$true
restart-service msexchangeis
get-mailboxdatabase | set-mailboxdatabase -CircularLoggingEnabled:$false
0
 

Author Comment

by:etwalttech2011
ID: 36709332

it is save or maybe loss some emails & what your recommendation enabled circular logging and when I finish I disable or keep it enable
0
 
LVL 49

Expert Comment

by:Akhater
ID: 36709337
is it safe ? Not really, but you are safe as long as you don't have any crash

my recommandation is that you take a backup and not enable circular loggin at all, if you insist then run the commands i gave you
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36709338
Disable it, it was not recomended for production environments as if circular logging is enabled, you can recover data only up until the last full backup.
0
 

Author Comment

by:etwalttech2011
ID: 36709339

yesterday I have 125 GB and today 63 GB
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36709349
Enabling it is a temporary solution as said above take backup using windows backup utility ASAP
0
 
LVL 49

Expert Comment

by:Akhater
ID: 36709354
during all this time your backup wld have been runnig, your disk is only 400 gb

anyway, agian and again, it is YOUR decision, just run the commands i gave you
0
 

Author Comment

by:etwalttech2011
ID: 36709385

I will do it after 2h " end of day"

0
 

Author Comment

by:etwalttech2011
ID: 36710076

it is save to delete logs file by Manual as attached
just select the log and delete
Logs-file.PNG
0
 
LVL 49

Expert Comment

by:Akhater
ID: 36710313
no NEVER touch the files manually
0
 
LVL 12

Expert Comment

by:Deepu Chowdary
ID: 36711376
Yes as said above DONOT touch them.
0
 

Author Comment

by:etwalttech2011
ID: 36711603
Hi,

What you think if I install symantic Backup Exec 2010 R3 Trialware as a temporary solution.
0
 

Author Comment

by:etwalttech2011
ID: 36711604
Hi,

What you think if I install symantic Backup Exec 2010 R3 Trialware as a temporary solution.
0
 
LVL 49

Expert Comment

by:Akhater
ID: 36714744
why not just use the built-in backup solution ?? I gave you the link just follow it


http://www.simple-talk.com/sysadmin/exchange/backing-up-exchange-2010-for-free/
0
 

Author Comment

by:etwalttech2011
ID: 36813136
Hi,

i installed backup ecex 2010 R3 and running the job So, I'm wating the result
0
 

Author Comment

by:etwalttech2011
ID: 36898816
Hi,

the best solution is circular logging i reduce my size up to 300 GB

thanks all for support
0
 
LVL 49

Expert Comment

by:Akhater
ID: 36899536
Well the solution you accepted is wrong! There is no storage groups in exchange 2010
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.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…

724 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