Kubernetes backup and restore with Velero: what it covers and when you need it
If your self-managed cluster runs applications with persistent data, you need a plan for what happens when objects are deleted, data is corrupted, an upgrade goes wrong or a whole site is lost. Velero, formerly Heptio Ark, is an open-source tool for backing up and restoring Kubernetes cluster resources and persistent volumes. It runs as a server on the cluster and is driven by a command-line client on your workstation. It can run against a public cloud or on premises, and it can also migrate resources to other clusters or copy production namespaces into development and test clusters. Velero is licensed under Apache-2.0, so the software itself carries no license fee, and the costs you plan for are the infrastructure, storage, staffing and testing around it.
Before you plan the design, confirm the release you intend to deploy. The most recent release in the supplied facts is v1.18.4, published on September 28, 2026, after v1.18.3 on September 21, 2026. Check the Velero GitHub releases page on the day you start, because a newer patch may exist by then. Pin the version in your deployment and record which Velero client version your operators use, since the client and server should be kept on matching releases. Also confirm that the Kubernetes version in your cluster is supported by the Velero release you choose, and check the compatibility notes in the release itself rather than assuming an older plugin set still works.
The decision to make first is scope. Velero protects Kubernetes objects and the data in volumes, but it does not replace the separate protection your cluster control plane needs. Decide which namespaces, custom resources and volumes must be restorable, how far back you need to go, and who approves a restore. Those answers determine the storage target, the volume method and the schedule that follow in the rest of this page. Ask your team to inventory every stateful workload before the design is fixed, because a volume that is missed at this stage will not appear in a restore test later.
How the Velero server, node agent and object storage fit together
The diagram starts at the Velero CLI on an operator workstation, which sends backup and restore requests to the Velero server running in the cluster. The server coordinates two data paths: CSI snapshots for supported volumes, and File System Backup, where node-agent pods on each node use Kopia modules to read the live file system and write encrypted data to object storage. Check the boundary around the backup bucket: anyone who can reach that storage can read File System Backup data, because Velero uses a static, common encryption key for it.
Velero server, node agents, snapshot and Kopia paths, and the backup storage trust boundary.
Choosing between CSI snapshots and Kopia file system backup
This table compares volume-level protection in Velero: CSI or block snapshots against File System Backup with Kopia modules. Read each row against your storage backend, since the answer often decides which method is available, and confirm the details with your storage vendor before you commit.
| Requirement | CSI snapshots | Kopia File System Backup |
|---|---|---|
| Backup target | Snapshot stays with the storage backend, and Velero records metadata in its configured object storage | Data must go to object storage, S3-compatible for providers not explicitly listed |
| hostPath volumes | Depends on whether the driver supports snapshots for the volume type; confirm with the vendor | Not supported |
| Node-agent privileges | No node-agent data movement needed for snapshot-based volumes | Needs root and sometimes privileged node-agent pods, which your security team must approve |
| Consistency | Point-in-time snapshot taken by the storage layer, generally more consistent | Backs up the live file system, so open files may be captured in an inconsistent state |
| Unmounted PVCs | Snapshot can be taken without a running pod using the PVC | Only volumes mounted by a running pod are backed up, so unmounted PVCs need a staging pod |
| Encryption of backup data | Governed by the storage and object store settings you already operate | Uses a static, common encryption key, so anyone with access to the backup storage can decrypt the data |
| Deciding factor | Confirm CSI snapshot support and VolumeSnapshotClass setup for each StorageClass | Use when snapshots are unavailable or the volume type needs file-level data movement |
Which volume backup method fits each storage situation
When the CSI driver supports volume snapshots, Velero can usually use the CSI snapshot path to capture persistent volume data at the storage layer. This is typically the most consistent option because the snapshot is taken from the storage system rather than from a live file system walked by a pod. Confirm the driver's snapshot support before you rely on it, since snapshot behavior depends on the driver, its version and the VolumeSnapshotClass you configure.
- Snapshot class mapping: Velero needs a VolumeSnapshotClass for the driver, and the class must be labeled so Velero can select it. Check the labeling requirement in the Velero documentation for your release.
- Consistency scope: A storage snapshot captures the volume at a point in time, but it does not quiesce the application. Databases still need their own application-consistent procedure or hooks.
- Cost and retention: Snapshots consume storage capacity at the provider, so ask how many snapshots the driver keeps and how Velero deletes them.
- Restore path: Restores recreate volumes from snapshots, so test that the target StorageClass and driver can restore to the same or a new cluster.
Verify with your storage vendor that the driver supports the snapshot API version your cluster runs, and run a test backup and restore of one stateful application.
Some block storage arrays and older provisioners do not expose CSI snapshots to Kubernetes. In that case, Velero's options are limited. Its native volume snapshotters depend on the provider plugin, and File System Backup is the fallback for volumes mounted by pods. Each path has trade-offs in consistency, performance and how much node-level access the backup needs.
- Provider support: Check whether your storage platform has a Velero plugin that takes native snapshots. Do not assume it exists because the array supports snapshots at the hardware level.
- File System Backup fallback: File System Backup reads the live file system through node-agent pods, so it is less consistent than a snapshot and may need root or privileged pods.
- Object storage target: File System Backup requires an object storage target, and the target must be S3-compatible for providers not explicitly listed.
- Encryption key warning: Velero's documentation warns that File System Backup uses a static, common encryption key, so anyone with access to the backup bucket can decrypt the data. Restrict bucket access accordingly.
- Performance: Data moves through the node-agent, so plan for backup windows that do not overlap heavy write activity.
Confirm with the array vendor whether a snapshot path exists, and document the consistency level you accept for each application.
hostPath and local volumes tie data to a specific node's file system. Velero's File System Backup does not support hostPath volumes, so these workloads need a different plan. Local PersistentVolumes can sometimes be snapshotted at the storage layer if the provisioner supports it, but this is not a given. Treat node-bound data as a separate risk from cluster objects.
- Not covered by File System Backup: Do not expect Velero to back up hostPath data through the standard path.
- Node dependency: Local volumes are bound to one node, so a restore to a different node may fail or need manual placement.
- Application-level backup: Many teams move data out of local storage with the application's own export, replication or database dump, then back up the destination.
- Inventory: Identify every hostPath and local PV in the cluster, including ones created by operators or third-party charts.
- Ownership: Assign who maintains each application's export job, since Velero will not capture that data by default.
Inventory these volumes first, then confirm with each application owner how their data can be exported and restored independently of the node.
File System Backup only works on volumes mounted by a running pod. A PersistentVolumeClaim that no pod uses, such as data kept between application releases or a claim left after a scale-down, will not be captured by that path. The usual workaround is a staging pod that mounts the claim so the node-agent can read it, but the staging pod must be planned and maintained like any other workload.
- Discovery: List PVCs that have no consuming pod, since these are easy to miss in namespace-based schedules.
- Staging pod: Create a small pod that mounts the claim for the backup window, and keep its image and permissions reviewed.
- Timing: Coordinate the staging pod with the backup schedule so it runs when the volume is expected to be stable.
- Snapshot alternative: If the driver supports CSI snapshots, the snapshot path may not need a mounted pod, so confirm this before adding staging pods.
- Cleanup: Remove staging pods after the backup completes so they do not become unmanaged workloads.
Review the PVC inventory with the platform team, and confirm for each unmounted claim whether the snapshot path or a staging pod is the right method.
What etcd snapshots cover instead of Velero, and what they miss
An etcd snapshot protects the cluster state stored in etcd, which includes the API objects that define your workloads, Services, ConfigMaps, RBAC rules and Secrets. Take it with etcdctl snapshot save and restore it with etcdutl, following the procedure in the etcd operations guide for Kubernetes. What it does not contain is persistent volume data, and it does not contain application data held in external systems such as managed databases, object storage buckets or message queues. A snapshot can rebuild the control plane, but a restored Deployment that mounts a volume will still have lost whatever was written to that volume after the snapshot was taken, or lost entirely if the volume itself was destroyed.
Velero fills the gap from the other side. It backs up selected namespaces and resources as objects, and it backs up persistent volume data either through CSI snapshots or through File System Backup with Kopia. A typical design uses both: etcd snapshots for control plane recovery on a cluster that has lost its state, and Velero for restoring applications, namespaces or volume contents into a rebuilt or separate cluster. Decide which namespaces and volume types each tool must cover, and write that split down so a restore is not improvised during an incident. Confirm with your storage vendor whether CSI snapshots are available for each StorageClass you use.
Secrets are stored unencrypted in etcd by default, and that matters for both tools. An etcd snapshot contains every Secret in plain form unless you have configured encryption at rest. Velero backups also carry Secret objects, and File System Backup uses a static, common encryption key, so anyone with access to the backup storage can decrypt the data. Treat both snapshot files and Velero backup buckets as sensitive, restrict access to them, encrypt them in transit and at rest, and check that your secrets handling matches the Kubernetes Secrets good practices before you retain backups for long periods.
How to set up Velero backups with a verified restore
This sequence takes a cluster from no backup tooling to a Velero setup that has produced a backup and restored it into a separate namespace. Nothing should be scheduled until that restore has been checked. Each step names the check that confirms it is complete.
Confirm Velero and Kubernetes compatibility
The platform engineer selects the Velero release and checks it against the Kubernetes version of the target cluster and the upgrade plan for the coming months. Velero v1.18.4 was published on September 28, 2026, after v1.18.3 on September 21, 2026, so confirm in the release notes which is current and whether your Kubernetes version is covered. Record the chosen version in the change record and pin it in the install manifests. Done when the version, the cluster version and the supported-combination note are written down and approved by the owner of the cluster.
Decide the volume backup method
Choose between CSI or block snapshots and File System Backup with Kopia for each storage class in the cluster. Snapshots are generally more consistent, but they depend on a supported driver and snapshot class. File System Backup works without snapshot support, but it reads the live file system, cannot back up hostPath volumes, requires root and sometimes privileged node-agent pods, and needs object storage as its target. Confirm with your storage vendor which drivers support snapshots. Done when each volume type in scope is mapped to one method in a short table that the security team has reviewed.
Provision object storage and credentials
The storage team creates a bucket in object storage you control, either an S3-compatible service or a provider Velero lists explicitly, and a dedicated access identity limited to that bucket. Enable encryption at rest and restrict who can read the bucket, because Velero's documentation warns that File System Backup uses a static, common encryption key, so anyone who can reach the backup storage can decrypt the data. Store the credentials in your secrets system rather than in a shared file. Done when a test upload and download succeed with that identity and nothing else.
Install the Velero server and node agent
The platform engineer installs the Velero server and, where File System Backup is used, the node agent, with the chosen plugins for your storage provider and the CSI plugin if snapshots are used. Install the command-line client on an administrator workstation, since it runs locally while the server runs on the cluster. Review the node agent's privileges against your Pod Security Standards setting for the Velero namespace before admission is set to enforce. Done when the server and node agent pods are running and the client reports the server version.
Configure backup and volume snapshot locations
Create a backup storage location that points to the bucket, and a volume snapshot location if the snapshot method is used. Mark the default location explicitly so schedules do not write to the wrong target. Confirm the location reports as available. Set the Velero configuration so that the node agent can reach the bucket from every node where workloads run. Done when the CLI shows the backup storage location as available and the volume snapshot location, if configured, is listed without errors.
Run a test backup of a non-production namespace
Pick a non-production namespace that contains a stateful workload with a persistent volume that holds known test data. Create a backup scoped to that namespace with the volume method you chose, and include the persistent volume data in the backup. Keep the test data small and record the marker value written into the volume before the backup started. Done when the backup completes and the CLI reports it as completed with no volume errors.
Check backup status with the CLI
Use the Velero CLI to describe the backup and its logs, and confirm the resource count, the volume data items and the warning list. Investigate every warning, because a backup can report partial success while skipping resources or volumes. Confirm that the backup appears in the object storage bucket with the expected layout. Done when the description shows the expected resources and volumes, and each warning has been explained in writing.
Restore to a separate namespace and verify data
Restore the test backup into a new namespace, using a namespace mapping so the original workload is untouched. Verify the restored pods start, the persistent volume contains the recorded marker value, and the application answers its health check. Compare the restored resources with the source. Delete the restored namespace after verification. This restore must succeed before any schedule is trusted. Done when the marker value and application health are confirmed and the test result is signed off by the workload owner.
Protecting backup storage, credentials and the encryption key
A Velero backup is only as safe as the object store, credentials and encryption key behind it. The cards below cover the risks that most often leave backups readable by people who should not see them, and what to confirm before the first schedule runs. Each one maps to a decision your team makes once and then has to keep reviewing.
Shared encryption key in File System Backup
File System Backup encrypts data with a static, common key, so anyone who can read the backup storage can decrypt the backup data. Treat the object store as a secret in its own right. Confirm who can read the bucket, whether the key is handled as a secret, and whether snapshot-based backup can cover your volumes instead, which avoids this exposure for those volumes.
Velero file system backup docsPrivileged node-agent pods
File System Backup runs node-agent pods that need root and sometimes privileged access to read volume data on each node. A compromised node agent can read data from every volume on that node. Ask who approves the node-agent deployment, limit it to the nodes and namespaces that need it, and review its pod security settings against the Pod Security Standards your cluster enforces.
Pod Security StandardsSecrets captured in backups
Backups of namespaces often include Kubernetes Secrets, which are stored unencrypted in etcd by default. Anyone who restores or reads a backup can see those credentials. Confirm whether encryption at rest is enabled for the cluster, decide whether Secrets belong in the backup scope at all, and consider rotating credentials that were exposed in backups that are copied off-site.
Secrets good practicesLeast-privilege access to the object store
Velero needs write access to its backup location and, for snapshots, access to volume data. Give the Velero identity permission only on its own bucket or prefix, with no permission to delete other buckets or change bucket policy. Ask for a separate read path for restore operators, and log access to the bucket so unexpected reads are visible.
Retention that outlives access reviews
Backups keep data after the workload and the people who had access to it are gone. A retention period longer than your access review cycle means former staff or retired applications can still expose data through old backups. Set retention in the Schedule with your data owners, align it with your records policy, and confirm that deletion of expired backups runs and is logged.
Backup credentials separate from cluster admin
The identity that creates backups should not also be a cluster administrator who can change RBAC, delete namespaces or read every Secret. If that identity is compromised, an attacker gains both the live cluster and its backups. Keep Velero's service account scoped to the resources it backs up and restores, and require a separate, reviewed path for restores that need broader rights.
How restore testing proves a Velero backup is usable
A Velero backup is only trustworthy after a restore has been carried out into an isolated cluster or namespace and checked against a written checklist. A successful backup job tells you that the server accepted the request and wrote data to the backup location, not that the Kubernetes objects can be recreated or that the application starts with its data. Your checklist should confirm four things: the expected resources exist (Deployments, Services, ConfigMaps, Secrets and custom resources in the namespaces you back up), persistent volumes are populated with the data you expect, the applications reach a ready state, and application-level data checks pass, such as row counts, a sample query or a login with a test account.
Schedule restore tests as a recurring activity owned by a named team, not as a one-time project check. Run them against the schedules and retention settings you actually use in production, including the Backup and Schedule resources that Velero created, and include at least one restore from the oldest backup that retention still keeps. Record every test with the Velero version, the backup name, the target cluster, the restore命令 options used, the outcome of each checklist item and any manual steps. Keep those records with your backup runbook so an auditor or on-call engineer can see when the backup was last proven usable. Confirm the exact Velero release and upgrade process against the Velero GitHub releases page before you set a cadence.
Measure recovery time in your own environment rather than relying on estimates from vendors or this page. Time each phase separately: retrieving the backup from object storage, restoring resources, populating volumes (which is often the longest step for File System Backup), and the application's own startup and data validation. Compare the measured figures with the recovery time your business has agreed to, and record gaps as findings with an owner. Also test the failure you are most likely to face, such as a restore into a cluster with a different StorageClass or a missing Secret, because those problems tend to appear only under real recovery pressure.
Limits to confirm in your environment before relying on Velero
Velero's backup coverage depends on the storage behind your volumes, the backup mode you choose and the object storage you point it at. The limits below are the points where a backup can look complete in a dashboard and still fail to restore the way you expect. Confirm each one with your storage vendor or in a restore lab before you write a recovery plan.
Live file system reads
File System Backup reads the live file system of a running pod, so files can change while the copy is made. The result is less consistent than a volume snapshot taken at one point in time. For databases and other write-heavy workloads, confirm whether the application needs its own consistent dump or quiesce step, and test a restore of that data before you treat the backup as recoverable.
Velero file system backup docsNo hostPath volumes
File System Backup does not support hostPath volumes. Any workload that stores state in a node directory will not have that data captured by this mode. Inventory your volumes by type before you choose a backup method, and decide how those workloads will be protected, whether by moving the data to a supported volume type or by a separate node-level process.
Unmounted PVCs need a staging pod
File System Backup only works on volumes mounted by a running pod. A PersistentVolumeClaim that no workload currently uses will be skipped unless a staging pod mounts it during the backup. Check whether your cluster holds idle claims, such as data volumes kept between releases, and add a documented staging step to the schedule for each one.
Snapshot support varies by driver
Snapshot backups depend on the block storage or CSI driver behind each StorageClass. Support for volume snapshots, and the snapshot class you must create for Velero to use it, differs between drivers and storage products. Ask your storage vendor which driver versions support snapshots in your cluster, and run a snapshot backup and restore in a lab before you assume that a given StorageClass is covered.
Schedules and retention need matching lifecycle rules
Velero schedules set how often backups are created and how long Velero keeps them, but object storage keeps whatever Velero does not delete. Storage lifecycle rules, object locking and versioning on the bucket can each change what remains and what it costs. Confirm the retention Velero applies and the bucket rules together, and test that old backups can still be read after a rule expires.
Cross-cluster restores need storage class mapping
A restore into another cluster or site often fails when the target uses different StorageClass names, CSI drivers or snapshot classes than the source. Persistent volumes may then be created with the wrong provisioner or left pending. Record the StorageClass and snapshot class for each workload, plan the mapping before cutover, and rehearse the restore in the target cluster before you move production traffic.
What do buyers ask before hiring help with Velero backup and restore?
What drives the cost and effort of a Velero rollout?
The biggest driver is how your volumes are stored and what you need to protect. Clusters with CSI snapshot support can use volume snapshots, while clusters without that support or with hostPath volumes depend on File System Backup with Kopia, which needs object storage as a target and node-agent pods that may need root or privileged access. Other drivers include the number of namespaces and applications, how many restore scenarios must be proven (same cluster, new cluster, new site), encryption and key handling, and whether you need schedules, retention rules and monitoring wired into your existing tools. Costs split into one-time design, build and restore testing work, plus recurring operation of the backup storage and Velero upgrades. Ask any partner to itemize these items in a written quote.
How long does a scoped Velero implementation take?
Duration depends on the scope agreed in writing, so no single figure applies to every environment. The main variables are the number of clusters and namespaces in scope, whether your storage supports CSI snapshots, how quickly object storage and credentials are provisioned, and how long your teams take to approve schedules, retention and restore acceptance criteria. Restore testing usually takes longer than the initial install because each application needs its own verification. Ask the partner for a timeline tied to named milestones, and confirm which client-side reviews and approvals are assumed.
What does the work need from our internal team?
Velero work touches several teams, so you should plan for their time before the engagement starts. Storage administrators provide the object storage target or the CSI snapshot classes and confirm access and capacity. Cluster owners approve node-agent settings, privileged pod exceptions and the namespaces to include. Application owners define what a usable restore looks like for their workloads, and security staff review encryption keys, backup access and retention. Name a point of contact for each area and ask the quote to list the inputs it expects from each.
Can our internal team run Velero alone?
An internal team can run Velero if it has Kubernetes administration skills, access to the storage platform and time to test restores properly. Teams often struggle with the parts that are easy to skip: choosing between snapshots and File System Backup, handling the static encryption key that File System Backup uses, staging unmounted PVCs, and proving that restores work in a separate cluster. Ask yourself whether someone will own restore drills on a recurring basis. If not, a partner can design and document the setup while your team keeps operating it.
How is restore testing scoped?
Restore testing should be scoped by application and by failure scenario, not by the number of backups produced. A typical scope lists the namespaces and volumes to restore, the target (same cluster, a rebuilt cluster or another site), the data checks that prove the application works, and the recovery time and data loss expectations your business has agreed to. Include at least one test that restores into an empty cluster, because that is where missing storage classes, secrets and CRDs tend to surface. Ask the quote to state how many restore exercises are included and what evidence each one produces.
Does DeployOpen issue audit reports or compliance attestations for backups?
No. DeployOpen does not issue audit reports, attestations or certifications. It can prepare the systems, backup configuration, retention settings, access controls and restore test records that a compliance assessment will examine. An independent auditor or certification body makes the assessment itself. Ask any partner to confirm in writing which evidence artifacts they will deliver so your compliance team knows what to present to its assessor.
What does a fixed-scope quote follow from?
A fixed-scope quote follows from the written scope, deliverables and timeline agreed before work starts. DeployOpen does not publish a price list, so the quote depends on the clusters, namespaces and storage types covered, the restore scenarios to be proven, the testing depth, and any recurring support. Before requesting a quote, gather your cluster versions, storage backends, backup retention requirements and recovery expectations. Ask for one-time and recurring costs listed separately, the assumptions behind them, and what changes would trigger a new quote.
How DeployOpen works on this
DeployOpen plans and implements Velero backup inside the infrastructure you control, starting from your namespaces, volumes and recovery targets. The work ends with restore evidence your operations team can run again without us.
How we scope
- Written scope lists the clusters, namespaces, volumes and storage classes Velero will back up and restore.
- We record whether each volume gets CSI snapshots or File System Backup with Kopia, and why.
- Scope names the object storage target, its encryption handling and who holds access to backup data.
How we build
- We install the Velero server and node-agent in your cluster and configure the object storage location.
- We set schedules, retention and backup hooks for each workload, and test them against your data.
- We run restore tests into a separate cluster and check resources, volume data and application behavior.
How we hand over
- Handover includes configuration as code, runbooks for backup, restore and failed-job triage, and an etcd snapshot procedure.
- We document what Velero does not cover, including etcd state, which needs its own snapshot and recovery steps.
- Your team runs a supervised restore drill before the engagement closes, with results recorded in the handover pack.
How we support
- Ongoing support, Velero version upgrades and recurring restore testing are available as a retainer.
- Retainer scope is agreed in writing, including which Velero releases and Kubernetes versions it covers.
- Ask for the support scope, response arrangements and upgrade approach in your quote before work starts.

