Backing up your databases

Create a full backup of volumes and configuration files that can help you roll back your upgrade if needed.

About this task

To backup your environment for an upgrade, complete the following steps.

Procedure

  1. For all patterns, you can back up your environment by following the steps in Backing up your environments.
  2. If you are using IBM Automation Workstream Services and you stored federated saved searches in the Elasticsearch index from 23.0.1, you must back up the saved searches.
  3. If you are using Business Automation Insights, create savepoints for all the running processing jobs so that you can restart them correctly after the upgrade. You need to take a save point for the Operational Decision Manager Flink job because its implementation is different.
    1. To create save points, use the management service. The <namespace> variable represents the project where Business Automation Insights is installed.
      export NAMESPACE=<namespace>
      export INSIGHTS_ENGINE_CR=$(kubectl get insightsengine --no-headers --ignore-not-found -n ${NAMESPACE} |awk '{print $1}')
      export MANAGEMENT_URL=$(oc get insightsengine ${INSIGHTS_ENGINE_CR} -n ${NAMESPACE} -o jsonpath='{.status.components.management.endpoints[?(@.scope=="External")].uri}')
      export MANAGEMENT_AUTH_SECRET=$(oc get insightsengine ${INSIGHTS_ENGINE_CR} -n ${NAMESPACE} -o jsonpath='{.status.components.management.endpoints[?(@.scope=="External")].authentication.secret.secretName}')
      export MANAGEMENT_USERNAME=$(oc get secret ${MANAGEMENT_AUTH_SECRET} -n ${NAMESPACE} -o jsonpath='{.data.username}' | base64 -d)
      export MANAGEMENT_PASSWORD=$(oc get secret ${MANAGEMENT_AUTH_SECRET} -n ${NAMESPACE} -o jsonpath='{.data.password}' | base64 -d)
      curl -X POST -k -u ${MANAGEMENT_USERNAME}:${MANAGEMENT_PASSWORD} "${MANAGEMENT_URL}/api/v1/processing/jobs/savepoints" | jq .
      
    2. Take note of all the savepoint paths, which appear in this form /mnt/pv/savepoints/savepoint-xxxxxx.
    3. Reuse these values when you prepare the parameters for the upgrade.

What to do next

Go to and complete the steps to upgrade the operators.