Solved

Mount Exchange 2013 DB with no logs

Posted on 2014-02-26
11
359 Views
Last Modified: 2014-04-07
I had to back / restore my exchange 2013 for some hardware changes.  It was a clean shutdown so I didn't backup the huge log directory.

Now when I power up, I can't get the DB to mount - keeps looking for the logs.  I'm trying with the command:

Mount-Database -Identity ExchangeServer1.Contoso.com\MyDatabase

But when I change to my server name and my database name - I get and error that I did not enter the correct Identity.

How do I find out exactly what to put in here?  (then I can add the force command to start the DB?)
0
Comment
Question by:erikwhiteway
[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
  • 4
11 Comments
 

Author Comment

by:erikwhiteway
ID: 39889300
I droped the server name and the command will run - but still will not mount without the logs files - how do I get it to forget them and just start?
0
 
LVL 37

Expert Comment

by:Jamie McKillop
ID: 39889323
How did you perform the backup. When you say it was a "clean shutdown". Do you mean you dismounted the database then took a file level backup?

-JJ
0
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 39889326
The logs are part of the database.
You should have done an Exchange aware backup which would have flushed the logs.
As it is, you now have a broken database.

You will have to run a repair on the database using eseutil. Once the database has been repaired you should be able to mount it. However a repaired database should not stay in production, so once it is mounted I would create a new database, move all mailboxes to the new database and then drop the original.

Simon.
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.

 

Author Comment

by:erikwhiteway
ID: 39889358
It was a Hyper-V copy - but I had the logs on a separate drive - I didn't copy that drive.  So it's not so much a backup as the log drive was just lost.

eseutil confirms the DB is in a clean shutdown.

What do I need to do to just generate new log files?
0
 
LVL 37

Expert Comment

by:Jamie McKillop
ID: 39889371
You are going to have to run Eseutil /P <path to EDB> to repair the database. As Simon stated, you will then need to create a new database and move all your mailboxes.

-JJ
0
 

Author Comment

by:erikwhiteway
ID: 39889386
That seems odd that you can't just create new log files - the DB is 100%.  I remember creating new logs on the old version of exchange.

I'll run the util - but it will also take a long time.
0
 
LVL 37

Expert Comment

by:Jamie McKillop
ID: 39889400
You can't "create logs" on Exchange. Never been possible. The database needs the logs to mount. If you don't have the logs, you need to run a repair.

-JJ
0
 

Author Comment

by:erikwhiteway
ID: 39889487
I ran eseutil /p and if finished with non errors and I still can't mount.

still get can't enumerate log files error
0
 
LVL 37

Expert Comment

by:Jamie McKillop
ID: 39889509
When you restored your server, did you recreate the log drive and path? If not, you need to do that, otherwise, Exchange will be looking for the log files in a path that doesn't exist.

-JJ
0
 

Accepted Solution

by:
erikwhiteway earned 0 total points
ID: 39889530
I had a typo in the path I manually created to remake the log files.

Once I had the path created properly  - simple 'mount-database -force' worked.
0
 

Author Closing Comment

by:erikwhiteway
ID: 39982555
file path issue  - not need to scan DB
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
EXCHANGE 8 30
Exchange OWA website Redirection 7 48
exchange 2007 1 16
Exchange 2013 will not send or receive 9 24
Utilizing an array to gracefully append to a list of EmailAddresses
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
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…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

730 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