Snapshots

Snapshots capture the full VM state — including disk — at a point in time. You can revert to a snapshot to restore the VM to its exact previous state.

CLI Usage

List Snapshots

vmctl snapshot ~/VMs/dev.GhostVM list

Create a Snapshot

vmctl snapshot ~/VMs/dev.GhostVM create clean-state
Creating a snapshot copies the full disk image, so it may take a while for large disks. The VM should be stopped before creating a snapshot.

Revert to a Snapshot

vmctl snapshot ~/VMs/dev.GhostVM revert clean-state
Reverting replaces the current disk image and saved state with the snapshot. Current state will be lost.

Delete a Snapshot

vmctl snapshot ~/VMs/dev.GhostVM delete clean-state

GUI Usage

In the GUI, right-click a VM and open the Snapshots submenu to:

  • Create Snapshot — opens a dialog to name the snapshot
  • Revert — select a snapshot to restore (with confirmation)
  • Delete — permanently remove a snapshot

Storage

Snapshots are stored inside the VM bundle under the Snapshots/ directory. Each snapshot is a subdirectory containing a copy of the disk image and saved state.

MyVM.GhostVM/
└── Snapshots/
    ├── clean-state/
    │   ├── disk.img
    │   └── SavedState/
    └── after-setup/
        ├── disk.img
        └── SavedState/