Thursday, February 17, 2011

How to export a PST file in Exchange 2010 and Tivoli Data Protection Client..this will make you forget the Exmerge tool :)

Do not tell me you miss the exmerge all miss him.... So I'm glad to show and share this solution:

Pre-requisites: (all must be installed in your Mailbox server)
  1. TDP for  Microsoft Exchange client version 6.1.3
  2. TSM BA Client  version 6.2.2
  3. Update Rollup 2 for Exchange Server 2010 Service Pack 1

    http://support.microsoft.com/kb/2425179
  4. Microsoft Exchange Server MAPI Client and Collaboration Data Objects 1.2.1  http://www.microsoft.com/downloads/en/details.aspx?FamilyID=94274318-27c4-4d8d-9bc5-3e6484286b1f&DisplayLang=en
    5.  A Recovery Database doesn't exists
Check the Tivoli for Mail documentation : http://publib.boulder.ibm.com/infocenter/tsminfo/v6/topic/com.ibm.itsm.mail.exc.doc/b_dp_mail_exc_guide_win.pdf

Configure in your TDP client the DBTemp and LOGTemp directory and the CAS server (only available in the 6.1.3 version)




When you run the below command  a new Recovery Database will be created in the local mailbox server, you must provides the user name's alias to recover and the date. If you want to recover a mailbox user from another server that local you must add the /EXCSERVER switch in the command. Then the application will search the user in the catalog and the backup more closely to the date you 've indicated before. After that the application will creates the Recovery Database in your server dismounted and start the restore.
Very important take in care the permissions, be sure that the account is member of Organization Management Role and add the send as and full access permission

Add-MailboxPermission -Identity 'CN=User1,CN=Users,DC=test,DC=ca' -User 'TEST\restoreadmin' -AccessRights 'FullAccess'
Add-ADPermission -Identity 'CN=User1,CN=Users,DC=test,DC=ca' -User 'TEST\restoreadmin' -ExtendedRights 'Send-as'

From "your_installation_path\Tivoli\TSM\TDPExchange\" open the Exchange Client - Command Line and type:

TDPEXCC RESTOREMAILBOX user1 /TSMPASSWORD=Password /MAILBOXORIGLOCATION=MBX1T1,MST1DB1 /MAILBOXRESTOREDAte=02/16/2011 /MAILBOXRESTOREDESTination=PST,e:\pst\user1.pst

and this is the output

IBM Tivoli Storage Manager for Mail:
Data Protection for Microsoft Exchange Server
Version 6, Release 1, Level 3.01
(C) Copyright IBM Corporation 1998, 2010. All rights reserved.

Starting Microsoft Exchange restore...
Querying Exchange component information...
Querying mailbox information...
Connecting to TSM Server as node 'MBX1T1_EXC'...
Connecting to Local DSM Agent 'MBX1T1'...
Preparing Exchange Recovery Database...
Performing mailbox restore using closest available backup.
Connecting to TSM Server as node 'MBX1T1_EXC'...
Connecting to Local DSM Agent 'MBX1T1'...
Starting Microsoft Exchange restore...


Beginning VSS restore of 'Logs', 'MST1DB1'...

Preparing for restore of 'MST1DB1' from TSM backup.
   Files Examined/Completed/Failed: [ 3504 / 3504 / 0 ]   Total Bytes: 3966952400
VSS Restore operation completed with rc = 0
   Files Examined   : 3504
   Files Completed  : 3504
   Files Failed     : 0
   Total Bytes      : 3966952400

Querying Exchange Recovery Database...
Checking Active Directory entries...
Recovering deleted items for mailbox 'User1(user1)'. This process may take several minutes...

Restoring mailbox 'User1(user1)' to 'e:\pst\user1.pst'...

  Mailbox restore completed successfully with 59 items restored.
Removing Exchange Recovery Database...

Total mailboxes requested for restore:     1
Total mailboxes restored:                  1


And that's it...but we have several troubles and a lot of drops of transpiration poured...

1. This is because the CAS server wasn't set in the configuration.
02/17/2011 08:00:48 ANS0322E (RC5853) no text available for this return code.
02/17/2011 08:00:48 ANS0322E (RC5853) no text available for this return code.
02/17/2011 08:00:50 The operation couldn't be performed because object 'MBX1T1' couldn't be found on 'DCT1.test.ca'.
02/17/2011 08:00:50 =========================================================================
02/17/2011 08:00:50 Request                                 : Restore Mailbox Results       
02/17/2011 08:00:50 -------------------------------------------------------------------------
02/17/2011 08:00:50 Total mailboxes requested for restore   : 1                          
02/17/2011 08:00:50 Total mailboxes restored                : 0                          
02/17/2011 08:00:50 -------------------------------------------------------------------------
02/17/2011 08:00:50 ANS0322E (RC5853) no text available for this return code.
02/17/2011 08:29:50 =========================================================================


2. This is because the TDP client version should be 6.1.3

2/17/2011 05:41:16 ============================================================
02/17/2011 05:41:16 Request                           : VSS RESTORE
02/17/2011 05:41:16 Component List                    : 'Logs'(full, TSM), 'MST1DB1'(full, TSM)
02/17/2011 05:41:16 Local DSMAGENT Node               : MBX1T1
02/17/2011 05:41:16 Mount Wait                        : Yes
02/17/2011 05:41:16 ------------------------------------------------------------
02/17/2011 05:41:51 Backup(s) to be restored:
02/17/2011 05:41:51 <Logs : VSS : full : 02/16/2011 11:34:46>
02/17/2011 05:41:51 <File : VSS : full : 02/16/2011 11:34:46>
02/17/2011 05:42:02 Preparing for restore of 'MST1DB1' from TSM backup.
02/17/2011 05:59:29 VSS Restore operation completed with rc = 0
02/17/2011 05:59:29    Files Examined   : 3504
02/17/2011 05:59:29    Files Completed  : 3504
02/17/2011 05:59:29    Files Failed     : 0
02/17/2011 05:59:29    Total Bytes      : 3966952400
02/17/2011 06:00:08 ACN5909E The MAPI subsystem logon has failed. Please check that you have
02/17/2011 06:00:08 an active mailbox and sufficient privileges for this operation.

02/17/2011 06:00:11 =========================================================================
02/17/2011 06:00:11 Request                                 : Restore Mailbox Results       
02/17/2011 06:00:11 -------------------------------------------------------------------------
02/17/2011 06:00:11 Total mailboxes requested for restore   : 1                          
02/17/2011 06:00:11 Total mailboxes restored                : 0                          
02/17/2011 06:00:11 -------------------------------------------------------------------------

 Be happy delegating this task to the Backup Team :)

Thank you JuanMa!!
-Dario

18 comments:

  1. Hi,

    Now I am having a different issue while restoring the individual mailbox and it's throwing the below error though we have around 70 GB of free space in the drive. We are trying to restore a mailbox which is of size 2-3 Gb.

    Error Message:

    C:\Program Files\Tivoli\TSM\TDPExchange>TDPEXCC RESTOREMAILBOX shyam.1 /MAILBOXRE
    STOREDAte=01/31/2012 /MAILBOXRESTOREDESTination=PST,d:\restore\test.pst

    IBM Tivoli Storage Manager for Mail:
    Data Protection for Microsoft Exchange Server
    Version 6, Release 1, Level 3.01
    (C) Copyright IBM Corporation 1998, 2010. All rights reserved.

    Starting Microsoft Exchange restore...

    Querying Exchange component information...
    Querying mailbox information...
    Connecting to TSM Server as node 'exchange02_TDP'...
    Connecting to Local DSM Agent 'exchange02'...
    Preparing Exchange Recovery Database...
    Performing mailbox restore using closest available backup.
    Connecting to TSM Server as node 'exchange02_TDP'...
    Connecting to Local DSM Agent 'exchange02'...
    Starting Microsoft Exchange restore...


    Beginning VSS restore of 'Logs', 'MDB01-EX01'...


    ANS1227E (RC111) Processing stopped; Disk full condition Bytes: 32938
    Restoring mailbox 'Shyam.1. (shyam.1)' to 'd:\restore\test.pst'...


    Mailbox restore failed.
    ACN5060E A Tivoli Storage Manager API error has occurred.

    Removing Exchange Recovery Database...


    Total mailboxes requested for restore: 1
    Total mailboxes restored: 0

    ACN0151E Errors occurred while processing the request.

    ReplyDelete
  2. Hi there! I simply want to give you a big thumbs up for your excellent information you've got right here on this post. I am returning to your site for more soon.
    Also see my web page > rapid quick Recovery for ms exchange OST

    ReplyDelete
  3. Spot on with this write-up, I actually think this amazing site needs a lot more attention.
    I'll probably be returning to read more, thanks for the advice!
    My webpage > exchange server 2003 Recovery

    ReplyDelete
  4. You could definitely see your expertise in the article you write.
    The world hopes for more passionate writers such as you who aren't afraid to mention how they believe. Always follow your heart.
    my web site: Recovering exchange from .OST files

    ReplyDelete
  5. I used to be able to find good advice from your
    blog posts.
    My site > mailbox exchange Recovery

    ReplyDelete
  6. fantastic submit, very informative. I'm wondering why the other experts of this sector don't notice this. You should continue your writing. I am sure, you've a huge readers' base already!
    Also see my website: OST file

    ReplyDelete
  7. Way cool! Some extremely valid points! I appreciate you writing
    this write-up and the rest of the site is very good.
    Here is my site ... ost to pst

    ReplyDelete
  8. My relatives always say that I am killing my time here at
    web, but I know I am getting know-how daily by reading thes nice articles.
    Feel free to surf my blog post : ost to pst

    ReplyDelete
  9. Hi there, every time i used to check website posts here in the early
    hours in the dawn, for the reason that i like to find out more and more.
    Here is my web-site ost to pst

    ReplyDelete
  10. I visit each day some websites and sites to read content,
    except this weblog gives feature based posts.
    Feel free to visit my blog ; ost to pst

    ReplyDelete
  11. What's Taking place i am new to this, I stumbled upon this I have discovered It absolutely helpful and it has aided me out loads. I'm hoping to contribute & assist different users like its
    aided me. Great job.
    Feel free to surf my weblog ost to pst

    ReplyDelete
  12. I just could not leave your web site before suggesting that I really loved the usual
    info an individual provide for your visitors? Is gonna be back regularly in order to investigate cross-check new posts
    Here is my webpage : ost to pst

    ReplyDelete
  13. I used to be suggested this web site by way of my cousin.
    I am not sure whether this post is written through him as no one else know
    such exact about my trouble. You're amazing! Thank you!
    Also visit my page :: outlook recovery

    ReplyDelete
  14. It's going to be end of mine day, however before finish I am reading this impressive piece of writing to increase my experience.
    Here is my web-site ; outlook recovery

    ReplyDelete
  15. Greetings I am so excited I found your website, I really found you by error, while I was browsing on Aol for something
    else, Nonetheless I am here now and would just like to say kudos for a remarkable post and a all round exciting
    blog (I also love the theme/design), I don't have time to read it all at the moment but I have bookmarked it and also added in your RSS feeds, so when I have time I will be back to read a lot more, Please do keep up the fantastic job.
    Here is my weblog :: outlook recovery

    ReplyDelete
  16. Your style is so unique compared to other people
    I have read stuff from. I appreciate you for posting when you have the opportunity, Guess I'll just book mark this site.
    Visit my web blog - outlook recovery

    ReplyDelete
  17. What's up to every one, the contents existing at this website are in fact remarkable for people knowledge, well, keep up the good work fellows.
    Here is my web blog ... pst recovery

    ReplyDelete
  18. Wow, that's what I was exploring for, what a material! present here at this blog, thanks admin of this website.
    My weblog - outlook recovery

    ReplyDelete

Note: Only a member of this blog may post a comment.