How to Update References to the BAM Archive Database Name
If you backed up your BAMArchive databases, in the event of a system or data failure you can restore that backup and rename it.
To restore the BAMArchive databases, perform the steps in How to Restore Your Databases. In addition, you must perform these general steps, which are followed by a procedure that describes the steps in detail:
- Update the BAM DTS packages with the new server name and database name.
Prerequisites
You must be logged on as a member of the BizTalk Server Administrators group to perform this procedure.
To update references to the BAM Archive database name (SQL Server 2008 R2/SP1)
Stop any BAM cube update and data maintenance DTS packages, or prevent them from running until you have restored the BAMArchive database.
Stop the BizTalk Application service (which includes the BAM Event Bus service) so it does not try to import more data into the database.
Click Start, click Run, and then type services.msc.
Right-click the BizTalk Service BizTalk Group: BizTalkServerApplication service and then click Stop.
Click Start, click Programs, click Microsoft SQL Server 2008 R2, and then click SQL Server Business Intelligence Development Studio.
In SQL Server Business Intelligence Development Studio, create a new project. Click File, click New, and then click Project.
In the New Project dialog box, in Templates, click Integration Services Project, and then click OK.
In the Integration Services Project dialog box, in Solution Explorer, right-click SSIS Packages, and then click Add Existing Package.
In the Add Copy of Existing Package dialog box, in the Server drop-down list box, select the server that contains the BAM_DM package.
In Package Path, click the ellipses button.
In the SSIS Package dialog box, select the BAM_DM package, click OK, and then click OK.
The package is now listed in Solution Explorer.
In Solution Explorer, double-click the BAM_DM package. In Connection Managers, double-click database number 3 (MSDB database).
In the Connection Manager dialog box, in the Server name box, enter the name of the MSDB server, and then click OK.
Click the Package Explorer tab, double-click the Variables folder, and then update the values for the primary import server name and primary import database name.
Click File, and then click Save All.
In Microsoft SQL Server Management Studio, click Connect.
Click Integration Services, double-click Stored Packages, click MSDB, right-click the BAM_DM package, and then click Import Package.
In the Import Package dialog box, in Package location, select File System.
In Package Path, navigate to your saved project, select the BAM_DM*.dtsx file, and then click Open.
Click inside the Package Name box to automatically populate the box.
Click OK, and then click Yes to overwrite.
Restart the BizTalk Application service.
Click Start, click Run, and then type services.msc.
Right-click the BizTalk Service BizTalk Group: BizTalkServerApplication service and then click Start.
Enable any BAM cube update and data maintenance SSIS packages.