Skip to main content
gandalf timeline inspects the local history of Gandalf operations. It has three subcommands: list, show, and undo. Timeline undo builds a plan but never writes; it always requires --dry-run.

Synopsis

<reference> is a timeline id or a snapshot name.

Common flags

timeline list

Prints entries as - <id> <title> (<kind>) -> <after-snapshot>. Add --json for a JSON array.
Corrupt timeline events are skipped and reported on stderr.

timeline show

Prints one entry as pretty JSON.

timeline undo

Builds a dry-run undo plan for a timeline entry. Requires --dry-run.
Timeline undo is always non-writing (writesFiles=false). To roll back an applied restore, use gandalf restore --apply --experimental against the pre-apply safety snapshot.