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.

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


View products that this article applies to.

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: date
    Time: time
    User: N/A
    Computer: ComputerName
    Description: Information Store (4920) storage group : The file drive:\logfilefolder\E0xxxxx.log is missing and could not be backed-up.

↑ Back to the top


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.

↑ Back to the top


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:
  1. 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.
  2. Type the following command, and then press ENTER:
    eseutil /mh Database_File_Name
    Note To determine the name of the database file that corresponds to a particular 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, right-click StoreName (ServerName), and then click Properties.

      For example, right-click Mailbox Store (Exchange-1), and then click Properties.
    4. 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 "C:\Program Files\Exchsrvr\mdbdata\priv1.edb" appears in this box.
    For example, to examine the database headers of the "C:\Program Files\Exchsrvr\mdbdata\priv1.edb" 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
    • State: Dirty Shutdown
    You can use this entry to determine the shutdown state of the particular database.
  3. Repeat step 2 for each database in the storage group.

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.
  4. On the General tab, note the path that appears in the Transaction log location box.

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

Step 4: Mount the stores in the affected storage group

To mount 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 mount, right-click the appropriate store, and then click Mount Store.
  4. Click OK when you receive the following message:
    The store was successfully mounted.

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.

↑ Back to the top


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

↑ Back to the top


Keywords: KB935634, kbbackup, kbprb, kberrmsg, kbtshoot, kbeventlog

↑ Back to the top

Article Info
Article ID : 935634
Revision : 2
Created on : 10/25/2007
Published on : 10/25/2007
Exists online : False
Views : 344