snapshot_revert
Revert a VM to a snapshot, permanently replacing its current state. Dry-run previews changes; audit-logged and irreversible, so snapshot first if you might return.
Instructions
[WRITE][risk=high] Revert a VM to a snapshot. IRREVERSIBLE.
The VM's CURRENT state is replaced by the snapshot — take a fresh snapshot
first (snapshot_create) if you may need to come back. Captures the
snapshot's state for the audit record; declares no undo.
Args:
snapshot_id: Snapshot uuid to revert to (see snapshot_list).
dry_run: If True, preview without reverting.
target: Xen Orchestra target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| snapshot_id | Yes |