16.2. Backing up and restoring virtual machines
Back up and restore virtual machines by using the OpenShift API for Data Protection.
Red Hat supports using OpenShift Virtualization 4.14 or later with OADP 1.3.x or later.
OADP versions earlier than 1.3.0 are not supported for back up and restore of OpenShift Virtualization.
16.2.1. Installing and configuring OADP with OpenShift Virtualization 링크 복사링크가 클립보드에 복사되었습니다!
As a cluster administrator, you can install the OpenShift API for Data Protection (OADP) with OpenShift Virtualization by installing the OADP Operator and configuring a backup location. You can then install the Data Protection Application.
To install the OADP Operator in a restricted network environment, you must first disable the default software catalog sources and mirror the Operator catalog.
OpenShift API for Data Protection with OpenShift Virtualization supports the following backup and restore storage options:
- Container Storage Interface (CSI) backups
- Container Storage Interface (CSI) backups with DataMover
The following storage options are excluded:
- File system backup and restore
- Volume snapshot backup and restore
The latest version of the OADP Operator installs Velero 1.16.
Red Hat support is limited to only the following options:
- CSI backups
- CSI backups with DataMover.
Prerequisites
-
Access to the cluster as a user with the
cluster-adminrole.
Procedure
- Install the OADP Operator according to the instructions for your storage provider.
-
Install the Data Protection Application (DPA) with the
kubevirtandopenshiftOADP plug-ins. Back up virtual machines by creating a
Backupcustom resource (CR).You restore the
BackupCR by creating aRestoreCR.