Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Transaction Logs do not replay after a redirected online restore


Author: Andy David MVP

View products that this article applies to.

Summary

Transaction logs do not replay as expected if restoring an online backup to an alternate server.

↑ Back to the top


Symptoms

An online�restore redirected to a server other than the original server does not replay the transaction logs associated with the storage group even if the logs are in the defined transaction log directory path, in the same directory as the restored database(s), or in the same directory as the recovery storage group on the alternate server.

↑ Back to the top


Cause

This is by design. A database restored to an alternate server is known as a "victimized database" and as a protective measure, transaction logs in the "standard" directories are not replayed.

↑ Back to the top


Resolution

For best results and to force the replay of transaction logs and bring a redirected restore into a consistent state, uncheck the "Last Restore Set" checkbox in NTBACKUP�( or the similar functionality in any 3rd party backup software product), so that any outstanding logs are not replayed and a hard recovery is not run automatically against the restored database(s). After the restore is complete, copy all the required transaction logs into the working temp directory you defined when creating the restore job. This will be the same directory�where�the restore.env is located. Then run eseutil with the hard recovery switch: (eseutil /cc path to directory containing the Restore.env file). This will replay any required transaction logs and bring the database(s) to a consistent state. Note: After running this command, any logs in the working directory will be purged.

↑ Back to the top


More information

http://support.microsoft.com/default.aspx?scid=kb;en-us;232938&Product=exch2003
"The "Last Backup Set" Check Box and Hard Recovery in Exchange"

http://www.microsoft.com/technet/prodtechnol/exchange/guides/UseE2k3RecStorGrps/5f7b9868-1447-40bd-8c91-a46566ca78b6.mspx
"Transaction Log File Replay: Soft Recovery and Hard Recovery in Exchange Server 2003"

↑ Back to the top


Community solutions content disclaimer

Microsoft corporation and/or its respective suppliers make no representations about the suitability, reliability, or accuracy of the information and related graphics contained herein. All such information and related graphics are provided "as is" without warranty of any kind. Microsoft and/or its respective suppliers hereby disclaim all warranties and conditions with regard to this information and related graphics, including all implied warranties and conditions of merchantability, fitness for a particular purpose, workmanlike effort, title and non-infringement. You specifically agree that in no event shall Microsoft and/or its suppliers be liable for any direct, indirect, punitive, incidental, special, consequential damages or any damages whatsoever including, without limitation, damages for loss of use, data or profits, arising out of or in any way connected with the use of or inability to use the information and related graphics contained herein, whether based on contract, tort, negligence, strict liability or otherwise, even if Microsoft or any of its suppliers has been advised of the possibility of damages.

↑ Back to the top


Keywords: KB555469, kbhowto, kbpubtypecca, kbpubmvp

↑ Back to the top

Article Info
Article ID : 555469
Revision : 1
Created on : 10/9/2005
Published on : 10/9/2005
Exists online : False
Views : 260