Solved

Exchange Server Issue

Posted on 2014-03-02
24
197 Views
Last Modified: 2014-03-31
We have a server that stopped receiving emails due to HD capacity issues.  We moved the QUEUE processing to another partition to make email flow temporarily.  The database HD partition is at 1.79 TB of 1.81 and filling up fast.  We tried backing up using windows to clear the 700K+ log files but it failed.  I tried Shadowprotect server but it also failed.  I'm thinking there are problems with hardware.  We want to migrate but can we?

I personally wanted to clear all the log files before trying to migrate, but that's not working.  Can we dismount the database and delete all the log files?

considering the situation.  What would be the recommended approach?

the server is also the DC/Exchange/Endpoint Protection server/etc... I know - big issue.  Right now the critical issue to backup Exchange but it's not working and I'm sure I will run into big issues migrating. Running 2008 R2.
0
Comment
Question by:Anthony H.
  • 12
  • 10
24 Comments
 
LVL 76

Accepted Solution

by:
Alan Hardisty earned 500 total points
ID: 39899766
If you enable Circular Logging that will clear the log files and then you MUST immediately backup the server.

http://henrysluiman.blogspot.co.uk/2012/02/enable-circular-logging-in-exchange.html

That will allow your mail to flow and should sort out your disk space problems.

Once the backup is complete, you should disable circular logging and then investigate why your backups are not purging your log files.

Alan
0
 
LVL 2

Expert Comment

by:ssmith81
ID: 39900237
Agreed with Alan on few points.
Set-MailboxDatabase -CircularloggingEnabled:$true
By using above cmdlet, you will be able to enable circular logging and then take the backup of server. (You needn't do Dismount/Mount for DB's which are members of DAG with two or more copies, after enabling Circular Logging. )
0
 

Author Comment

by:Anthony H.
ID: 39902422
what could/will happen if I enable circular logging and it won't backup for X reasons?
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 39902617
You won't be able to restore Exchange and replay all messages received since the last backup!

Worst case, try a trial of BackupAssist and get the server backed up with that.

Alan
0
 

Author Comment

by:Anthony H.
ID: 39905359
Thanks Alan - i'll try BackupAssist.  I've already tried Symantec, windows, and shadowprotect but no luck.
0
 

Author Comment

by:Anthony H.
ID: 39905548
what happens if I delete really old logs? or move them to another drive?  

will exchange crash?
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 39905696
It won't crash, but you can't replay them if the server dies and your backup is old, so there is the potential to lose data.  Worst case, move them to a different server / hard disk / computer or enable Circular Logging, then install BackupAssist and shout if that gives you trouble and get backing up the server.

Alan
0
 

Author Comment

by:Anthony H.
ID: 39905701
I tried to install BA and it errored out too.  something about VSS time out. can I move log files without dismount or stopping exchange services?
0
 

Author Comment

by:Anthony H.
ID: 39905713
WTH!  It has reached over 1 million log files!

any ideas? still circular loggin?
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 39905747
Ouch!  Yes - you can move the log files as they have been written and are just for reference.

If you can move them, please move them, otherwise enable Circular logging and then get fixing the backup problems.
0
 

Author Comment

by:Anthony H.
ID: 39913645
so why can't I leave circular login ON?  Do I have a timeframe to disable back?
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 39913648
You can leave it on, but it means you don't keep the logs, so IF there is a problem and you need to recover from your last backup, you will end up losing data.

It's not a problem as long as you have good, regular, reliable backups.
0
 

Author Comment

by:Anthony H.
ID: 39913658
I plan on migrating data to new server over the weekend. can I leave circular login ON while migrating?
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 39913666
Absolutely - and it's a good idea to enable circular logging when you are migrating so you don't fill up the disk with tons of logs anyway, so in that case, just enable away and get migrating.
0
 

Author Comment

by:Anthony H.
ID: 39913672
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 39913678
Looks about right.
0
 

Author Comment

by:Anthony H.
ID: 39913876
it wants me to dismount and remount DB. is that ok?
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 39913915
Yes - it needs to or it can't enable circular logging.
0
 

Author Comment

by:Anthony H.
ID: 39913998
do I need to have circular loggin enabled on the new server before migrating?
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 39914375
It saves writing a ton of logs on there too, so it is a good idea.
0
 

Author Comment

by:Anthony H.
ID: 39915460
are mailbox moves a lot slower if I have circular loggin enabled on the destination server? I had to enable it to move the database to another partition and my mailbox moves seem to be taking a lot longer.
0
 

Author Comment

by:Anthony H.
ID: 39917863
Can I disable circular loggin and not have a problem??? mailbox moves are SUPER SLOW.

I had to move the database to another partition so I had to enable circular login on the DESTINATION server too.  Is it OK if I disable it to make the transfers faster?
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 39917967
You will interrupt the transfers if you change and restart the store service mid-transfer, so pause the remaining ones, then enable circular logging and then restart the store and unpause the transfers.  Not ever noticed the speed increase / decrease with/without logging as I usually set the transfers up and then get on with something else on another system!
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Distinguished username as email address 4 40
BgInfo help 5 57
Exchange server licensing 2 36
Mail Exchanger (MX) Record 5 29
The new Gmail Phishing Scam going around is surprising even the savviest of users with its sophisticated techniques.
In-place Upgrading Dirsync to Azure AD Connect
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
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 https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

685 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