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
Solved

Compressed File attribute set on Exchange EDB file...

Posted on 2016-10-07
11
58 Views
Last Modified: 2016-10-10
Looks like the "Compress" attribute got set on one of my EDB files. Not sure how it happened, but it did. So, of course, Exchange won't mount it now. The DB looks to be in a clean shutdown state, so I'd really like to just uncompress it and move on. However, every attempt to do it from Windows GUI or the command prompt seems to just hang. The DB is about 300GB, not sure if that's why. In any event, I was thinking that I could copy the EDB file using robocopy to another location WITHOUT copying any attributes. Then delete the original, copy the uncompressed version back and attempt to mount it. Does that sound like it will work? At this point, I don't really care about saving the logs.
0
Comment
Question by:medium_grade
  • 4
  • 3
  • 3
  • +1
11 Comments
 
LVL 42

Expert Comment

by:Amit
ID: 41833860
If you have backup, restore it. Else, the way you want to try. Use PS with -force switch to mount the DB. Let me know the result.
0
 

Author Comment

by:medium_grade
ID: 41833916
If I force mount it, will it have problems if the file is compressed?
0
 
LVL 42

Expert Comment

by:Amit
ID: 41833922
I don't see any issue in force mount. I did it several times.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 30

Expert Comment

by:Scott C
ID: 41833937
You can try to copy the DB to an uncompressed drive then copy it back.

I don't see why that wouldn't work.  It should in-compress the file for you.

In any case you'll have a backup of the state the DB is currently  in.
0
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 41834068
The reason you are seeing the GUI "hang" is the size of the file. That is doing to take some time to decompress. Therefore you could just wait it out. Ignore the GUI, check task manager to see what is happening.

Even so, once you have the database decompressed and mounted I would be looking to create a new database and then move the mailboxes out of it. There could still be damage.
0
 

Author Comment

by:medium_grade
ID: 41834377
Okay, so I had to mount a blank copy of the database in the mean time so that the users who were on that DB could at least send/receive email in the mean time. What I'd LIKE to do would be to, after hours, move the original back in place, mount it, then see if I can take today's emails from that temp database and merge those in (using some EDB to PST utility or something).

What do you guys think? Assuming the original is working, would that work?
0
 
LVL 42

Expert Comment

by:Amit
ID: 41834382
It looks like you are option to perform dial-tone recovery, which is the best option, I see in your case. Once users are back up, you can simply restore the data from old back, if you have it.
0
 
LVL 30

Accepted Solution

by:
Scott C earned 500 total points
ID: 41834395
After hours you could export all of the mailboxes to .PST files, dismount that DB, bring up your old one then import the .PST files to their respective mailboxes.

In all of this, we never found out what version of Exchange you are using.

Here is how to export them...

https://technet.microsoft.com/en-us/library/ff607299(v=exchg.160).aspx

Here is how to import them...

https://technet.microsoft.com/en-us/library/ff607310(v=exchg.160).aspx

Now this is assuming of course you can mount the original DB successfully.
0
 

Author Comment

by:medium_grade
ID: 41834429
ScottCha,

Sorry to sound paranoid, but I just want to be sure I understand. You affirm my plan to move the old DB back in place after hours and import data from the newer temp database?
0
 

Author Closing Comment

by:medium_grade
ID: 41837337
Moved the DB to another location without compression. Checked it, move it back and it mounted!
0
 
LVL 30

Expert Comment

by:Scott C
ID: 41837354
Sorry I didn't get back to you sooner.

But I'm glad my first suggestion worked for you.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

The new Gmail Phishing Scam going around is surprising even the savviest of users with its sophisticated techniques.
In-place Upgrading Dirsync to Azure AD Connect
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
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…

839 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