Solved

Exchange 2010 zero out Exchange database

Posted on 2014-04-17
12
287 Views
Last Modified: 2014-05-20
I am moving mailboxes to new databases and need to know if there is a easy way to zero out the present database. I would like to remove the white space with the exception of any metadata that we might need to keep running the DB.
0
Comment
Question by:techdrive
[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
  • 6
  • 5
12 Comments
 
LVL 37

Expert Comment

by:Jamie McKillop
ID: 40007087
Hello,

The only way to remove whitespace from a database is to do an offline defrag. I don't recommend you do this as it isn't without risk and will require downtime. Are you moving all mailboxes out of this database or are you leaving some behind?

-JJ
0
 
LVL 14

Expert Comment

by:Justin Yeung
ID: 40007088
http://exchangeserverpro.com/defrag-exchange-2010-mailbox-database/

explained how to defrag the database and get whitespace back.
0
 

Author Comment

by:techdrive
ID: 40007634
OK LET ME change my question. I am just only interested in zeroing out the DB. After I move the users out I just want to remove all of its reaming contents.
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 37

Expert Comment

by:Jamie McKillop
ID: 40007638
In that case, just dismount the DB and delete it in EMC.

-JJ
0
 

Author Comment

by:techdrive
ID: 40008727
well what about the metadata.
0
 
LVL 37

Expert Comment

by:Jamie McKillop
ID: 40014704
What metadata are you referring to?

-JJ
0
 

Author Comment

by:techdrive
ID: 40016072
I actually found the answer after doing some reading and receiving some assistance from you guys. I am just going to defrag the DB which will clean all the white space and relcaim it.
0
 
LVL 37

Expert Comment

by:Jamie McKillop
ID: 40017419
If you don't have any mailboxes left in the database, defragging it is a waste of time. If you want to start with a blank database in order to reuse it, just dismount the database then delete the edb and log files. Remount the database and it will create a new blank database.

-JJ
0
 

Author Comment

by:techdrive
ID: 40032907
jjmck I did exactly What you said and this works. I could not get exchange to work running the eseutil command.
0
 

Author Comment

by:techdrive
ID: 40041915
The only problem I ran into is what happens to a disconnected mailbox once I dismount, delete the DB, mount database and start over. Also what happens if I use the defrag method for cleaning white space what happens to the disconnected mailbox. For example a user was disconnected 10 days ago, and I deleted DB or defragged DB. Is this user still recoverable or am I SOL.
0
 
LVL 37

Accepted Solution

by:
Jamie McKillop earned 500 total points
ID: 40041926
If you delete the DB, you will not be able to recover a disconnected mailbox. If you defrag, you will be able to recover a disconnected mailbox.

-JJ
0
 

Author Closing Comment

by:techdrive
ID: 40077552
jmmck answers have been able to allow me the opportunity to provide a custom solution
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mailbox Delegation List 45 123
GEt users last logon time 4 24
Hybrid Exchange 6 29
Exchange 2016 CU5 10 35
Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
In this video we show how to create an Address List 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 Organization >> Ad…
To show how to generate a certificate request 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 Servers >> Certificates…

739 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