Backing up BizTalk Server 2004
April 30, 2005 Leave a comment
Step-by-step reference to backing up BizTalk Server 2004. See Restoring BizTalk Server 2004 for restoration instructions.
Include the SSO Database as part of your backup (recommended):
- Open SQL Enterprise Manager.
- Open BizTalkMgmtDB (default name for the BT Management Database) and expand Tables.
- Right click adm_otherbackupdatabases, click “Open Table” and “Return all rows“.
- In the Data in Table diaog box add a row with the follwing values:
- DefaultDatabaseName: SSODB
- Database Name: SSODB
- ServerName: (server name)
- BTSServerName: (server name)
- Close the Data in Table dialog box.
Alter the SQL Backup job:
- Open SQL Enterprise Manager
- Choose server
- Expand Management, SQL Server Agent and click Jobs
- Open the Backup BizTalk Server job
- In the Backup BizTalk Server properties, click the “Steps” tab
- Click “Backup Full” and click Edit
- In the “Edit Job Step” dialog box, modify the “<destination path>” string to the path you’d like to save the backup files
- Make the same path change for the “MarkAndBackupLog” step
- Click OK to close the Backup properties dialog box and return to SQL Enterprise Manager.
Ensure SQL Server Agent is running with credentials permitting it to write to the folder specified in “destination path”, above.
Testing the backup job:
- Open SQL Enterprise Manager.
- Choose server
- Expand Management, SQL Server Agent and click Jobs
- Right-click the Backup BizTalk Server job and click “Start Job”
- In the “Start Job” dialog box, click “Start”
- Right-click the Backup BizTalk Server job and click “View Job History”
The job should have run successfully, otherwise interpret any error messages (typically invalid path or permissons), resolve and test again.
This process backs up both the data and log files. Running the job a second time should create only a log file as the period for the next database backup should not have been reached (by default, it is set to 15 minutes).
Once you’ve set these jobs up, you will need to manage the files, archiving to another share or deleting on a regular basis.