Volume Snapshot Operations

Red Hat

Audience
Public
Technology Integrations
Linux
Source Type
Documentation

Volume snapshot operations are a core part of Day 2 storage management in OpenShift environments that run both virtual machines and containerized workloads. In a FlashArray and Portworx-backed design, snapshots provide fast point-in-time protection, operational rollback capability, clone workflows, and a practical recovery option for test, development, and incident response use cases.Administrators should treat snapshots as operational tools, not just backup substitutes. They are ideal for rapid restore and clone workflows, but they also require discipline around naming, retention, and lifecycle management so that snapshot sprawl does not become an unmanaged storage problem.

Taking a Volume Snapshot

Taking a volume snapshot is the most basic snapshot operation and should be familiar to administrators responsible for VM protection, application rollback, or storage validation. In OpenShift, the snapshot is typically created against the PVC that backs a VM disk or a container workload.

This task is used to:

  • capture a point-in-time copy before change activity

  • protect a VM or application volume before patching or maintenance

  • create a recovery point before risky changes

  • support later clone or restore workflows

Workflow for creating snapshots\

  1. In the OpenShift web console, go to Storage > PersistentVolumeClaims.

  2. Select the namespace that contains the target PVC.

  3. Open the PVC details page.

  4. Confirm that the PVC is bound and healthy.

  5. Use the PVC action menu and select the snapshot creation option if exposed in the UI.

  6. If the workflow is presented through the snapshot resources view instead, go to Storage > VolumeSnapshots and create a new snapshot referencing the target PVC.

  7. Enter a meaningful snapshot name.

  8. Confirm that the correct source PVC is selected.

  9. Create the snapshot.

Recommended Validation After Snapshot Completion

After the snapshot completes, validate:

  • the snapshot object exists in the correct namespace

  • the snapshot shows a ready or usable state

  • the source PVC is the intended one

  • the timestamp aligns with the maintenance or protection event

  • No storage warning or error was raised during creation

Reverting a VM to a Point in Time

Reverting a VM to a previous point in time allows administrators to roll a workload back to a known earlier state after a failed change, guest corruption, or operational error. This is one of the most powerful snapshot-driven recovery actions in a virtualization environment, and it should be handled carefully.

This task is used to:

  • Reverse a failed patch or change

  • Recover from guest-level corruption

  • Return a VM to a known good state

  • Shorten recovery time during a localized incident

Workflow for restoring a VM to a previous point-in-time state

  1. In the OpenShift web console, go to Virtualization > VirtualMachines.

  2. Select the namespace containing the VM.

  3. Open the target VM.

  4. Review the VM snapshot or restore-related view from the VM details page.

  5. Identify the correct snapshot based on timestamp, change context, and naming.

  6. Confirm that the snapshot corresponds to the intended recovery point.

  7. Start the restore or rollback workflow using the GUI.

  8. Monitor the restore status until completion.

  9. Confirm the VM is returned to a recoverable and operational state.

Cloning a Snapshot to a New PVC

Cloning a snapshot to a new PVC is one of the safest and most flexible Day 2 workflows. It allows administrators to preserve the original source while creating a usable copy for recovery, testing, analysis, or validation. This is often the preferred method when operators want to inspect or recover data without immediately changing the running workload.

This task is used to:

  • create a new working copy from a known recovery point

  • test restore outcomes before changing production

  • support dev and test use cases

  • preserve evidence for investigation or support analysis

  • create alternate recovery options without overwriting the source

Workflow for Creating a new PVC from an existing snapshot

  1. In the OpenShift web console, go to Storage > VolumeSnapshots.

  2. Select the namespace containing the snapshot.

  3. Open the snapshot details page and confirm it is ready for use.

  4. Start the PVC creation workflow using the snapshot as the source.

  5. Provide a name for the new PVC.

  6. Confirm that the target size, storage class, and namespace align with the intended use case.

  7. Create the PVC.

  8. Monitor the PVC until it becomes bound.

  9. Attach the new PVC to a test VM, replacement VM, or application workflow as needed.

Snapshot Schedules and Retention

Manual snapshots are useful, but long-term operational reliability requires scheduled protection and a clear retention model. Snapshot schedules should align with workload criticality, expected rollback windows, and storage consumption limits.

Defining recurring schedules

Recurring schedules should be based on business and operational need rather than habit. Administrators should define snapshot frequency according to workload sensitivity, change rate, and recovery expectations.

Typical schedule models include:

  • frequent short-retention snapshots for high-change workloads

  • daily snapshots for standard application rollback needs

  • pre-maintenance snapshots before planned changes

  • longer retention for selected audit, rollback, or validation workflows

Not every workload needs the same snapshot cadence.

Retention policy design

Retention policy should define:

  • how long snapshots are kept

  • which snapshots are temporary versus protected

  • who owns schedule changes

  • when old snapshots are pruned

  • which workloads justify longer retention

  • Balancing protection coverage with storage consumption