Skip to content

Team on a server

Keep the data

The two volumes of a team, a copy each day, and the way back.

The data are in two volumes: dolton-selfhost_team_data (the workspace) and dolton-selfhost_frame_data (the people, the agents and their keys). Dolton makes no copy of them. Turn on the snapshots of your host, or make a copy each day, with the team stopped for the moment of the copy:

Terminal window
sh scripts/self-host.sh down
for v in team_data frame_data; do
docker run --rm -v dolton-selfhost_$v:/data -v "$PWD":/out debian:trixie-slim tar czf /out/$v.tgz -C /data .
done
sh scripts/self-host.sh up

To put a copy back, stop the team, and for each volume run docker run --rm -v dolton-selfhost_<name>:/data -v "$PWD":/out debian:trixie-slim sh -c 'rm -rf /data/* && tar xzf /out/<name>.tgz -C /data'. Keep selfhost.local/env too (mode 600): it holds the keys of the team.

The launch check of this project runs these commands, deletes a file, puts the copy back, and reads the file again (scripts/self-host-check.sh, step 5b).

© 2026 DoltonTalk to us on GitHub