How to Use MAPI restore the email form the exchange backup database?

Apr 24, 2013 at 5:59 AM
I want to restore some emails which in the backup database (eg: Mailbox Database 1117657611), The database is created by exchange server 2010. I dismount it ,and copy the directory which named "Mailbox Database 1117657611" . Now I want use the MFCMAPI to view it content. what should I do? Thanks.
Apr 24, 2013 at 4:54 PM
MFCMAPI has no capability to mount an Exchange store. If you want MFCMAPI to view this data, put it back into Exchange and get it into a mailbox you can point a profile at.
Apr 26, 2013 at 7:17 AM
Hi SGriffin,

Thanks for your reply.
Could you tell me what I need do that  "put it back into Exchange and get it into a mailbox you can point a profile at:

I Know that when I want View the PST file . I could do this:

       use  CreateProfile() create a profile.
      SPropValue       spv;
     spv.ulPropTag = PR_PST_PATH;
    spv.Value.lpszA = (LPSTR)lpPstfile;
    hr = pMsgSvcAdmin->ConfigureMsgService((LPMAPIUID)pRowset->aRow[pRowset->cRows-1].lpProps[iSvcUID].Value.bin.lpb, 0,0,1,&spv);
but I don't Know what I should do with the exchang database(EG: Mailbox Database 1117657611.edb) file.

Please kindly help.

many thanks!!!!!!!
Apr 30, 2013 at 12:44 PM
Please don't pollute my bug database. MFCMAPI doesn't do anything with Exchange databases. MAPI doesn't do anything with Exchange databases. Like I said, if you want to look at an Exchange database, you need to put the database back into Exchange.

Your question is about Exchange 2010 backup and restore. Here's a Bing search to get you started:

I'll give you a hint though - you don't back up Exchange databases by copying the .edb files. Read this thread to get an idea why: