Recovering OSTs

by Chris Crandall 16. November 2009 14:45

OST file restore can cause data loss or duplicate mail content. The options below are some of the workarounds for getting data back into the database. There are other options like copying all the OST files from the local workstations, using OST2PST and then using exmerge to copy the data back. Other options include converting the OST file to a PST file, attaching the PST file to the user’s mailbox, ensuring the messages they need are there, removing the users out of cached mode, and allowing the user to import the messages from the PST file back into the inbox. Of these methods, with my customers, I have found that using the SCANOST application is the simplest method. I would recommend walking through a couple of the scenarios in your test lab so you can get a feel of the steps needed. If you need help setting up your lab please let me know. Make sure you take a copy of the OST file and database before doing any of the options.

Things I didn’t test:

- Large OST files

- Content Outside inbox

- Large deployment

References

How to Recover Offline Folder Information
http://support.microsoft.com/?id=195793

Restoring from an OST after Deleting the Mailbox
http://support.microsoft.com/?id=163589

About the OST Integrity Check tool

http://office.microsoft.com/en-us/outlook/HP030896241033.aspx

1. As you can tell David Crandall has 6 email messages in his inbox

clip_image001

2. Has you can also tell from the connection type the user is using Outlook Cache Mode

clip_image003

clip_image005

3. From ESM you can see that he has a total of 10 items in his mailbox

clip_image007

4. To ensure no data is added I dismounted the database. Below is the database time stamp and size

clip_image009

5. I deleted the transaction log files from the server and copied the database to a different location

6. I mounted the database

7. I sent three new email messages to David Crandall’s mailbox

clip_image011

8. I dismounted the new database and replaced the new database with the old database. I also deleted all the log files from the Exchange server

New Database

clip_image013

clip_image015

Old Database After Copy

clip_image017

9. I then mounted the old database

clip_image019

10. I closed and reopen Outlook and did a send/receive. My email message where still in my Outlook client

clip_image021

11. I than logged onto OWA to see if the message would be in DCrandall’s mailbox. As excepted the messages are not located in dcrandalls’ mailbox

clip_image023

12. Now we need to get the data from the OST file to the mailbox. We have a couple options to get this done:

12a.  We can copy the email messages to a PST file and import it back:

  • In this example we will take the email message sent by chcrand and save it off to the PST file

clip_image025

clip_image027

  • You could leave it in the PST file or move it back to the inbox

clip_image029

clip_image031

  • We can now confirm that the email message is back in the mailbox

clip_image033

clip_image035

12b.  We can make a change to the email message like adding a category

  • In this example we will be using the message from rcrandall

clip_image037

clip_image039

  • The message is now added back to the database

clip_image041

clip_image043

  • o You can then remove the category from the email message

12c.  We can use MFCMAPI and sync the OST file with the mailbox

  • o In this example we will be using the message from tcrandall
  • Open MFCMAPI or download the application from Microsoft’s website
  • Click sessions, Logon and Display Store Table

clip_image045

  • Choose the Outlook profile that has your OST file
  • Double click on Mailbox - <Your User Name>
  • Expand Root – Mailbox
  • Expand IPM_SUBTREE
  • Double click inbox
  • Select the messages that where sent after the data was lost

clip_image047

  • Right click on the email messages and select RTFSync
  • Click OK at the CALL RTFSync dialog box
  • The messages should now show up in your inbox

clip_image049

clip_image051

12d.  I think the easiest way is running SCANOST

  • In this example I have reset the databases so all three email messages are missing from dcrandall’s mailbox

clip_image053

  • Scan all files with ScanOST

clip_image055

  • Adding all the email messages to my mailbox on the exchange server

clip_image057

Happy converting!

Tags: , , ,

Messaging | chris

Powered by BlogEngine.NET 1.5.0.7 | Log in

Calendar

<<  February 2012  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011

View posts in large calendar