#!/usr/bin/env bash set -euo pipefail b=/opt/backups/hermes-carlo-komfort/20260804_154257-kanban-mapping token=$(curl --max-time 5 -fsS http://127.0.0.1:9130/ | sed -n 's/.*__HERMES_SESSION_TOKEN__="\([^"]*\)".*/\1/p') curl --max-time 10 -fsS -H "Authorization: Bearer $token" http://127.0.0.1:9130/api/plugins/kanban/board > "$b/api-before.json" sha256sum "$b/api-before.json" sha256sum /opt/struktur/hermes-carlo/data/kanban.db curl -fsS http://127.0.0.1:5099/api/connection-status >/tmp/conn-after.json curl -fsS http://127.0.0.1:5099/api/sessions >/tmp/sessions-after.json curl -fsS http://127.0.0.1:5099/api/skills >/tmp/skills-after.json docker logs --since 10m hermes-kanban-adapter > "$b/adapter.log" docker logs --since 10m hermes-carlo-komfort > "$b/workspace.log" echo checks-ok