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
Get a copy of the .xml file used for restoring BAM:
Click Start, click Run, type cmd, and then click OK.
At the command prompt, navigate to the following directory:
\Program Files (x86)\Microsoft BizTalk Server <VERSION>Tracking
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.
Follow the instructions in SQL Server Books Online to back up the database on the old server.
Copy the BAM Archive database to the new SQL server.
Follow the instructions in SQL Server Books Online to restore the database on the new server.
Edit the BAMConfiguration.xml file and change the ServerName in the ArchivingDatabase DeploymentUnit section to the new server name.
Save and close the BAMConfiguration.xml file.
Click Start, click Run, type cmd, and then click OK.
At the command prompt, navigate to the following directory:
\Program Files (x86)\Microsoft BizTalk Server <VERSION>Tracking
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.