Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Revert

Direct answer

Revert changes the VM's active state to a historical snapshot/checkpoint. It is a destructive timeline operation from the perspective of changes made after the selected point unless those later states are separately preserved.

When to use this

Use it for controlled rollback after failed changes or testing only when the data-loss window, external dependencies and snapshot consistency level are understood.

First 30 seconds

1. Revert discards changes since the snapshot.

2. Domain controllers and clustered apps can break (USN rollback).

3. Data written after is lost.

4. Confirm with owner.

5. Check time sync after.

Operational verification

current state discarded → snapshot state restored

Evidence · next step

Run regression/integration checks and decide whether to retain, merge or remove remaining snapshot states.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

It does not show later data was preserved, every integration is consistent or independent disaster recovery exists.

Next check: Run regression/integration checks and decide whether to retain, merge or remove remaining snapshot states.

Platform / version applicability
virtualization-image
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization-image
Scope / prerequisiteUse it for controlled rollback after failed changes or testing only when the data-loss window, external dependencies an…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

recovery intent → target validation → impact boundary → apply/revert → VM state transition → guest/app/external verification

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Revert can discard or detach later VM changes from the active timeline.
  • External systems do not roll back with the VM, so credentials, transactions, leases, replication and distributed state may become inconsistent.
  • Successful VM boot after revert is not proof that the application is healthy.
  • Revert is not equivalent to restoring an independent backup after storage loss.
Key checks
  • qm rollback <vmid> <snap> — revert (Proxmox)
  • virsh snapshot-revert <vm> <snap> — revert (libvirt)
  • Restore-VMSnapshot -VMName <vm> -Name <n> — Hyper-V apply
ReferenceWhy it matters1 section · depth on demand

In depth

Reverting returns the VM to the snapshot's state and discards everything written since. Before reverting:

  • Data written since (orders, mails, logs) will be lost — export it if needed.
  • Domain members may lose their machine-account password sync (secure channel) if reverted far back; Test-ComputerSecureChannel -Repair.
  • Clustered or replicated applications may see the reverted node as stale.
qm rollback 120 pre-patch
virsh snapshot-revert vm1 pre-patch
Restore-VMCheckpoint -VMName vm1 -Name pre-patch
ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

Revert succeeded ≠ later data preserved ≠ external systems reverted ≠ application recovered.

Reverting safely

  • Reverting discards all changes since the snapshot, including data.
  • Domain members may lose their computer account password sync — rejoin may be needed if the snapshot is older than the machine password age (30 days).
  • Take a new snapshot before reverting if you may need to go back.
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization-image current

Authoritative/upstream documentation reviewed for bounded claims in Snapshots & Checkpoints → Revert. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/docs.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
snapshot revertcheckpoint applyrevert vm snapshotrollback checkpoint
Embedded reference data

Quick lookup tables

Snapshots & Checkpoints → Revert reference map

Fast snapshot/checkpoint boundaries for Snapshots & Checkpoints → Revert.

BoundaryMeaningEvidence limit
TargetHistorical snapshot/checkpointVerify exact timestamp
Later changesMay be lost/divergedImpact boundary
External systemsDo not automatically revertReconcile
SuccessVM state appliedStill test application
Confirmation

Confirm action

Continue?