The window

Undo and snapshots

All docs

Every save is a receipt you can take back, and snapshots keep the whole site under a name. If Velluma stops halfway through a save, recovery finishes or discards it.

History

History in the right panel lists every change, newest first, whether you made it in the window, from the command line or through your agent. Each entry is a receipt: what changed, in which file, and when.

velluma history

Undo and redo

Ctrl ZTakes back the newest change. The file returns to the exact bytes it had.
Ctrl Shift Z or Ctrl YBrings it back.

From the command line you can take back any receipt, not only the newest:

velluma undo --last
velluma undo r-fd8411c4…-3c5d46f3…
velluma redo --last

NoteIf the file was changed after a receipt, that receipt can no longer be undone on its own, because undoing it would throw away the later change. Undo the later changes first.

Snapshots

A snapshot is a named copy of the site's pages, styles and pictures, kept outside your site folder. A site keeps up to 20. Use one before a big change, such as a new look.

  1. Save
    velluma snapshot save before-redesign
  2. Compare

    See which files differ between the snapshot and the site now, or between two snapshots:

    velluma snapshot compare before-redesign
  3. Restore

    Restoring replaces site files, so it asks you to say so. The restore is one change in History, so Undo reverses it.

    velluma snapshot restore before-redesign --yes

The window has the same in its Snapshots panel. velluma snapshots lists them and snapshot delete removes one. Files over 8 MiB and files that look like passwords or keys are left out of a snapshot.

After a crash

Velluma writes each change so that a crash leaves either the old file or the new one, never half of each. If it stopped in the middle of a save, the next start says so. To see what was left unfinished:

velluma recover

It only reports. To settle each unfinished change, run velluma recover --yes. Crash reports stay on your computer, in ~/.local/state/velluma/crashes.

Where your records are

History, snapshots and renders live in Velluma's own folder under ~/.local/share/velluma, never inside your site. Your site folder holds only your site, so you can commit it, copy it or open it in any other editor.