40850: Acronis Backup Advanced 11.7/11.5: Recovery of MS Exchange Database/Storage Group Fails If Committed Transaction Log Is Missing in the Backup

use Google Translate

Recovery of MS Exchange database/storage group fails if committed transaction log is missing in the backup

Symptoms

  1. You have installed Acronis Agent for Exchange;
  2. A recovery operation of a database or storage group fails for one of these three symptoms:

Case 1: Database or storage group recovery to MS Exchange fails in the end of operation:

You run database-level recovery task and it fails at the end of the task with VSS error similar to the following:

Message: A Volume Shadow Copy Service (VSS) API error has occurred. Failed to notify Microsoft Exchange Server VSS Writer that the current recovery has completed.

 Also the following error may be shown in the Event Viewer:

Information Store (2356) Second Storage Group: Database C:\Program Files\Microsoft\Exchange Server\Mailbox\Second Storage Group\Public Folder Database.edb requires log files 2886-2887 in order to recover all committed data. Recovery could only locate up to log file C:\Program Files\Microsoft\Exchange Server\Mailbox\Second Storage Group\E01.log, and could not locate log generation 2887. If the log file cannot be found, the database(s) can be recovered manually, but this will result in losing committed data.

Case 2: Database or storage group recovery to MS Exchange fails at the beginning of operation.

You run database-level recovery task and it fails at the end of the task with VSS error similar to the following:

Message: A Volume Shadow Copy Service (VSS) API error has occurred. Failed to notify Microsoft Exchange Server VSS Writer to prepare for recovery.

Case 3: Recovered MS Exchange database or storage group cannot be mounted

You have recovered database or storage group to a separate folder and try to mount it - operation fails because of database dirty shutdown state.

After that you launch "eseutil /r <Enn>" to bring the database to Clean Shutdown state, but it fails with the error message:

Operation terminated with error -582 (JET_errCommittedLogFilesMissing, One or more logs that were committed to this database, are missing. These log files are required to maintain durable ACID semantics, but not required to maintain consistency if the JET_bitReplayIgnoreLostLogs bit is specified during recovery.) after 0.250 seconds.

Cause

Some transaction logs are missing (or corrupted) in the backup.

It is possible to recover such database with some additional steps, but data committed from missing transaction log will be lost.

Solution

Database in the target location may be in inconsistent state after failed recovery with VSS error.

In order to recover database from the backup to the target location successfully, it is necessary restore database files to temporary location and repair the database manually.

After that you can move extracted database files to the target location.

Please follow the steps below:

  1. Recover database or storage group to some temporary folder;
  2. Open a command line; Go to Start -> run -> cmd (when UAC activated, right click and start as administrator);
  3. Navigate to temporary folder where database or storage group was extracted (using CD command), for example:
     
    CD c:\<PATH_TO_FOLDER>\
  4. Repair extracted database using command:
     
    eseutil /r Enn /a /i /D <DB Catalog>
    (!) Enn is transaction log files prefix - for example, E00. 
    (!) <DB Catalog> - folder with extracted .edb file  
  5. Make sure that database is healthy (for healthy database "State" field value is "Clean Shutdown"):
     
    eseutil /m <EDB-file>
    (!) .EDB file name in the target folder where target database\storage group (which should be restored with data from the backup) is located.
  6. Delete contents of target folder (after failed recovery database may be inconsistent);
  7. Move contents of the temporary folder to target folder location;
  8. Make sure that .EDB file name is the same as you noted on step 5. Rename it if necessary;
  9. Mount Exchange database in target location folder.

 

Tags: 

You are reporting a typo in the following text:
Simply click the "Send typo report" button to complete the report. You can also include a comment.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
4 + 10 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.