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
- 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.
- 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
- In NetApp Astra Control Center, create
the PROJECT_SCHEDULING_SERVICE application.
- From the Applications window, select
Define.
- In the Define application window, specify the app name by typing
PROJECT_SCHEDULING_SERVICE.
- In the Cluster drop-down list, select the Cloud Pak for Data source cluster.
- From the Namespace drop-down list, select
PROJECT_SCHEDULING_SERVICE.
- Add the following label selector:
- Select Define.
- Select the
PROJECT_SCHEDULING_SERVICE
application.
- From the Options menu in the Actions column for the application,
select Back up.
- Specify a name for the backup.
- Choose a destination bucket for the backup.
- Click Next.
- Select Back up.