Solved

Exchange 2010 zero out Exchange database

Posted on 2014-04-17
12
277 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
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.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Utilizing an array to gracefully append to a list of EmailAddresses
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
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…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

803 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