Skip to content

Run history ​

Every finished run is written to disk, from the TUI and from a headless run alike.

From the terminal ​

bash
lazyrsync log            # the 20 most recent, oldest first
lazyrsync log --limit 5
2026-10-20 11:15  run nightly-config  ok  142 files  9s
2026-10-20 11:15  run photos-offsite  failed (exit 23)
2026-10-20 11:16  dry-run nightly-config  ok

In the app ​

The Command log replays the recent entries at startup. @ hides or shows it for the session.

Where it lives ​

$XDG_STATE_HOME/lazyrsync/history.toml, falling back to ~/.local/state/lazyrsync/history.toml.

The 200 most recent runs are kept. An unreadable file reads as empty.

Settings ​

toml
history  = true       # record finished runs
log      = "normal"   # "quiet" | "normal" | "verbose"
log_size = 8          # height of the Command log, in lines
show_log = true       # whether the panel starts visible

history = false stops both the recording and the replay.

No level can hide a failure:

LevelShows
quietErrors and warnings
normalThe above, plus run starts and outcomes
verboseThe above, plus the resolved rsync command and config changes

Exit codes are unchanged: a failed task still exits 3.

Next: Configuration.

Released under the MIT License.