Recovering the Analytics subsystem after a disaster

Recover the API Connect Analytics subsystem in a Kubernetes environment.

About this task

Recovering the Analytics subsystem involves deploying a new installation of the Analytics subsystem, updating it with a saved copy of the Custom Resource (CR) that was originally used for installing Analytics, and then restoring the Analytics database from a back-up copy.

Procedure

  1. Deploy the Analytics subsystem by applying the analytics_cr.yaml CR to the cluster as explained in Installing analytics.
  2. Restore your local copy of the original AnalyticsCluster CR by running the following command:
    kubectl  apply -f gj01-analytics.yaml

    Replace gj01-analytics.yaml with the file name that you used for your saved CR.

  3. Restore the Analytics data from a back up, as explained in Restoring the Analytics database.