Chapter 14. Backup and restore
14.1. Backing up and restoring virtual machines
You back up and restore virtual machines by using the OpenShift API for Data Protection (OADP).
OADP for OpenShift Virtualization is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.
For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.
Prerequisites
-
Access to the cluster as a user with the
cluster-admin
role.
Procedure
- Install the OADP Operator according to the instructions for your storage provider.
-
Install the Data Protection Application with the
kubevirt
andopenshift
plugins. -
Back up virtual machines by creating a
Backup
custom resource (CR). -
Restore the
Backup
CR by creating aRestore
CR.