Solved

Exchange maintenance

Posted on 2013-12-20
19
297 Views
Last Modified: 2014-01-29
I have received a request to do a maintenance on exchange 2010.

Is there any check list/recommendations on how to do the maintenance.

Your advice appreciated.
0
Comment
Question by:-MAS
  • 9
  • 6
  • 2
19 Comments
 
LVL 16

Assisted Solution

by:Carol Chisholm
Carol Chisholm earned 250 total points
ID: 39733317
maintenance can mean many things:

first would be patching. (read release notes - backup - patch - test)
It a bit more complex if there is a DAG:
http://msexchangeguru.com/2013/05/10/e2010-dag-patching/

Then there is database maintenance
Read here on the Exchange Team Blog:
 http://blogs.technet.com/b/exchange/archive/2011/12/14/database-maintenance-in-exchange-2010.aspx

And here on TechNet: http://technet.microsoft.com/en-us/library/bb691410(v=exchg.141).aspx
0
 
LVL 25

Author Comment

by:-MAS
ID: 39733611
I am sorry it is exchange 2007.
He wants to delete all his old emails by archiving. What is the best practice
0
 
LVL 16

Expert Comment

by:Carol Chisholm
ID: 39733637
Export the mails to a .pst file.
Make sure you can read the .pst file.
Make several copies of the .pst file.
Delete the old mails

This is all in Outlook. Exchange 2007 did not have Archive Mailboxes.
0
 
LVL 25

Author Comment

by:-MAS
ID: 39734405
Is there any powershell command to delete all emails before 2011 from exchange2007
0
 
LVL 16

Accepted Solution

by:
Carol Chisholm earned 250 total points
ID: 39734413
0
 
LVL 16

Expert Comment

by:Carol Chisholm
ID: 39734419
Read carefully, this is more complicated than you might think.
There are sent received and modify dates.
If you move a message to a new folder that changes it and it might not get deleted.

You probably need something like this.

Make sure you have a backup and if possible test..

Search-Mailbox -Identity <username> -SearchQuery '(Received:09/20/2012..10/12/2012)' -deletecontent
0
 
LVL 7

Assisted Solution

by:dsnegi_25dec
dsnegi_25dec earned 250 total points
ID: 39739658
Follow below article

1) Database Compaction
2) Database Defragmentation
3) Database Checksum
4) Use counter to check online maintenance is working or not.
5) White Space on regular basis
6) Check backups and perform test restores as regularly as possible
7) Check drive free space and in particular that logs are getting truncated after successful backups
 8) Install security updates on regular basis.
9) Run EXBPA before doing any changes.
10) A monitoring tool like SCOM can assist on this.


Below is technet article with complete detail

http://technet.microsoft.com/en-us/library/jj651671(v=exchg.141).aspx
0
 
LVL 25

Author Comment

by:-MAS
ID: 39744681
What is the command to delete all emails older than xx-xx-xxxx date?
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

 
LVL 16

Expert Comment

by:Carol Chisholm
ID: 39744688
For one mailbox, date format might depend on your  language settings.

Search-Mailbox -Identity <username> -SearchQuery Received:<$("mm/dd/yyyy") -deletecontent
0
 
LVL 7

Assisted Solution

by:dsnegi_25dec
dsnegi_25dec earned 250 total points
ID: 39744735
Not sure why are you looking to delete the emails for older dates. I have seen the user's when they asked their emails for longer dates sometime more than 10 years ago emails. So my personal suggestion is go for archiving solution

Any ways that's your business call.

Same thing has been discussed sometimes back in technet.

http://social.technet.microsoft.com/Forums/exchange/en-US/945fd18f-1359-4369-8b86-7d5036b6a8bf/autodelete-emails-older-than-x-30-days-on-specific-mailboxes?forum=exchangesvrsecuremessaginglegacy
0
 
LVL 16

Expert Comment

by:Carol Chisholm
ID: 39745183
But I do agree, does this user REALLY want to delete. Make an archive first and a backup in case they change their mind, or their boss or successor needs the information.
0
 
LVL 25

Author Comment

by:-MAS
ID: 39745594
@ dsnegi_25dec and carolchi
I will export the emails to PST for the entire organization and delete the old emails as there is no archive system in exchange 2007

Any suggestions or any better solution you have?
0
 
LVL 16

Expert Comment

by:Carol Chisholm
ID: 39745655
0
 
LVL 25

Author Comment

by:-MAS
ID: 39755750
I have created a new database in a newly created RAID Array and moved all the mailboxes to the new DB by skipping 100 corrupted items.

Will it help in terms of database maintenance?
Or can I tell the client that database maintenance is done?
Just wanted to know suggestions.

After this I will export the emails to PST.
0
 
LVL 16

Expert Comment

by:Carol Chisholm
ID: 39793930
The question was not at all clear - I think we have provided a lot of information for a complex question about Outlook and Exchange.
0
 
LVL 16

Expert Comment

by:Carol Chisholm
ID: 39793936
Will it help in terms of database maintenance?
- Your new database will be compact but you still need to do regular maintenance as explained above.

Or can I tell the client that database maintenance is done?
- maintenance is not a one time thing but a regular process. We are not clear what your client is looking for - there was also the question about archiving, which has been done.


Just wanted to know suggestions
0
 
LVL 25

Author Closing Comment

by:-MAS
ID: 39817613
Thanks to all
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

920 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now