Migrate the Database to a New SQL Server
book
Article ID: 286468
calendar_today
Updated On: 05-28-2024
Products
Carbon Black App Control (formerly Cb Protection)
Issue/Introduction
Steps to move the existing App Control (DAS) database to a new SQL Server/instance name.
Environment
- App Control Server: All Supported Versions
- Microsoft SQL Server: All Supported Versions
- Microsoft Windows Server: All Supported Versions
Resolution
- Before proceeding:
- Uninstall the App Control Server:
- If an App Control Agent is currently installed on the server, temporarily disable Tamper Protection and move it to Local Approval.
- Log in to the application server as the Carbon Black Service Account.
- Navigate to Start > Run > appwiz.cpl > click OK.
- Make a note of the App Control Server version currently installed, and uninstall.
- Log in to the existing SQL Server:
- Launch SQL Server Management Studio
- Expand Databases > right click das > Tasks Detach...
- Check the box to Drop Connections.
- Click OK
- Log in to the new SQL Server:
- Restore the App Control das database.
- Verify the relevant SQL Permissions are applied to the Service Account.
- Install App Control server as outlined in Server Installation guide on VMware Docs
- It is best practice to use the same App Control Server version as was used previously, and then upgrade to the latest version.
- It is not recommended to change the Server Address during install.
- During install choose "Use Existing Database".
- During install choose the Certificates stored in the database or create a new one and then restore it from the backup.
- After installation is complete, log in to the Console and confirm Agents are connecting.
Additional Information
The only way to point the Console to a new SQL Server is during installation.
Feedback
Was this article helpful?
thumb_up
Yes
thumb_down
No