Generations and recovery
Save a generation
Use (checkpoint) to save the running image as a retained generation. The source checkout must be clean and pass the project checks. Use (checkpoint :allow-dirty t) to include uncommitted source changes.
A checkpoint can wait for active work in other channels. Use (checkpoint-cancel) to cancel a waiting checkpoint.
Restore a generation
Run (generations) to find a retained image. Use (rollback "GENERATION-ID") to select it for startup, or launch it from the shell:
autolith --recovery --list
autolith --recovery --generation GENERATION-IDRecover from a crash
If Autolith resumes after a crash, read the diagnosis before asking it to retry the interrupted work.
To start a rescue session yourself, use:
autolith open --pristine --permissions fullA pristine session skips private replay and executable initialization. Use it to inspect a startup problem without changing the selected generation.
Saved cores require the recorded SBCL version, OS build and architecture. To reconstruct without a core:
Check out the revision in the generation manifest.
Run
./script/bootstrap.Load Autolith in Lisp, then load the ordered
reconstruct.lispfrom the manifest in packageAUTOLITH:(asdf:load-asd (truename "autolith.asd")) (asdf:load-system :autolith) (load #P"/path/from/generation/manifest/reconstruct.lisp")