Microsoft KB Archive/935634

= Event ID 459 is logged, and the following error message may be logged after you perform an online backup of an Exchange Server store: &quot;HRESEBACKUPTRUNCATELOGS failed with HRESULT: 0xc7ff1004&quot; =

Article ID: 935634

Article Last Modified on 10/25/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Standard Edition
 * Microsoft Exchange Server 2003 Enterprise Edition
 * Microsoft Exchange 2000 Server Standard Edition
 * Microsoft Exchange 2000 Enterprise Server

-



SYMPTOMS
You perform a full online backup or an incremental online backup of a Microsoft Exchange Server 2003 store or of a Microsoft Exchange 2000 Server store. When you do this, the backup operation is completed successfully. However, you experience the following symptoms:  An error message that resembles the following error message may be logged in the log file of the backup program:

HRESEBACKUPTRUNCATELOGS failed with HRESULT: 0xc7ff1004

  The following event is logged in the Application log on the server that is running Exchange Server: Event Type: Error

Event Source: ESE

Event Category: Logging/Recovery

Event ID: 459

Date:

Time:

User: N/A

Computer:

Description: Information Store (4920)  : The file  \ \E0xxxxx.log is missing and could not be backed-up. 



CAUSE
This issue may occur if the following conditions are true:
 * The backup operation is completed successfully.
 * The backup operation does not truncate the Exchange Server log files successfully.



RESOLUTION
To resolve this issue, follow these steps.

Step 1: Dismount any mounted stores
To dismount a store, follow these steps:
 * 1) Start the Exchange System Manager program.
 * 2) Expand Administrative Groups, expand the administrative group, expand Servers, and then expand the server that is experiencing the issue.
 * 3) Expand the storage group that contains the store that you want to dismount, right-click the appropriate store, and then click Dismount Store.
 * 4) Click Yes to confirm that you want to dismount the store.

Step 2: Determine the shutdown state of the Exchange Server stores
Use the Eseutil program to determine the shutdown state of each store in the storage group. To do this, follow these steps:  Open a command prompt, and then use the cd command to change to the Exchsrvr\Bin directory.

For example, change to the c:\Program Files\Exchsrvr\Bin directory. Type the following command, and then press ENTER:

eseutil /mh

Note To determine the name of the database file that corresponds to a particular store, follow these steps:  Start the Exchange System Manager program. Expand Administrative Groups, expand the administrative group, expand Servers, and then expand the server that is experiencing the issue.</li> Expand the storage group that contains the store that you want, right-click  , and then click Properties.

For example, right-click Mailbox Store (Exchange-1), and then click Properties.</li> Click the Database tab, and then note the path and the file name that appear in the Exchange database box.

For example, a database path such as &quot;C:\Program Files\Exchsrvr\mdbdata\priv1.edb&quot; appears in this box.</li></ol>

For example, to examine the database headers of the &quot;C:\Program Files\Exchsrvr\mdbdata\priv1.edb&quot; file, type eseutil /mh c:\progra~1\exchsrvr\mdbdata\priv1.edb, and then press ENTER. This command displays the database file header.

The database file header contains one of the following entries:  State: Clean Shutdown</li> State: Dirty Shutdown</li></ul>

You can use this entry to determine the shutdown state of the particular database.</li> Repeat step 2 for each database in the storage group.</li></ol>

Step 3: Move the log files from the affected storage group
Move all the database log files and all the checkpoint files for the storage group from the location in which they are stored to a new location.

Important In this step, do not change the location where transaction log files are stored. Move only the existing log files from the folder where they are stored to a new location for backup. This action helps recover the data if you have to recover the data from an earlier database.

The log files have a .log file name extension. Generally, these files have names such as E0000010.log, E0000011.log, E0000012.log, and so on. The checkpoint files have a .chk file name extension. Generally, a checkpoint file has a name such as E00.chk.

Note By default, Exchange Server stores the log files and the checkpoint files in the same folder as the database files. To determine where the log files for a particular storage group are located, follow these steps:
 * 1) Start the Exchange System Manager program.
 * 2) Expand Administrative Groups, expand the administrative group, expand Servers, and then expand the server that is experiencing the issue.
 * 3) Right-click the storage group for which you want to determine the log file location, and then click Properties.

For example, right-click First Storage Group, and then click Properties.
 * 1) On the General tab, note the path that appears in the Transaction log location box.

For example, a path such as &quot;C:\Program Files\Exchsrvr\mdbdata&quot; appears in this box.

Step 4: Mount the stores in the affected storage group
To mount a store, follow these steps: <ol> Start the Exchange System Manager program.</li> Expand Administrative Groups, expand the administrative group, expand Servers, and then expand the server that is experiencing the issue.</li> Expand the storage group that contains the store that you want to mount, right-click the appropriate store, and then click Mount Store.</li> Click OK when you receive the following message:

The store was successfully mounted.

</li></ol>

Step 5: Wait for new log files to be generated, and then perform a full online backup of the storage group
After the stores have mounted successfully, allow time for new transaction log files to be generated. Then, perform a full online backup of the Exchange Server storage group.

After the backup program finishes backing up Exchange Server, examine the log files from the backup operation to verify that no errors appear.

<div class="moreinformation_section">

MORE INFORMATION
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

821915 How to move Exchange databases and logs in Exchange Server 2003

Additional query words: XADM

Keywords: kbeventlog kbtshoot kberrmsg kbprb kbbackup KB935634

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.