Skip to main content
This page covers the Snapshots tab of a build’s page. To install, add, or connect the build, see Builds.

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. Snapshots tab of a Standalone build, numbered: 1 Import, 2 Export all, 3 Create snapshot, 4 a snapshot's actions menu
  1. Import: adds a snapshot from a file.
  2. Export all: writes every snapshot to a folder.
  3. Create snapshot: saves the build’s state now.
  4. 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.
  1. Click Create snapshot.
  2. In Create snapshot, type a label if you want one, such as before-experiment. A labeled snapshot is never deleted to make room.
  3. Click Create snapshot.

Restore a snapshot

  1. Click Restore on the snapshot. The newest snapshot has no Restore, because the build already matches it.
  2. In Restore this snapshot?, check what changes, and then confirm.
Comfy Desktop backs up the build first. If the build is running, Comfy Desktop stops it, restores the snapshot, and starts it again. When the snapshot used a different PyTorch, the restore also changes PyTorch. If that PyTorch isn’t available, Comfy Desktop keeps the current one or stops without changing anything. When the restore finishes, the build reads Snapshot restored. If it fails, click Try again, or Dismiss. You can also open a build’s snapshots from the quick actions menu: select Restore snapshot.

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.
Comfy Desktop stores a build’s snapshots in the .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.
  1. 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.
  2. Drop the .json file on the page, or click Browse and choose it.
  3. Check Name, Release, and Hardware. The page warns you when the snapshot was made for different hardware.
  4. Click Create build.
The new Standalone build installs, and it starts when the install finishes.