Save and restore snapshots
A snapshot records a build’s ComfyUI version, Custom Nodes, and Python packages, so you can put the build back the way it was after an update or a Custom Node breaks it. Models, inputs, and outputs aren’t part of a snapshot. The Snapshots tab appears for installed Standalone builds.
- Import: adds a snapshot from a file.
- Export all: writes every snapshot to a folder.
- Create snapshot: saves the build’s state now.
- More actions on a snapshot: the actions that snapshot allows, such as restore or delete.
When Comfy Desktop saves a snapshot
Comfy Desktop saves snapshots for you, and tags each one with why it was saved:
Comfy Desktop keeps up to 200 Boot and Manager snapshots and deletes the oldest ones past that. It never deletes a snapshot that has a label.
Read the timeline
The Snapshots tab lists snapshots newest first, under Latest: and how long ago the last one was saved. The newest snapshot opens on its own. Click any other snapshot to open it, and click What changed in this snapshot to see which Custom Nodes and packages it added, removed, or changed. A snapshot shows its label when it has one, and the version change, such as v0.42.1 → v0.46.2, after an update.Create a snapshot
Save a snapshot before you try something risky, such as a new Custom Node.- Click Create snapshot.
- In Create snapshot, type a label if you want one, such as
before-experiment. A labeled snapshot is never deleted to make room. - Click Create snapshot.
Restore a snapshot
- Click Restore on the snapshot. The newest snapshot has no Restore, because the build already matches it.
- In Restore this snapshot?, check what changes, and then confirm.
Export, import, and delete snapshots
- Export one snapshot: click More actions (⋯) on the snapshot, and then select Export. To export the newest snapshot without opening the tab, select Export snapshot in the quick actions menu or the build page’s More menu.
- Export all: saves every snapshot of the build to a file.
- Import: choose a snapshot file. Import snapshot? asks you to confirm, and then Comfy Desktop restores the build to that snapshot right away. If the snapshot uses a different PyTorch, the dialog warns Snapshot uses a different PyTorch.
- Delete: click More actions (⋯) on the snapshot, select Delete, and confirm. The build and its other snapshots don’t change.
.launcher/snapshots folder inside the build’s folder.
Create a build from a snapshot file
A snapshot file can set up a new build with the same ComfyUI version, Custom Nodes, and packages, such as one a teammate exported.- On the Builds page, click the arrow next to New build (More build options), and then select Load snapshot. The page reads Load a snapshot file to install a build.
- Drop the
.jsonfile on the page, or click Browse and choose it. - Check Name, Release, and Hardware. The page warns you when the snapshot was made for different hardware.
- Click Create build.