game-servers/app
neil 51db28f3d5
Rollback: restore a server's world from any of its backups, with a Current marker
Manage gets a Backup section (between World and Logs) listing the server's automatic and manual
backups. Rolling back is only allowed while the server is stopped and nothing else, such as an
automatic backup, is running on it; the server claims the busy flag atomically so the two can't race.
A run players were on is backed up first. The new world is extracted to a staging folder and checked
before the old one is deleted.

The backup that holds the world as it is now is marked Current (its button is disabled, and the
Backups page tags it). It's tracked in backups/<game>/<container>.current: set by automatic backups
and rollbacks, none while players have been on, newest automatic backup when there's no record.
Rolling back to an automatic backup can keep the Current backup as a manual one (or make one if
nothing is current), warning when that pushes out the oldest of 5 manual backups.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 22:53:25 -08:00
..
static Rollback: restore a server's world from any of its backups, with a Current marker 2026-11-02 22:53:25 -08:00
app.py Rollback: restore a server's world from any of its backups, with a Current marker 2026-11-02 22:53:25 -08:00
backups.py Rollback: restore a server's world from any of its backups, with a Current marker 2026-11-02 22:53:25 -08:00
Dockerfile Game server manager: web UI for Valheim and Project Zomboid servers 2026-10-16 20:03:16 -07:00
players.py Game server manager: web UI for Valheim and Project Zomboid servers 2026-10-16 20:03:16 -07:00
requirements.txt Game server manager: web UI for Valheim and Project Zomboid servers 2026-10-16 20:03:16 -07:00
zomboid.py Game server manager: web UI for Valheim and Project Zomboid servers 2026-10-16 20:03:16 -07:00