oadp
uninstall
Important: IBM Cloud Pak® for Data
Version 4.6 will reach end of support (EOS) on 31 July, 2025. For more information, see the Discontinuance of service announcement for IBM Cloud Pak for Data Version 4.X.
Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.6 reaches end of support. For more information, see Upgrading IBM Software Hub in the IBM Software Hub Version 5.1 documentation.
Uninstall Cloud Pak for Data OpenShift APIs for Data Protection (OADP) backup and restore components.
Syntax
cpd-cli oadp uninstall \
--component=<cpd-cli-oadp-component> \
--foundation-namespace=<cpd-foundational-services-namespace> \
--operators-namespace=<cpd-service-operators-namespace> \
[--cpd-namespace=<cpd-control-plane-namespace>] \
[--log-level=info|debug|warn|error|panic] \
[--namespace=<namespace-name>] \
[--no-prompt] \
[--revoke-image-puller-role=--revoke-image-puller-role] \
[--verbose]
Arguments
The uninstall command has no
arguments.
Options
| Option | Description |
|---|---|
--component |
Specify the cpd-cli oadp component to uninstall.
|
--cpd-namespace |
The Cloud Pak for Data control plane namespace in which the utility operates.
|
--foundation-namespace |
Specify the Cloud Pak for Data foundational services namespace.
|
|
|
Display command
help.
|
--log-level |
The command log
level.
|
|
|
The namespace name in which the
utility should operate.
|
--operators-namespace |
Specify the Cloud Pak for Data Operators namespace.
|
--revoke-image-puller-role |
Revokes permission for Cloud Pak for Data namespaces to pull images from the OADP/Velero namespace. The option is for OADP air-gapped installations.
|
--verbose |
Logs include more detailed
messages.
|
Examples
Note: The following examples use the recommended installation environment variables.
Use a script to create environment variables with the correct values for your environment. For more information, see Best practice: Setting up install variables.
Uninstall the following services for IBM Spectrum® Protect Plus integration.
- Uninstall the cpdbr-hooks service from the Cloud Pak for Data control plane namespace.
-
cpd-cli oadp uninstall \ --cpd-namespace=${PROJECT_CPD_INSTANCE} \ --component=cpdbr-hooks \ --log-level=warn - Uninstall the cpdbr-ops-hooks service from the Cloud Pak for Data operators namespace.
-
cpd-cli oadp uninstall \ --component=cpdbr-ops-hooks \ --foundation-namespace=ibm-common-services \ --operators-namespace=ibm-common-services \ --log-level=warn