Uninstalling OADP and Velero

This information shows you how to uninstall OpenShift® APIs for Data Protection (OADP) and Velero.

Procedure

  1. To uninstall OADP and Velero that was installed by using the OpenShift web console, do the following steps.
    1. Using the Red Hat® OpenShift web console, uninstall the Velero instance in the OADP operator.
    2. Using the OpenShift web console, uninstall the OADP operator.
    3. Run the following command:
      oc delete crd $(oc get crds | grep velero.io | awk -F ' ' '{print $1}')
  2. To uninstall OADP 0.2.6 and Velero that was installed in a cluster by using the OADP source (non-OLM), such as in an air-gapped cluster, run the following commands:
    oc delete -f deploy/crds/konveyor.openshift.io_v1alpha1_velero_cr.yaml -n oadp-operator
    oc delete -f deploy/crds/konveyor.openshift.io_veleros_crd.yaml -n oadp-operator
    oc delete -f deploy/non-olm -n oadp-operator
    oc delete crd $(oc get crds | grep velero.io | awk -F ' ' '{print $1}')