Overview
This document provides step-by-step instructions for migrating the BoringBase database to a new SQL Server. To maintain proper functionality, the BoringBase database must reside on the same SQL Server as the Milestone Surveillance database.
Prerequisites
- SQL Server Management Studio installed
- Access to both source and destination SQL Servers
- Appropriate permissions to perform backup and restore operations
- Sufficient disk space on the destination server
Important Notes
- The BoringBase database must be migrated to the same SQL Server instance that hosts the Milestone Surveillance database.
- No manual configuration of connection strings is required, as Boring automatically retrieves the SQL Server address from the Milestone registry settings.
Migration Steps
1. Create Database Backup
- Open SQL Server Management Studio
- Connect to the source SQL Server instance
- In Object Explorer, expand the Databases node
- Right-click on the BoringBase database
- Navigate to Tasks Back Up
- In the Back Up Database window:
- Set backup type to "Full"
- Choose "Disk" as the backup destination
- Click "Add" to specify the backup file location
- Enter a meaningful name for your backup file (e.g., "BoringBase_Backup_YYYYMMDD.bak")
- Verify the backup destination path
- Under Options:
- Select "Verify backup when finished" for additional validation
- Choose an appropriate compression option
- Click OK to start the backup process
2. Transfer Backup File
- Locate the backup file created in step 1.
- Transfer the backup file to a location accessible by the destination SQL Server.
- Ensure sufficient permissions are set on the backup file for the SQL Server service account.
3. Restore Database on New Server
- Open SQL Server Management Studio
- Connect to the destination SQL Server instance
- In Object Explorer, right-click on Databases
- Select "Restore Database"
- In the Restore Database window:
- Enter "BoringBase" as the destination database name
- Select "Device" under Source
- Click the browse button (...) to locate your backup file
- Select the backup file transferred in step 2
- Under Options:
- Verify the restore locations for data and log files
- Choose appropriate options for existing connections
- Click OK to begin the restore process
4. Post-Migration Steps
- Re-install Boring Server Complete on the Milestone management server
- Verify that Milestone is properly configured to use the new SQL Server instance
- Test the connection to ensure Boring can access the migrated database
- Monitor system logs for any potential errors
Verification
After completing the migration, verify the following:
- Boring Server can connect to the database
- All historical data is accessible
- System functions operate normally
- No connection errors appear in the system logs
Troubleshooting
If you encounter issues after migration:
- Verify that the Milestone Surveillance database and BoringBase are on the same SQL Server instance
- Check SQL Server connection logs for any authentication issues
- Ensure the SQL Server service account has appropriate permissions
- Verify that the Boring Server service is running
Note: Always perform a test migration in a non-production environment first if possible. Create additional backups of both databases before beginning the migration process.
Comments
0 comments
Please sign in to leave a comment.