Documentation Center

What to do when the database is moved

When a database is moved to another server or if the database is renamed, you need to update the connection string. You can complete this task with an ISHDeploy cmdlet.

Procedure

  1. In a Powershell command shell, enter the following command:
    Stop-ISHDeployment -ISHDeployment $deployment

    Where $deployment is the name or instance of the Content Manager deployment.

  2. Make a backup of the database and restore it to the new database location.
  3. In a Powershell command shell, enter the following command:
    Set-ISHConnectionString  -ISHDeployment $deployment -ConnectionString "CONNECTSTRING" -DatabasePurpose PURPOSE
    Where:
    • CONNECTION_STRING is the new connections string.
    • $deployment is a deployment name or an instance of the Content Manager deployment retrieved from Get-ISHDeployment cmdlet.
    • PURPOSE indicates the database for which you are updating the connection string. Possible values are:
      • ContentManager for Content Manager
      • AccessManagement for Tridion Access Management
      • BackendForFrontend forBackend for Frontend (BFF)
      • IdentityServer for the Tridion Docs Identity Provider
  4. In a Powershell command shell, enter the following command:
    Start-ISHDeployment -ISHDeployment $deployment

    Where $deployment is the name or instance of the Content Manager deployment.

What to do next

Perform a basic test by creating a folder and deleting it. Perform a search and a publish.