Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Exchange mailbox disable after backup
New Posts  All Forums:Forum Nav:

Exchange mailbox disable after backup

post #1 of 5
Thread Starter 
We had a database get dismounted and deleted accidentally, as a result, user lost access to their mailboxes.
Fortunately I had a backup of just the .edb, .chk and .log files, which I was able to use eseutil against to repair and arrived at a clean shutdown state for the .edb file.
So what I did was, I went back into Exchange Console, created a new database under the same name "DB1" as the one that was deleted before it, and specified the folder to use. Left it dismounted. I've also got the "this database can be overwritten by a restore" checked.
I then copied over the restored .edb and .chk files to the folder the new database using the same name was under, and then I mounted the new database DB2 and it said it mounted successfully.
The .edb file is 127GB, and I know there are mailboxes on it, however, I cannot see any mailboxes in the "Recipient Configuration > Mailbox" when I drill down to this new database.
How do I get these mailboxes to show back up?
I can browse the .edb with a third party tool, so how can I get the same mailboxes to "show up" inside the Exchange Management Console?
I see nothing under "Disconnected mailbox" either.
post #2 of 5
Try Disable the mailbox, then "Connect-mailbox" for them accordingly.
First mount existing DB and allow overwrite checked on the DB properties.
Then run in powershell:
Get-MailboxDatabase | Clean-MailboxDatabase
Then go into a DC and open AD Sites & Services and trigger Replicate Now on a DC within each relevant group of DC's.
Check Disconnected Mailboxes in the EMC and you should start to see the disconnected mailbox users.
Then run this command, changing the database accordingly:
get-mailboxstatistics -database DB2 | where { $_.DisconnectDate -ne $null } | connect-mailbox -database DB2 -DomainController subDC.subdomain.com
Open in new window
- Use DomainController it if you're erroring out on all the users and suspect the users are in the sub-domain.
Errors will also be reported for those AD users who are "Disabled" in AD.
If this doesn't work then try to restore via Exchange Server Recovery Toolbox. This tool may help you. http://www.oemailrecovery.com/exchange_server_recovery.html
post #3 of 5
Visit this great source for additional information. Maybe will find something useful in that issue.
http://www.fixya.com/support/t25426221-restore_emails_from_edb_file
post #4 of 5
Thread Starter 
Thank you buddy for your help and time. your recommendations are very useful. the issue is resolved.
post #5 of 5
It is interesting theme, because of this resolution...
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Exchange mailbox disable after backup