We help IT Professionals succeed at work.

Deleting Exchange databases

Barry Fields
Barry Fields asked
on
109 Views
Last Modified: 2018-11-17
I have a two server DAG and need to delete and recreate the databases due to suspected corruption. I am running Exchange 2016 and have 5 active databases. What would be the best way to systematically delete and recreate each database
Comment
Watch Question

Sajid Shaik MSystem Admin
CERTIFIED EXPERT

Commented:
AmitIT Architect
CERTIFIED EXPERT
Distinguished Expert 2017

Commented:
Do we have user on these db's? If yes, below are the preferred ways:

1) Repair the db.
2) If repair doesn't help, restore the db from backup. last best db backup.
3) If you don't have backup, then you can do dial-tone recovery, this way you will get all user back, without data. Later, you can use 3rd party tool to extract data from .edb to pst.
Barry FieldsIT manager

Author

Commented:
There are users on all of the DB's.  Can I backup the mailboxes delete the DB and then restore the mailboxes to a "clean" DB?
AmitIT Architect
CERTIFIED EXPERT
Distinguished Expert 2017

Commented:
If users are present on db, Exchange won't allow you to delete it. If DB is mountable and can be accessed, you better move mailboxes to new db.
Or options, which i suggested above, are the right way to restore the users. However, this need advance level skill or experience. i advise you to open premier Microsoft case with Sev A. MS, will be able to give you the best route for your issue.

Check my KB also: https://www.experts-exchange.com/articles/12324/How-to-Remove-First-or-Default-Exchange-2010-Database.html?headerLink=workspace_article
hecgomrecNetwork Administrator
CERTIFIED EXPERT

Commented:
Hi there!

If you have a suspicious your DBs are corrupted why will you like to backup and restore?

You should create a new DB and move the mailboxes.  Once you finished the move of all mailboxes just delete/remove the old ones.

Must likely you have the possibility to have more than 2 DB.  I will suggest you to break them down to more DB by grouping mailboxes accordingly.  Having multiple DBs will improve future restore processes just make sure to mark the DB to be able to replace them by a restore.

Just remember:  you may find impossible to delete the DB containing the arbitration mailbox if you do not move it to another DB first.

Hope that helps!!
Barry FieldsIT manager

Author

Commented:
My intention was to backup the mailboxes only, not the entire database. Delete the database, create a new on and restore the mailboxes to it.
AmitIT Architect
CERTIFIED EXPERT
Distinguished Expert 2017

Commented:
You cannot delete database with user present on it. Backing up data, doesn't mean you backed up the user. Your user reside in AD. As I already said earlier, you need MS support.
Barry FieldsIT manager

Author

Commented:
i understand, totally forgot about the AD connection, the mailboxes must be moved, understood
AmitIT Architect
CERTIFIED EXPERT
Distinguished Expert 2017

Commented:
Thanks, my intention is to give you right solution with zero issue. Once you move the mailboxes, use my KB, which i share above, How to Remove First or Default Exchange 2010 Database:
IT manager
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.