Restoring your environments

Each environment in your disaster recovery plan contains different components to be restored.

About this task

You must prepare the environment that you want to use to restore your deployments with the backed-up data. For more information, see Backing up your environments.

Procedure

  1. Create the secure definition by using the backup secure definition.
  2. Create the PV and persistent volume claim (PVC) by using the backup PV and PVC definitions.
  3. Restore all the databases from the backup images.
  4. Restore files stored on the PV.
  5. Make sure the PVCs that were created for datadir-zen-metastoredb and the associated files were restored.
  6. Restore the secret admin-user-details.
  7. Install the Cloud Pak operator, either with the installation scripts or manually.
  8. Prepare the CR definition for the restored environment. The hostname might be different between the source environment and restored environment. If they are different, you can change the hostname in the CR files to match the hostname of the restored environment.
  9. Deploy the environment with the backup custom resource definition files.
  10. Use the command oc describe configmap ibm-common-services-status -n kube-public to check the IAM status.
    1. If the IAM status is "Ready," find the ibm-common-services/registration-json configmap on the restored cluster and save it as platform-oidc-registration.json file.
    2. Update the client_id and client_secret in platform-oidc-registration.json file with the value of WLP_CLIENT_ID and WLP_CLIENT_SECRET we got from above backup step.
    3. See Client Registration API to register with platform-oidc-registration.json that was generated in the previous step.
  11. Use the following links to restore data for IBM Business Automation Insights.