Data, upgrades, and backups
Foxwarm keeps the program checkout separate from runtime data.
The default installer creates:
foxwarm/ program checkout and bundled Skillsfoxwarm-data/ configuration, Agents, Sessions, tokens, logs, and databasesThe checkout’s data_dir file points to the active data directory, so later starts return to the same state.
What to back up
Section titled “What to back up”Back up the whole data directory as one restore set. Along with YAML configuration, it contains:
agents/memory and workspacesstate/models.yamlandstate/config.yaml- access and Node tokens
- Session metadata and archives
- SQLite databases, reservation records, and recovery journals
- optional derived vector data
Logs are only one part of the state. Restore the databases and the rest of the data directory from the same snapshot.
SQLite consistency
Section titled “SQLite consistency”A live instance needs a SQLite-consistent online backup. A simpler option is to stop Foxwarm cleanly, confirm that it has stopped, and copy the complete data directory. A .sqlite file copied while its WAL writer is active is incomplete.
Upgrade
Section titled “Upgrade”Before updating an important instance:
- Read changes on the public
mainbranch. - Stop Foxwarm cleanly.
- Create a consistent full data-directory backup.
- Update the program checkout.
- Reinstall/build using the project commands for your platform.
- Start Foxwarm and verify WebUI, model access, and any configured Channels or Nodes.
For a default Linux/macOS installer checkout:
cd foxwarmnpm run stopgit pull --ff-only origin mainnpm run build-allnpm startOn Windows, run npm run stop:windows, update the checkout, and then run npm run start:windows. The start command installs and builds after the old process stops, which avoids replacing native files that are still loaded.
For archive storage details and external JSONL export, see Archive Store.