Table of Contents
Short answer: Disaster recovery for OpenShift Virtualization means recovering both parts of a virtual machine: its Kubernetes resources and its persistent volume data. Red Hat provides replication-based disaster recovery options, including Metro-DR and Regional-DR with OpenShift Data Foundation (ODF), for failover between prepared clusters. Backup to an independent destination addresses different risks, including accidental deletion, ransomware, data corruption and recovery to a cluster with different storage. For many environments, replication and backup complement each other.
Many teams adopt OpenShift Virtualization as part of a platform migration, bringing disaster recovery processes originally designed for traditional hypervisors. But on OpenShift, a virtual machine is not just a set of disk files and a configuration file. It is a collection of Kubernetes resources and persistent volumes, and a recovery plan needs to account for both.
What Makes DR Different for VMs on OpenShift?
On a traditional hypervisor, a virtual machine is often represented by its disks and a relatively small amount of configuration. OpenShift Virtualization, built on KubeVirt, represents a VM through Kubernetes resources and storage objects.
A working virtual machine can depend on several components:
- The VM definition: a VirtualMachine resource containing CPU, memory, disks, networks and run strategy.
- The disks: DataVolumes and PersistentVolumeClaims (PVCs), bound to storage classes and backed by the relevant Container Storage Interface (CSI) driver.
- The surrounding resources: the namespace (project), secrets, ConfigMaps, network attachment definitions, services and routes that make the VM operational and reachable.
Recovering the disks without the required Kubernetes resources, or restoring the VM definition without its network configuration, can leave you with a VM that exists but cannot run correctly.
Four consequences follow:
- Recover the namespace, not just the VM. Plan disaster recovery around the project and the resources its workloads depend on.
- Storage classes may differ between sites. A DR cluster using different storage needs a mapping from the source storage class to a compatible target storage class.
- Networks are cluster-specific. Multus networks, VLANs and NetworkAttachmentDefinitions must be prepared on the DR cluster before VMs that depend on them can be recovered.
- The DR cluster must be prepared in advance. It needs a compatible OpenShift Virtualization version, the required operators, sufficient compute and storage capacity, and the network configuration needed by the workloads.
Red Hat’s Native DR Options, and Where They Stop
Red Hat documents two replication-based disaster recovery options for OpenShift Virtualization using OpenShift Data Foundation and Red Hat Advanced Cluster Management (RHACM): Metro-DR and Regional-DR.
Both are designed to support failover between prepared OpenShift clusters, but they use different replication models.
| Metro-DR | Regional-DR | |
| Replication | Synchronous replication | Asynchronous replication at defined intervals |
| Distance | Metropolitan distances; network round-trip latency of 10 ms or less | Supports greater geographical separation |
| Data loss on failover | Synchronous replication is designed to minimize the replication gap, but failover can still involve data loss | Data loss depends on the replication interval and the state of the latest replicated data |
| Key requirement | Storage must be fenced during failover to prevent conflicting writes and data corruption | Applications and workloads must tolerate the possibility of recovering to an earlier replicated state |
| Storage | OpenShift Data Foundation-based configuration on both sides | OpenShift Data Foundation-based configuration on both sides |
The exact architecture, prerequisites and recovery procedure depend on the ODF and OpenShift versions and the selected DR configuration. Metro-DR is intended for low-latency metropolitan environments, while Regional-DR uses asynchronous replication for geographically separated sites.
Red Hat also requires advance planning for the deployment. VMs managed through RHACM follow a GitOps workflow. VMs created through other methods, for example those imported using the Migration Toolkit for Virtualization, need consistent labels across the resources that belong to them so that the DR workflow can identify the complete application.
Replication is the right tool when a data center or site becomes unavailable. But replication alone does not address every type of disaster.
- Anything that replicates. Ransomware encryption, an accidentally deleted namespace or corrupted application data can be replicated to the second site along with valid data.
- Going back in time. Replication generally maintains a recent state. Recovering a VM from a previous day or week requires retained restore points.
- Recovering somewhere else. Replication-based DR relies on a prepared, paired environment. Recovering to a third cluster, a different storage backend or an isolated test environment requires an independent backup.
That is where backup comes in. We cover the same distinction for OpenStack in our article OpenStack Replication vs Backup.
Two Recovery Paths, Side by Side

Replication and backup serve different purposes.
Replication keeps a second cluster close to the primary environment. This is useful when the primary site becomes unavailable and the goal is to resume operations using the latest replicated data.
Backup maintains separate restore points on an independent destination. It is useful when the data itself is damaged, deleted or compromised, or when recovery needs to take place outside the original cluster pair.
A backup-based recovery target does not necessarily need to use the same storage technology as the primary cluster. The restore process can map the recovered disks to storage classes available on the target cluster, provided the required storage and network configuration is prepared.
A robust DR strategy often combines both approaches:
- Replication for site-level availability and low recovery point objectives.
- Backup for historical restore points, independent copies and recovery flexibility.
How Storware Protects OpenShift Virtualization VMs
Storware Backup and Recovery connects to OpenShift through its API and protects virtual machines without installing agents inside them.
The backup process handles the two main parts of the VM separately:
- VM metadata is exported through the OADP operator (OpenShift API for Data Protection), version 1.3 or later.
- Volume data is exported by a helper pod running Storware’s OpenShift Virtualization plugin image, which streams disk data to the backup destination.
The following table summarizes the capabilities and requirements described in Storware’s current product documentation.
| Capability | Support |
| OpenShift versions | 4.19, 4.20, 4.21 and 4.22 |
| Full and incremental backup | Supported; incremental backup applies to block persistent volumes |
| Snapshots left in the cluster | No additional snapshots are required for incremental backups; Ceph RBD volumes retain the last snapshot |
| Synthetic backups and a secondary destination | Supported |
| Quiesced snapshots | Performed by the hypervisor |
| Pre/post command execution | Supported |
| File-level restore | Supported |
| Policy assignment | By name or tag |
| Restore target | The same or a different OpenShift cluster, with a choice of target project and storage class |
For disaster recovery, the ability to restore to another cluster is particularly important.
Because the backup contains both VM metadata and volume data on a destination outside the original cluster, recovery can take place in a DR environment with different storage, provided the target storage classes are configured and mapped appropriately. It can also be used to test recovery in an isolated project without affecting production.
With synthetic destinations, each restore point can be maintained as a complete image. For more information, see What Is a Synthetic Full Backup?
Before planning your deployment, check the documented limitations:
- VMs need an application label to be included in backup.
- Hot-plugged disks, CD-ROM devices and LUN disks are not supported.
- Clusters running Elastic Cloud on Kubernetes (ECK) are not supported.
- Dangling PersistentVolumes must be fixed before inventory synchronization.
For the full list of requirements and limitations, see the Storware OpenShift Virtualization backup and recovery documentation.
A DR Runbook for OpenShift Virtualization
A disaster recovery plan is only useful if the team can execute it under pressure. The following runbook provides a practical starting point.
Before the Disaster
1. Tier your VMs.
Decide which workloads need replication for the lowest possible RPO, which can rely on scheduled backups, and which require both approaches.
The choice should reflect business criticality, acceptable data loss and recovery time objectives.
2. Apply labels consistently.
Labels help identify resources for Red Hat’s DR workflows and Storware backup policy assignment. Make sure every VM and its associated resources can be identified consistently.
3. Prepare the DR cluster.
Install a compatible version of OpenShift Virtualization and the required OADP operator. Create the projects, network attachment definitions and storage classes the VMs will need after recovery.
4. Document storage class mappings.
Record which source storage class maps to which target storage class. Check whether the target storage supports the snapshot and incremental backup workflows required for subsequent backup cycles.
5. Keep an independent copy outside both clusters.
Use a backup destination that is separated from the primary and DR environments. Where possible, protect it with retention lock or another immutability mechanism, and ensure that access to the backup destination is appropriately restricted.
During Recovery
6. Choose the recovery path.
If the primary site is unavailable and replication is healthy, use the planned failover procedure.
If the data has been damaged, deleted or encrypted, identify the last known-good backup and restore from that recovery point instead.
7. Restore workloads in dependency order.
Start with databases and directory services, followed by application tiers and then front-end services. The actual order should follow the dependencies documented for each application.
8. Validate before switching traffic.
Boot the recovered VMs, check the operating system and application health, validate network connectivity, and only then redirect traffic through routes or DNS.
After Recovery
9. Resume backup protection.
Make sure the recovered VMs are covered by backup policies in the DR cluster. Confirm that inventory synchronization and subsequent backup jobs work as expected.
10. Test the runbook regularly.
Restore VMs into an isolated project, measure recovery times and document any issues. A DR plan should be tested periodically, not just reviewed on paper.
Our guide Disaster Recovery Testing: How to Prove Your DR Plan Works explains how to structure these tests.
Frequently Asked Questions
How does disaster recovery work for OpenShift Virtualization?
Disaster recovery requires recovering both the VM’s Kubernetes resources and its persistent volumes on a surviving cluster. Red Hat provides Metro-DR and Regional-DR replication options using OpenShift Data Foundation and Advanced Cluster Management. Backup to an independent destination adds historical restore points and flexibility to recover outside the original cluster pair.
What is the difference between Metro-DR and Regional-DR?
Metro-DR uses synchronous replication between sites with a network round-trip latency of 10 ms or less. Regional-DR uses asynchronous replication at defined intervals and supports greater geographical separation. During failover, the potential data loss depends on the replication model and the state of the latest replicated data.
Is replication enough for OpenShift Virtualization DR?
Not in every scenario. Replication can also copy accidental deletions, ransomware encryption and data corruption to the secondary site. It also does not provide the same historical recovery options as retained backups. Independent backup copies and restore points complement replication.
Can I restore OpenShift VMs to a different cluster?
Storware Backup and Recovery supports restoring VMs to the same or a different OpenShift cluster, with a choice of target project and storage class. The target cluster must be prepared with compatible components, storage and network configuration.
Do I need OADP to back up OpenShift Virtualization VMs with Storware?
Storware uses the OADP operator, version 1.3 or later, to export VM metadata. A Storware helper pod exports the volume data to the backup destination. OADP is therefore part of the documented backup workflow.
Which OpenShift versions does Storware support for VM backup?
According to the product documentation referenced for this article, Storware supports OpenShift versions 4.19, 4.20, 4.21 and 4.22 for OpenShift Virtualization VM backup. Always check the latest compatibility documentation before planning an upgrade or deployment.
Make the DR Cluster a Real Option
Storware Backup and Recovery protects OpenShift Virtualization VMs with incremental backups, immutable destinations and restore to any OpenShift cluster, alongside your other hypervisors and clouds. Book a demo or start a free trial.
Storware: #1 Backup & DR for OpenStack. Simplified. Scalable. Proven.

