TSM for Exchange 6.4: DAG Backup/Restore Best Practices


Database Availability Group backup best practices

– To decrease the load on the production Exchange server, specify that the backups are taken from a healthy passive database copy. If no passive copy is available, the backup is made from the active copy of the database. To specify that backups are taken from a healthy passive database copy, add
/PREFERDAGPASSIVE to a backup command.
– Use the command-line backup options /EXCLUDEDAGPASSIVE, /EXCLUDEDAGACTIVE, or /EXCLUDENONDAGDBS to exclude certain databases from backup processing.
–  For databases in a DAG that have two or more healthy copies, you can skip the
database integrity check by using the /SKIPINTEGRITYCHECK option.
– To maximize availability, schedule multiple servers to back up copies of each
database. Use the /MINIMUMBACKUPINTERVAL option to ensure only one copy is
backed up for each backup cycle.

Database Availability Group restore best practices

– Run restores to the active database copy.
– Backups to Tivoli Storage Manager can be restored to any Exchange server in the
domain. However, backups to LOCAL can be restored only on the server where
the backup was created.
– To restore to a server hosting a passive database copy, make the copy active
before performing the restore.
– When the restore is complete, you can move the active database copy back to
the passive state

11 thoughts on “TSM for Exchange 6.4: DAG Backup/Restore Best Practices

  1. Hi

    We recently implemented TSm for exchange for a DAG environment using TSM 6.3.0.1 with Exchange 2010 but we have the follow issue restoring to a PST.

    The following is done via the DP Management Console

    Firstly we are able to restore from any full backup and creates the PST successfully.

    the problem is when we select a point in time and it applies +- 4 incrementals for the full is fails with the following errors:

    TDPEXCH.log below… Hope someone can point me in the right direction

    03/18/2014 18:24:56 Request : RESTORE MAILBOX BEGIN
    03/18/2014 18:24:56 Mailbox List : alex
    03/18/2014 18:24:56 Mailbox Restore Destination : PST,F:\PST\alex.pst
    03/18/2014 18:24:56 Mailbox Restore Time : 03/12/2014 00:00:00
    03/18/2014 18:24:56 Mailbox Restore Filters :
    03/18/2014 18:24:56 Exchange Server : (Local Machine)
    03/18/2014 18:24:56 From Exchange Server : (Local Machine)
    03/18/2014 18:24:56 Temp DB Restore Path : F:\
    03/18/2014 18:24:56 Temp Log Restore Path : F:\logs
    03/18/2014 18:24:56 ————————————————————————-
    03/18/2014 18:30:26 =========================================================================
    03/18/2014 18:30:26 Request : QUERY TSM …
    03/18/2014 18:30:26 Component List : *
    03/18/2014 18:30:26 Query Type : ALL
    03/18/2014 18:30:26 Database Name :
    03/18/2014 18:30:26 Inactive Files? : True
    03/18/2014 18:30:26 ————————————————————————-
    03/18/2014 18:30:31 ============================================================
    03/18/2014 18:30:31 Request : VSS RESTORE
    03/18/2014 18:30:31 Component List : ‘Logs'(full, TSM), ‘Database 03′(full, TSM)
    03/18/2014 18:30:31 Local DSMAGENT Node : EXCHANGE1
    03/18/2014 18:30:31 Mount Wait : Yes
    03/18/2014 18:30:31 ————————————————————
    03/18/2014 18:30:32 ============================================================
    03/18/2014 18:30:32 Request : VSS RESTORE
    03/18/2014 18:30:32 Component List : ‘Logs'(incr, TSM)
    03/18/2014 18:30:32 Local DSMAGENT Node : EXCHANGE1
    03/18/2014 18:30:32 Mount Wait : Yes
    03/18/2014 18:30:32 ————————————————————
    03/18/2014 18:30:32 ============================================================
    03/18/2014 18:30:32 Request : VSS RESTORE
    03/18/2014 18:30:32 Component List : ‘Logs'(incr, TSM)
    03/18/2014 18:30:32 Local DSMAGENT Node : EXCHANGE1
    03/18/2014 18:30:32 Mount Wait : Yes
    03/18/2014 18:30:32 ————————————————————
    03/18/2014 18:30:32 ============================================================
    03/18/2014 18:30:32 Request : VSS RESTORE
    03/18/2014 18:30:32 Component List : ‘Logs'(incr, TSM)
    03/18/2014 18:30:32 Local DSMAGENT Node : EXCHANGE1
    03/18/2014 18:30:32 Mount Wait : Yes
    03/18/2014 18:30:32 ————————————————————
    03/18/2014 18:30:32 ============================================================
    03/18/2014 18:30:32 Request : VSS RESTORE
    03/18/2014 18:30:32 Component List : ‘Logs'(incr, TSM)
    03/18/2014 18:30:32 Local DSMAGENT Node : EXCHANGE1
    03/18/2014 18:30:32 Mount Wait : Yes
    03/18/2014 18:30:32 ————————————————————
    03/18/2014 18:30:49 Backup(s) to be restored:
    03/18/2014 18:30:49
    03/18/2014 18:30:50
    03/18/2014 19:33:39 VSS Restore operation completed with rc = 0
    03/18/2014 19:33:39 Files Examined : 205
    03/18/2014 19:33:39 Files Completed : 205
    03/18/2014 19:33:39 Files Failed : 0
    03/18/2014 19:33:39 Total Bytes : 127346080471
    03/18/2014 19:33:39 Total LanFree Bytes : 0
    03/18/2014 19:34:04 Backup(s) to be restored:
    03/18/2014 19:34:04
    03/18/2014 19:35:57 Preparing for restore of ‘WC Database 03’ from TSM backup.
    03/18/2014 19:36:40 VSS Restore operation completed with rc = 0
    03/18/2014 19:36:40 Files Examined : 710
    03/18/2014 19:36:40 Files Completed : 710
    03/18/2014 19:36:40 Files Failed : 0
    03/18/2014 19:36:40 Total Bytes : 744456150
    03/18/2014 19:36:40 Total LanFree Bytes : 0
    03/18/2014 19:37:00 Backup(s) to be restored:
    03/18/2014 19:37:00
    03/18/2014 19:40:50 VSS Restore operation completed with rc = 0
    03/18/2014 19:40:50 Files Examined : 3924
    03/18/2014 19:40:50 Files Completed : 3924
    03/18/2014 19:40:50 Files Failed : 0
    03/18/2014 19:40:50 Total Bytes : 4115617536
    03/18/2014 19:40:50 Total LanFree Bytes : 0
    03/18/2014 19:41:11 Backup(s) to be restored:
    03/18/2014 19:41:11
    03/18/2014 19:45:56 VSS Restore operation completed with rc = 0
    03/18/2014 19:45:56 Files Examined : 4487
    03/18/2014 19:45:56 Files Completed : 4487
    03/18/2014 19:45:56 Files Failed : 0
    03/18/2014 19:45:56 Total Bytes : 4706147673
    03/18/2014 19:45:56 Total LanFree Bytes : 0
    03/18/2014 19:46:16 Backup(s) to be restored:
    03/18/2014 19:46:17
    03/18/2014 19:56:34 VSS Restore operation completed with rc = 0
    03/18/2014 19:56:34 Files Examined : 4752
    03/18/2014 19:56:34 Files Completed : 4752
    03/18/2014 19:56:34 Files Failed : 0
    03/18/2014 19:56:34 Total Bytes : 4984105908
    03/18/2014 19:56:34 Total LanFree Bytes : 0

    03/18/2014 19:56:42 ACN6039E An error has occurred while mounting or dismounting a database.
    03/18/2014 19:57:00 ACN6039E An error has occurred while mounting or dismounting a database.
    03/18/2014 19:57:17 ACN6039E An error has occurred while mounting or dismounting a database.
    03/18/2014 19:57:34 ACN6039E An error has occurred while mounting or dismounting a database.

    after about 20mins it eventually fails with……

    03/18/2014 20:15:09 ACN0151E Errors occurred while processing the request.
    03/18/2014 20:15:09 ACN0151E Errors occurred while processing the request.
    03/18/2014 20:15:14 =========================================================================
    03/18/2014 20:15:14 Request : Restore Mailbox Results
    03/18/2014 20:15:14 ————————————————————————-
    03/18/2014 20:15:14 Total mailboxes requested for restore : 1
    03/18/2014 20:15:14 Total mailboxes restored : 0
    03/18/2014 20:15:14 ————————————————————————-

  2. Hi Adi and Jackie

    Adi, have you had a solution for your problem? I am getting the same with TDP 7.1 and Exchange 2013, so i suspect this is a common problem. I can restore to a PST, but restoring a box on itself is getting a good VSS restore but is getting multiple “ACN6039E An error has occurred while mounting or dismounting a database”.

    Pierre tsmservice.fr

    1. hi Pierre . i am planing to implement TDP 7.1 with Exchange 2013 “DAG” , if u have the steps for implementation kindly send it to me “eng_shady44@yahoo.com”

  3. Hi Jackie

    I’m trying to restore an EXC2013 DB (with Personal Archive Mailboxes) to restore a complete Personal Archive Mailbox for a user. It’s just for this user and in the meantime all other users are working with their mailboxes and personal archive mailboxes. So i can not restore to an active DB copy. We have 2 EXC server with DAG.

    What is now the best way to restore this DB “temporarly” without disconnect all other users?

    The options are only to overwrite the existing DB (set to passive) but I receive this message:
    Error: RC: 1828 ACN5067E The specified databases do not exist or have not been dismounted. At Restore-DpExcBackup -Name EXCARCHIVEDB01 -Incremental -BACKUPDESTINATION TSM -FROMEXCSERVer EXCDAG01 -OBJect 20140912224813 -NoInstantRestore -INTODB EXCARCHIVEDB01 -MOUNTWait Yes -RECOVer APPLYALLlogs -Private InvalidResult: (Capability.Impl…ange.ExcContext:ExcContext) [Restore-DpExcBackup], Exception 1828,IBM.Tivoli.TSM.Cmdlets.Exchange.RestoreDpExcBackup

    thx an regrads
    Jose

  4. Hi Jackie
    I have a Question, hope you can help me

    exchange 2010, with TDP for Mail 6.4.x installed. if we want to restore a single mail box do we have to restore the entire Mail database and mount it as a restore DB?
    is that correct?

  5. Hi Bob

    You can select one box, or even one mail or attachement. But in order to extract it, the TDP 6.4 or 7.1 will automatically restore the corresponding database, extract what you asked for, then allows you to remove the restored database.

    Pierre tsmservice.fr

Leave a comment