Solved

Exchange 2010 zero out Exchange database

Posted on 2014-04-17
12
272 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
  • 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
 
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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create a Shared Mailbox 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 >> Sha…
To show how to create a transport rule 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 >> Rules tab.:  To cr…

929 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

15 Experts available now in Live!

Get 1:1 Help Now