Where Does ActivityWatch Store Data?
ActivityWatch stores its SQLite database and per watcher settings locally. Paths follow platform standards for data and config.
Last updated
The server database is in the data dir under a component folder such as aw-server-rust. Config files such as aw-watcher-afk.toml are in the config dir. Logs and cache use platform log and cache roots.
Linux splits data and config between local share and config home. Confirm the live value in config and via the tray menu Open config folder option since admins change defaults with env vars.
Where ActivityWatch stores this, by platform
C:\Users\<user>\AppData\Local\activitywatch\aw-server-rust
Data and config share the Local app data root on Windows. Logs are in a logs subfolder and cache in a cache subfolder. Use the tray menu to open the exact folder.
~/Library/Application Support/activitywatch/aw-server-rust
Data and config are under Application Support on macOS. Logs are in ~/Library/Logs/activitywatch/aw-server-rust. Cache is in ~/Library/Caches/activitywatch/aw-server-rust.
~/.local/share/activitywatch/aw-server-rust
Data is ~/.local/share/activitywatch/aw-server-rust. Config is ~/.config/activitywatch/aw-server-rust or $XDG_CONFIG_HOME/activitywatch. Logs are ~/.cache/activitywatch/log/aw-server-rust. Database is SQLite in the data dir.
Frequently asked questions
Where is the ActivityWatch database?
It is a SQLite file in the data directory for aw-server-rust. Nothing is sent to a cloud service. Back up the data dir while ActivityWatch is stopped for a consistent copy.
Where do I change AFK and watcher settings?
Edit the TOML file for that watcher in the config dir, such as aw-watcher-afk.toml. Remove any leading comment mark before changing a value. Restart the watcher after saving.
Notice an outdated path? Let us know.