5.29.2. Troubleshoot backup and restore with the OADP CLI
Use the OADP CLI plugin for all backup and restore operations, including viewing logs and descriptions. You do not need to download the velero CLI tool to debug Backup and Restore custom resources (CRs) or troubleshoot failed operations.
5.29.2.1. Install the OADP CLI plugin 링크 복사링크가 클립보드에 복사되었습니다!
The OADP command-line interface (CLI) plugin is available from the Command-line tools page in the OpenShift Container Platform web console when the OADP Operator is installed.
Prerequisites
- You have access to an OpenShift Container Platform cluster with the OADP Operator installed.
Procedure
- Log in to the OpenShift Container Platform web console as a user with access to the cluster.
- Click the ? icon in the toolbar and select Command-line tools.
-
Download the
oc-oadpbinary for your operating system and architecture. -
Extract the archive and place the
oc-oadpbinary in a directory on yourPATH. Verify the installation:
$ oc oadp version
5.29.2.1.1. OADP-Velero-OpenShift Container Platform version relationship 링크 복사링크가 클립보드에 복사되었습니다!
Review the version relationship between OADP, Velero, and OpenShift Container Platform to decide compatible version combinations. This helps you select the appropriate OADP version for your cluster environment.
| OADP version | Velero version | OpenShift Container Platform version |
|---|---|---|
| 1.3.0 | 1.12 | 4.12-4.15 |
| 1.3.1 | 1.12 | 4.12-4.15 |
| 1.3.2 | 1.12 | 4.12-4.15 |
| 1.3.3 | 1.12 | 4.12-4.15 |
| 1.3.4 | 1.12 | 4.12-4.15 |
| 1.3.5 | 1.12 | 4.12-4.15 |
| 1.4.0 | 1.14 | 4.14-4.18 |
| 1.4.1 | 1.14 | 4.14-4.18 |
| 1.4.2 | 1.14 | 4.14-4.18 |
| 1.4.3 | 1.14 | 4.14-4.18 |
| 1.5.0 | 1.16 | 4.19 |