Backing up the Cloud Pak for Data scheduling service with NetApp Astra Control Center

You can back up the Cloud Pak for Data scheduling service with NetApp Astra Control Center.

About this task

Best practice: You can run the commands in this task exactly as written if you set up environment variables. For instructions, see Setting up installation environment variables.

Ensure that you source the environment variables before you run the commands in this task.

Procedure

  1. Log in to Red Hat® OpenShift® Container Platform as an instance administrator.
    ${OC_LOGIN}
    Remember: OC_LOGIN is an alias for the oc login command.
  2. Add the label icpdsupport/cpdbr=true to the following scheduling service resource types:
    for i in $(oc get operatorgroups -n ${PROJECT_SCHEDULING_SERVICE} -o name); do oc label -n ${PROJECT_SCHEDULING_SERVICE} $i icpdsupport/cpdbr=true; done
    for i in $(oc get configmaps -n ${PROJECT_SCHEDULING_SERVICE} -o name); do oc label -n ${PROJECT_SCHEDULING_SERVICE} $i icpdsupport/cpdbr=true; done
    for i in $(oc get catalogsources.operators.coreos.com -n ${PROJECT_SCHEDULING_SERVICE} -o name); do oc label -n ${PROJECT_SCHEDULING_SERVICE} $i icpdsupport/cpdbr=true; done
    for i in $(oc get subscriptions.operators.coreos.com -n ${PROJECT_SCHEDULING_SERVICE} -o name); do oc label -n ${PROJECT_SCHEDULING_SERVICE} $i icpdsupport/cpdbr=true; done
    for i in $(oc get scheduling.scheduler.spectrumcomputing.ibm.com -n ${PROJECT_SCHEDULING_SERVICE} -o name); do oc label -n ${PROJECT_SCHEDULING_SERVICE} $i icpdsupport/cpdbr=true; done
  3. In NetApp Astra Control Center, create the PROJECT_SCHEDULING_SERVICE application.
    1. From the Applications window, select Define.
    2. In the Define application window, specify the app name by typing PROJECT_SCHEDULING_SERVICE.
    3. In the Cluster drop-down list, select the Cloud Pak for Data source cluster.
    4. From the Namespace drop-down list, select PROJECT_SCHEDULING_SERVICE.
    5. Add the following label selector:
      icpdsupport/cpdbr=true
    6. Select Define.
  4. Select the PROJECT_SCHEDULING_SERVICE application.
  5. From the Options menu in the Actions column for the application, select Back up.
  6. Specify a name for the backup.
  7. Choose a destination bucket for the backup.
  8. Click Next.
  9. Select Back up.