• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 86
  • Last Modified:

Compressed File attribute set on Exchange EDB file...

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
medium_grade
Asked:
medium_grade
  • 4
  • 3
  • 3
  • +1
1 Solution
 
AmitIT ArchitectCommented:
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
 
medium_gradeAuthor Commented:
If I force mount it, will it have problems if the file is compressed?
0
 
AmitIT ArchitectCommented:
I don't see any issue in force mount. I did it several times.
0
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

 
Scott CSenior Systems EnginerCommented:
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
 
Simon Butler (Sembee)ConsultantCommented:
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
 
medium_gradeAuthor Commented:
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
 
AmitIT ArchitectCommented:
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
 
Scott CSenior Systems EnginerCommented:
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
 
medium_gradeAuthor Commented:
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
 
medium_gradeAuthor Commented:
Moved the DB to another location without compression. Checked it, move it back and it mounted!
0
 
Scott CSenior Systems EnginerCommented:
Sorry I didn't get back to you sooner.

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

Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

  • 4
  • 3
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now