• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Replacing .edb file Exchange 2010

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2010] >> General >> Replacing .edb file Exchange 2010 Page: [1]
Login
Message << Older Topic   Newer Topic >>
Replacing .edb file Exchange 2010 - 25.Aug.2011 6:59:23 AM   
myazuid

 

Posts: 12
Joined: 19.Feb.2010
Status: offline
Hi,

We had a raid controller go nuts on us a couple of days ago. The main database has been wiped.. or has become corrupted. The only way we can now restore is to use an old copy we have of the .edb file (a few days prior to the incident). If we simply swap the corrupted file out for the old copy, will Exchange pick it up ? Or do we need to take any further steps ?

Many thanks in advance.
Post #: 1
RE: Replacing .edb file Exchange 2010 - 25.Aug.2011 8:30:06 AM   
travis.sheldon

 

Posts: 359
Joined: 16.Sep.2010
Status: offline
It'll depend on the health of your copy.

Are your current log files corrupted? If not, you have the following option available to you:

1. Restore edb file to 'original' location
2. Open cmd and cd to the edb directory
3. Run: eseutil /mh 'database name.edb'

If eseutil reports that the database is in a clean state (Not dirty) then you can use the current log files to update the database to the state it was in before corruption (as far as the logs go)

If you dont care about the mail from the backup until the corruption, then you can tell Exchange to allow file restore on the database, move the current log files, and then mount the database.

Let me know which route you'd like to go.

(in reply to myazuid)
Post #: 2
RE: Replacing .edb file Exchange 2010 - 25.Aug.2011 8:49:08 AM   
myazuid

 

Posts: 12
Joined: 19.Feb.2010
Status: offline
Hi,

Thanks for the fast response. We don't really care about the email between... think the log files are corrupt anyway.

So we'll be going for the second option. Would you be able to elaborate on telling Exchange to allow file restore on the database ?

Many thanks

(in reply to travis.sheldon)
Post #: 3
RE: Replacing .edb file Exchange 2010 - 25.Aug.2011 9:30:10 AM   
myazuid

 

Posts: 12
Joined: 19.Feb.2010
Status: offline
Just found this, database portability :

http://technet.microsoft.com/en-us/library/dd876926.aspx

Is that what you mean ?

(in reply to myazuid)
Post #: 4
RE: Replacing .edb file Exchange 2010 - 25.Aug.2011 9:39:47 AM   
travis.sheldon

 

Posts: 359
Joined: 16.Sep.2010
Status: offline
quote:

ORIGINAL: myazuid

Just found this, database portability :

http://technet.microsoft.com/en-us/library/dd876926.aspx

Is that what you mean ?



It's actually easier in this case because he's just reverting to a backup.



Restore the EDB file and move all the files in your DB log folder to another server (for backup)

Run the eseutil /mh that I described above..if it reports clean shutdown then proceed with the following:

Run the following command in Exchange Shell

Set-MailboxDatabase "Database Name" -AllowFileRestore:$true

Then mount the database.

(in reply to myazuid)
Post #: 5
RE: Replacing .edb file Exchange 2010 - 25.Aug.2011 9:49:42 AM   
myazuid

 

Posts: 12
Joined: 19.Feb.2010
Status: offline
great ok. We are currently running an eseutil on the public folder database. Will let you know how we get on.

Thanks a lot for the help.

(in reply to travis.sheldon)
Post #: 6
RE: Replacing .edb file Exchange 2010 - 25.Aug.2011 10:41:23 AM   
myazuid

 

Posts: 12
Joined: 19.Feb.2010
Status: offline
Hi,

When we try and mount the public folder database, after the eseutil we are getting this error:

mapiexceptionjeterror tableduplicate: unable to mount database

Any clues ? can't find anything on Google. We ran eseutil /p with the log files in the directory. Would it help to remove the log files and then run the eseutil again ?

Thanks

(in reply to myazuid)
Post #: 7
RE: Replacing .edb file Exchange 2010 - 25.Aug.2011 11:23:58 AM   
travis.sheldon

 

Posts: 359
Joined: 16.Sep.2010
Status: offline
Do eseutil /mh "publicfolderdb.edb" from the directory of the public folder database

If it shows clean shutdown then yes, move the contents in the log folder elsewhere. To be safe, I always set the -AllowFileRestore:$true after any repair

Get-PublicFolderDatabase | Set-PublicFolderDatabase -AllowFileRestore:$true

If it shows dirty shutdown and you've already run eseutil /p, then it's probably corrupted beyond repair.

(in reply to myazuid)
Post #: 8
RE: Replacing .edb file Exchange 2010 - 25.Aug.2011 11:42:18 AM   
myazuid

 

Posts: 12
Joined: 19.Feb.2010
Status: offline
Hi,

Yes it does say clean shutdown. We didn't change the allowfilerestore setting though. We are just running a second repair on it, so once complete we will try that setting.

Thanks again.

(in reply to travis.sheldon)
Post #: 9
RE: Replacing .edb file Exchange 2010 - 25.Aug.2011 12:02:07 PM   
myazuid

 

Posts: 12
Joined: 19.Feb.2010
Status: offline
No good unfortunately. Still the same error. The eseutil /p came back after the first scan and said integrity is fine.

Seems isinteg doesn't exist in exchange 2010 anymore, only the cmdlet for repairing public folders, which only works when the DB is online!

(in reply to myazuid)
Post #: 10
RE: Replacing .edb file Exchange 2010 - 25.Aug.2011 1:47:56 PM   
travis.sheldon

 

Posts: 359
Joined: 16.Sep.2010
Status: offline
Please paste the full error you're getting when you try to mount the db

(in reply to myazuid)
Post #: 11
RE: Replacing .edb file Exchange 2010 - 26.Aug.2011 4:46:10 AM   
myazuid

 

Posts: 12
Joined: 19.Feb.2010
Status: offline
Hi Travis,

Thanks for all your help. We have decided to revert back to an older backup where the database files are intact. It is unfortunate, but we ran out of time and options.

Do you know whether, if we reconnect Outlook to this old version of Exchange, the missing email from the server will be filled by peoples' Outlook OST files ? I am assuming it would be ?

(in reply to travis.sheldon)
Post #: 12
RE: Replacing .edb file Exchange 2010 - 26.Aug.2011 9:52:44 AM   
travis.sheldon

 

Posts: 359
Joined: 16.Sep.2010
Status: offline
Unfortunately not..

Outlook will enter into dial tone mode and will prompt your users to either "Use old data" or "Use temp data" because the mailbox content in the OST does not match the server.

If users select use old data, Outlook will read their OST file, but will not download/save any new messages. If you select use temp data, Outlook will download the new profile.

You'll want to get all users to select "Use old data" and perform a PST export of their mail.

After their mail is exported, the safest thing to do is create a new profile in Outlook and import the mail. You can edit their current profile and delete the OST file, but once you unlink the OST, there is no reverting.

(in reply to myazuid)
Post #: 13
RE: Replacing .edb file Exchange 2010 - 16.Mar.2015 4:45:03 AM   
redmonalevice

 

Posts: 9
Joined: 16.Mar.2015
Status: offline
Exchange edb recovery software is an effective and easy to use tool. It can easily convert edb to pst format and restore database from exchange server. I would like to refer http://www.repairexchange.org/ for fix issue.
Post #: 14
RE: Replacing .edb file Exchange 2010 - 26.Sep.2016 5:16:20 AM   
annabeleva042

 

Posts: 10
Joined: 26.Sep.2016
Status: offline
Exchange 2010 EDB Recovery Software is capable to repair whole types of EDB File errors and replace EDB File to PST, EML, MSG and HTML with inbox, outbox, sent mail, draft, image header, appointment etc. This EDB Recovery Software provides the message filtering ability to recover EDB Emails to Outlook according to dates “from date” to “to date”..


Get More Information So Click Here :- EDB Recovery Tool
Post #: 15
[Deleted] - 10.Jul.2017 6:08:37 AM   
Deleted User
[Deleted by Admins]

(in reply to annabeleva042)
  Post #: 16
[Deleted] - 5.Aug.2017 6:54:06 AM   
Deleted User
[Deleted by Admins]

(in reply to Deleted User)
  Post #: 17

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2010] >> General >> Replacing .edb file Exchange 2010 Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter