Backing up your environments
Create a full back up of volumes and configuration files that can help you roll back your upgrade if needed.
About this task
To back up your environment for an upgrade, complete the following steps.
Procedure
- For all patterns, you can back up your environment. For more information, see Backing up your environments in 21.0.3. For more information
on backing up your environment in 22.0.2, see Backing up your environments in 22.0.2. Note: If your Cloud Pak for Business Automation includes Business Automation Insights, then you do not need to create Flink savepoints when you are backing up your databases. You can create Flink savepoints when migrating data from Elasticsearch to OpenSearch.
- For 21.0.3, if you are using IBM Business Automation Workflow Authoring, you must do the following steps. The IBM Business Automation Workflow Authoring database and the Business Automation
Studio database are merged in this release.
- To export your Business Automation
Studio data before you upgrade, run the following command:
https://<bastudio_url>/bas/bpm/explorer/?url=https://<bastudio_url>/bas/artmgt/docs#/Cp4BA%20Migration/migrateExport - To get the URL to Business Automation
Studio,
run the following command where
<CR_name>is replaced with themetadata.nameproperty from the Cloud Pak for Business Automation CR:
Theoc describe configmaps <CR_name>-cp4ba-access-infobastudio_urlcan be found under thebastudio-access-infosection. - The
migrateExportAPI command redirects you to the Swagger page. Click Try it out and then Execute. Make sure that the status is 204 and then open the logs. After you runmigrateExport, validate that the export is successful. You can also find the exported files and logs from the PVC that is used to store the Business Automation Studio server dump files, for example,<CR-name>-bastudio-dump-pvc.oc project my_project oc exec -it `oc get pod|grep icp4adeploy-bastudio-deployment | awk '{print $1}'` -\- grep ended \ /opt/ibm/wlp/output/defaultServer/dump/BasMigration/export.log - In the log, look for the following messages.
– Defaulted container "bastudio-container" out of: bastudio-container, ssl-initcontainer (init), pfs-db-compatibility-checking (init), folder-prepare-container (init) INFO: com.ibm.bpm.bas.migration.BasMigrationOrchestrator - Export migration ended –
- To export your Business Automation
Studio data before you upgrade, run the following command:
What to do next
Go to and complete the steps in Backing up your custom resources.