Skip to content

Checkpoints

Checkpoints capture the state of an existing runtime so it can be restored into a new runtime later. The CLI command group is currently named snapshot; the SDKs and REST API use the checkpoint terminology.

Terminal window
runta snapshot create worker worker-checkpoint

The current public REST API supports full checkpoints.

Terminal window
runta snapshot ls
runta snapshot ls --all

Use --all or include_system=True only when you also need system-managed idle checkpoints.

Restoring a checkpoint creates a new runtime.

Terminal window
runta snapshot restore worker-checkpoint worker-restored
runta snapshot restore worker-checkpoint web-restored --publish 8080/https

You can restore the same checkpoint more than once to fork multiple runtimes from the same captured state.

Terminal window
runta snapshot rm worker-checkpoint