OpenShift Backup, OpenShift Migration, and OpenShift DR
Red Hat OpenShift backup needs two recovery paths: application backups for namespaces, persistent volumes and internal images, plus separate etcd backups for cluster state. Inventory configuration, Operators and external dependencies too. Restore tests should prove that recovered workloads meet their recovery time and recovery point objectives before you rely on the plan.
Updated · Mr.PlanB
Overview
What is OpenShift backup?
OpenShift backup and restore protects application resources and data alongside a separately recoverable control plane. Red Hat backup planning must also cover external databases, DNS and registry dependencies.
How OADP backs up and restores applications
As of November 2026, Red Hat’s OpenShift 4.20 documentation describes OpenShift API for Data Protection (OADP) as Velero based. It archives application resources and internal images to object storage and protects persistent volumes. Full cluster restore, etcd disaster recovery and OpenShift Operator disaster recovery are excluded.
1. Install the OADP Operator as a cluster administrator. 2. Configure supported object storage, such as AWS S3, and its credentials Secret. 3. Create a DataProtectionApplication with provider plugins and backupLocations; verify the resulting backup storage location. 4. Create a Schedule with a cron expression, template.includedNamespaces, storageLocation and ttl. 5. Check the generated Backup completes, then create a Restore referencing its backupName.
Set retention by workload, restrict backup access, encrypt off-site copies and test deletion protection. Include these controls in the ransomware recovery plan.
Choosing persistent volume protection
| Method | Requirement | Recovery tradeoff |
|---|---|---|
| CSI snapshot | Snapshot capable CSI driver | Storage dependent recovery |
| Snapshot data mover | CSI snapshots and remote object storage | Separate copy requires transfer time |
| File-system backup | Accessible pod filesystem | Copies files without requiring snapshots |
Separate etcd and control plane recovery
For OpenShift 4.20, Red Hat’s etcd procedure uses cluster-backup.sh. Preserve both snapshot_ .db and static_kuberesources_ .tar.gz off-cluster. The archive contains encryption keys when etcd encryption is enabled; store it separately. Restore requires the matching pair and the same z-stream release. Follow the documented procedure for your control plane topology.
Quick answer
OpenShift backup protects cluster state, application resources, and persistent data so workloads can be restored after a failure. OpenShift migration uses the same recovery mechanisms to move workloads between clusters or platforms. OpenShift DR adds tested failover, replication, and recovery workflows that keep downtime and data loss within business targets.
Structured overview
OpenShift environments usually fail in ways that hit infrastructure, storage, and application configuration at the same time, so a plain storage copy is not enough to recover them.
A complete protection plan should cover:
etcd and cluster-state recovery
Kubernetes objects such as namespaces, deployments, secrets, and config maps
Persistent volumes and storage snapshots
Application dependencies, operators, and policy configuration
Cross-cluster recovery paths for migration and disaster recovery
When these layers are protected together, teams can recover production workloads faster and move applications between OpenShift environments without rebuilding them by hand.
Comparison snapshot
| Criteria | Backup Only | Backup and Migration | Backup, Migration, and DR |
|---|---|---|---|
| Primary goal | Restore lost data | Move workloads safely | Restore service continuity |
| Cluster portability | Limited | High | High |
| Recovery speed | Moderate | Moderate | Fastest with planning |
| Persistent volume protection | Yes | Yes | Yes with coordinated failover |
| Testing requirement | Restore testing | Restore and cutover testing | Restore, failover, and runbook testing |
| Business continuity coverage | Partial | Partial | Strongest |
What OpenShift backup should include
Control plane protection
Take etcd snapshots and store them outside the failure domain of the production cluster.
Application-aware backup
Capture Kubernetes objects, policies, metadata, and persistent storage together so applications can be rebuilt consistently.
Storage-aware recovery
Where possible, use CSI snapshots or storage-integrated protection to speed up recovery of stateful workloads.
External retention
Keep backup data in durable external storage so a cluster-level outage cannot destroy the recovery copy.
When OpenShift migration becomes necessary
OpenShift migration usually follows a platform change, a consolidation, or a cloud relocation. Common triggers include:
Moving between on-premises and cloud OpenShift clusters
Replatforming during data center exit projects
Refreshing hardware or storage backends
Separating environments after mergers, compliance changes, or tenancy redesign
Copying YAML files is only part of an OpenShift migration. Teams also need compatible storage, network policies, a plan for the DNS cutover, and application-level validation in the destination cluster.
Building an OpenShift DR strategy
OpenShift DR is about keeping services recoverable under real operational pressure. The main questions are the recovery time objective, the recovery point objective, and how much infrastructure is already waiting on the other side.
Cold recovery
Restore into a rebuilt or replacement cluster. This costs less but is usually slower.
Warm standby
Keep a secondary environment that synchronizes periodically. Downtime is shorter, while cost and complexity stay manageable.
Active disaster recovery
Use continuous or near-continuous replication with well-rehearsed failover procedures. This suits the most critical applications.
Best practices for OpenShift backup, migration, and DR
Define RTO and RPO before choosing tools or architecture
Protect cluster state and application state separately but test them together
Run restore drills into alternate namespaces or clusters
Validate persistent volume recovery for stateful applications
Automate policies instead of relying on manual backup jobs
Document migration cutover and DR failover runbooks
Keep backup copies off-cluster and outside the primary failure domain
With these practices in place, OpenShift backup becomes a recovery system you can use in an incident, rather than something kept for compliance.
Common mistakes
Backing up only etcd
An etcd backup helps rebuild cluster state, but it does not fully recover application data and runtime dependencies.
Treating migration like a basic restore
Migration requires compatibility checks, validation, and cutover planning.
Skipping failover tests
OpenShift DR plans that were never tested often fail when networking, storage, or operator dependencies come under stress.
Ignoring application ownership
Platform teams and app teams both need clear responsibilities for recovery validation.
Frequently asked questions
What is the difference between OpenShift backup and OpenShift DR?
OpenShift backup keeps recoverable copies of data and configuration. OpenShift DR adds tested operational processes and standby strategies so service can be restored quickly after a disruption.
Can OpenShift backup be used for OpenShift migration?
Yes. The same application-aware backups used for recovery can support migration, although teams still need compatibility checks, testing, and cutover planning.
Does OpenShift migration require downtime?
Not always. Downtime depends on the application, the storage method, the replication model, and how much pre-staging has been done.
What should be included in an OpenShift DR plan?
Recovery targets, backup scope, replication design, restore procedures, failover steps, validation criteria, and ownership across platform and application teams.
Why is persistent volume protection so important in OpenShift backup?
Databases, queues, and other stateful services need consistent data recovery, and stateless manifests alone cannot provide it.
FAQ
How does OpenShift backup protect databases consistently?
Coordinate application hooks or native database backups with volume protection; a completed storage copy alone does not prove database consistency. During an isolated restore, check transactions, data integrity and application behavior, then measure elapsed recovery time and the age of recovered data against RTO and RPO.
How do you back up OpenShift Virtualization VMs?
As of November 2026, Red Hat’s 4.20 guidance supports OADP CSI backups with or without Data Mover, excluding file-system backup. Use the required kubevirt, csi and openshift plugins; for running VMs, verify guest agent quiescing and snapshot indications.
Related guides
More from the backup hub on the same topics.
Need help with backup and recovery?
Use the form below to get in touch about backup strategy, recovery planning, and data protection projects.