Backing up ELMOperation instance by using Red Hat OpenShift CLI

The ELMOperation instance supports the backup of Engineering Lifecycle Management applications by using the CLI method.

About this task

Following method is used to create a backup of ELMOperation instance by using OpenShift® CLI.

Procedure

  1. Log in to the Red Hat® OpenShift and connect to your project
  2. Prepare the ELMOperation source manifest. Now, from the local computer create a YAML file called backup_elm_instance.yaml by using the following command.
    apiVersion: elm.ibm.com/v1
    kind: ELMOperation
    metadata:
      name: elmoperation-sample
      namespace: <namespace_name>
    spec:
      operationType: backupELMInstance
      allApplications: true
      backupLabel: latest
      selectedApplications:
        jas: false
        jts: false
        qm: false  
        dcc: false
        rm: false
        gc: false
        ccm: false
        eni: false
        ldx: false
        lqe: false
        rb: false
  3. Run the following command:
    oc create -f backup_elm_instance.yaml -n <namespace_name>

    Replace the placeholders: For <namespace_name>, input the name of the project, where Engineering Lifecycle Management instance is created.

  4. Verify the installation by using following command:
    oc get elmoperations elmoperation-sample -n <namespace_name>
    You can see the following output, when the ELMOperation is created successfully
    NAME                  AGE
    elmoperation-sample   2m27s

    The output provides information about ELMOperation resources and status.

    For more information, see ELMOperation, backup ELM Instance
    Note: The exact path of the backup can be viewed from the logs section of the backup pod created.