App Control: How to Migrate the DAS Database to a New Server
search cancel

App Control: How to Migrate the DAS Database to a New Server

book

Article ID: 286468

calendar_today

Updated On:

Products

Carbon Black App Control (formerly Cb Protection)

Issue/Introduction

To move the 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

  1. Make backups of:
  2. Uninstall the App Control Server:
    1. If an App Control Agent is currently installed on the server, temporarily disable Tamper Protection and move it to Local Approval.
    2. Log in to the application server as the Carbon Black Service Account.
    3. Navigate to Start > Run > appwiz.cpl > click OK.
    4. Make a note of the App Control Server version currently installed, and uninstall.
  3. Log in to the existing SQL Server:
    1. Launch SQL Server Management Studio
    2. Expand Databases > right click das > Tasks Detach...
    3. Check the box to Drop Connections.
    4. Click OK
  4. Log in to the new SQL Server:
    1. Restore the App Control das database.
    2. Verify the relevant SQL Permissions are applied to the Service Account.
  5. Log in to the application server as the Carbon Black Service Account and install App Control Server as outlined in Server Documentation > Server Installation Guide on VMware Docs.
    • Note: It is recommended to use the same App Control Server version as was used previously.
    • When prompted, choose "Use Existing Database".
    • When prompted, use the Console and IIS Certificates stored in the database. If necessary, use the exported backups.
  6. 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.