Self-hosting
Backups
Back up the record, the numbers and the files beside the record, your settings, and the config folder that holds your team's token.
Stop serve and any zerowidth mcp processes, then copy:
The record: the file
--dbnames, such asteam.db, andteam.db-walif one is there after an unclean stop.Files beside the record:
team.db.zone-names.jsonand the folderteam.db.curves/, when present.The numbers: the readings database beside the record, such as
team.db.readings.db, or whereverreadingspoints, with the.sources.jsonfile beside the readings.Your settings:
zerowidth.json.The config folder:
~/.config/zerowidth, or the folderZEROWIDTH_CONFIG_DIRnames. The folder holds the team token: without the folder, every agent's token stops working on a new server.
To move a record to another server, copy the same files and start serve there.
Checking a record
verify checks every entry in the record and the rules between them.
zerowidth verify --db team.db