Move the BAM Star Schema Database
You can use this procedure to move the BAM Star Schema 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 Star Schema 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 on how to back up the database on the old server.
Copy the BAM Star Schema database to the new SQL Server.
Follow the instructions in SQL Server Books Online on how to restore the database on the new server.
Edit the BAMConfiguration.xml file and change the ServerName in the StarSchemaDatabase 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.
Update SQL Connection 2 to change the server and database name in all BAM analysis DTS packages, which are prefixed with "BAM_AN_", by following these steps:
Using SQL Server Management Studio, open the server hosting BAM.
Open the Data Transformation Services folder.
Open the Local Packages folder.
Open the DTS package, and then double-click Connection 2 to open the connection.
Select the new server and database name in the drop-down box.
Update the data source in the BAM Analysis database as follows:
Using SQL Server Analysis Manager, open the server hosting the BAM Analysis database.
Open the Data Sources folder.
Right-click the data source for the cube, and then click Edit.
On the Connection tab, type the new server name and database name for the BAM Star Schema database, and then click OK.