Skip to content

Snapshots

Yeast snapshots are stopped-VM disk snapshots.

They are useful for creating reset points in local labs.

Create A Snapshot

yeast down
yeast snapshot web baseline --description "Clean baseline"

List Snapshots

yeast snapshots web

Restore

yeast down
yeast restore web baseline

Warning

Restore replaces the current disk with the snapshot disk.

Delete

yeast delete-snapshot web baseline

Why VMs Must Be Stopped

Snapshots copy disk state. A running VM can be changing its disk while Yeast is trying to snapshot or restore it.

Stopping first makes the reset point predictable.

Good Snapshot Names

Use names that describe the reset point:

yeast snapshot web clean-install
yeast snapshot web before-upgrade
yeast snapshot web baseline

Typical Lab Flow

yeast up
yeast down
yeast snapshot web baseline --description "Clean baseline"
yeast up

Then after experimenting:

yeast down
yeast restore web baseline
yeast up

What Snapshots Are Not

Snapshots are not project-wide atomic checkpoints in v1.1.

Create and restore snapshots per instance.