Move the BAM Archive Database

You can use this procedure to move the BAM Archive database to another server.

Prerequisites

You must be logged on with an account that is a member of the SQL Server sysadmin fixed server role to perform this procedure.

To move the BAM Archive database

  1. Get a copy of the .xml file used for restoring BAM:

    1. Click Start, click Run, type cmd, and then click OK.

    2. At the command prompt, navigate to the following directory:

      \Program Files (x86)\Microsoft BizTalk Server <VERSION>Tracking

    3. At the command prompt, type:

      Bm.exe get-config –filename:BAMConfiguration.xml  
      

      Note

      On a system that supports User Account Control (UAC), you may need to run the tool with Administrative privileges.

  2. Follow the instructions in SQL Server Books Online to back up the database on the old server.

  3. Copy the BAM Archive database to the new SQL server.

  4. Follow the instructions in SQL Server Books Online to restore the database on the new server.

  5. Edit the BAMConfiguration.xml file and change the ServerName in the ArchivingDatabase DeploymentUnit section to the new server name.

  6. Save and close the BAMConfiguration.xml file.

  7. Click Start, click Run, type cmd, and then click OK.

  8. At the command prompt, navigate to the following directory:

    \Program Files (x86)\Microsoft BizTalk Server <VERSION>Tracking

  9. At the command prompt, type:

    bm.exe update-config -FileName:BAMConfiguration.xml  
    

    Note

    On a system that supports User Account Control (UAC), you may need to run the tool with Administrative privileges.

See Also

Moving BizTalk Server Databases