oadp
Back up and restore Cloud Pak for Data clusters
with the OpenShift® APIs for Data Protection
(oadp) utility.
Extended description
oadp is a command-line interface (CLI)
utility for IBM Cloud Pak for Data that can run backup and
restore between Cloud Pak for Data clusters.
The oadp backup utility requires the following components.
oadpVelero (Red Hat® OpenShift API for Data Protection) and its default plug-ins.- The custom Velero plug-in cpdbr-velero-plugin.
- The
cpd-cli oadpCLI, which is included as a part of thecpd-cliutility.
OADP, Velero, and the default openshift-velero-plugin are
open source projects that are used to backup Kubernetes resources and data volumes on OpenShift.
The custom cpdbr-velero-plugin implements more Velero backup and restore
actions for OpenShift resource handling. The
cpd-cli
oadp command runs backup and restore operations by calling Velero client
APIs (similar to the Velero CLI). In addition, the command starts backup and restore hooks to
quiesce and unquiesce services.
System requirements
- Cloud Pak for Data cluster
-
- OADP is available for OCP 4.12+. The OADP 1.3 operator is available on x86_64, ppc64le, and s390x hardware.
- The cpdbr-velero-plugin is available on x86_64, ppc64le, and s390x hardware.
- Ceph® CSI snapshots are available for OCS 4.12+.
- Client
-
- For
cpdbr-oadpclient requirements, see Client workstation requirements.
- For
Prerequisites
- Client
-
-
Before you run any
cpd-clicommands, download thecpd-cli14.1.3 command-line utility for your operating system and IBM® Software Hub edition. For more information, see Installing the IBM Software Hub command-line interface (cpd-cli). - The Red Hat OpenShift client oc is included in the PATH and has access to the Cloud Pak for Data cluster.
podmanmust be installed on a client system with access to the cluster.podmanis required to install the cpdbr-velero-plugin.- When Cloud Pak for Data is installed
on NFS, the NFS storage must be configured with
no_root_squash.
-
- Object storage
-
- Access to object storage is required. It is used by OADP Velero to store Docker images, Kubernetes resource definitions, and restic backups.
- A bucket must be created in object storage. The bucket name is specified in the Velero custom resource when you instantiate a Velero instance.
Security and roles
The cpd-cli
oadp command requires cluster administrator or similar roles.