Saved runs
Every run of TrailsBI saves a snapshot of the project on your machine, so you can compare with it later. The terminal says Saved run 14. Nothing is written into your project, and nothing leaves your machine.
Name a run
A run that you want to find again, such as a release, gets a name:
trailsbi "D:\Reports\Sales" --run release-12
Letters, digits, ., _ and - can be in a name. It can't be a number, last or all. When you use a name again, the new run is called release-12-1, then release-12-2, and the terminal says so.
List and delete them
trailsbi runs "D:\Reports\Sales"the runs of this project
trailsbi runs --allevery project with saved runs
trailsbi runs "D:\Reports\Sales" --delete 13delete one, by its number or name
trailsbi runs "D:\Reports\Sales" --delete alldelete all runs of this project
trailsbi runs --all --delete alldelete everything
# When Name Objects Readiness
4 02 Dec 2026 09:40 152 69%
3 01 Dec 2026 17:12 release-12 150 67%
2 01 Dec 2026 10:30 96 71% --model Sales --with-reports
Runs of part of a folder say which part it was. They're only compared with runs of the same part.
Which ones are kept
- The latest 20 unnamed runs of a project, and the latest 20 that are incomplete because a file couldn't be read. They're counted apart for each selection (
--model,--report,--workspace,--with-reports,--filter). - Named runs, until you delete them.
- A run that changes nothing isn't saved again. A name you give it goes to the run that is already there.
Where they are
| System | Folder |
|---|---|
| Windows | %LOCALAPPDATA%\TrailsBI\runs |
| macOS | ~/Library/Application Support/TrailsBI/runs |
| Linux | ~/.local/share/trailsbi/runs, or in $XDG_DATA_HOME |
They aren't encrypted. On macOS and Linux only you can read them, and on Windows they have your profile's permissions. Uninstalling TrailsBI doesn't delete them.
A project is known by where it is. When you move it, --project finds the runs of its old place:
trailsbi diff "D:\New place\Sales" --project "D:\Reports\Sales"
Turn them off, or put them elsewhere
trailsbi "D:\Reports\Sales" --no-save
--no-save skips one run. To turn them off, or to save them in a folder of your own, set the environment variable TRAILSBI_HISTORY:
| Value | What happens |
|---|---|
off |
No run is saved |
| The full path of a folder | Runs are saved there. It can't be inside a project |
| Not set | Runs are saved in the folder above. Build servers save none |
On Windows, this sets it for your account. Open a new terminal afterwards.
setx TRAILSBI_HISTORY off
What is in them
Everything in the project's report and model files, as it's written: names, code, data source addresses, page and visual definitions, findings, and what someone typed into the project, such as rows, picked values and passwords. Imported data is never read. What a saved run holds describes the format.
Next to each run are the project's folder, the time, the Git commit and branch, and a hash. diff checks the hash, and doesn't use a run that was changed after it was saved. The hash is on the same machine, so it doesn't stop somebody who changes both.
Something wrong or missing? Tell us on GitHub.