Avatar of Barry Fields
Barry FieldsFlag for United States of America asked on

Deleting Exchange databases

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
ExchangeEmail Servers

Avatar of undefined
Last Comment
Barry Fields

8/22/2022 - Mon
Sajid Shaik M

Amit

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.
ASKER
Barry Fields

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?
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Amit

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
hecgomrec

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!!
ASKER
Barry Fields

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.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Amit

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.
ASKER
Barry Fields

i understand, totally forgot about the AD connection, the mailboxes must be moved, understood
Amit

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:
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
ASKER CERTIFIED SOLUTION
Barry Fields

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question