﻿# 2026-10-29T10:54:06 persistence: restart lb, api, postgres with volumes kept; same bearer token after restart
## containers BEFORE
  /mtusi-lab3-api-5 running StartedAt=2026-10-29T07:53:03.171345935Z
  /mtusi-lab3-api-6 running StartedAt=2026-10-29T07:52:20.424136452Z
  /mtusi-lab3-migrate-1 exited StartedAt=2026-10-29T07:52:54.407649276Z
  /mtusi-lab3-lb-1 running StartedAt=2026-10-29T07:40:06.38472124Z
  /mtusi-lab3-postgres-1 running StartedAt=2026-10-29T07:28:35.676622955Z
  volume mtusi-lab3_postgres_data CreatedAt=2026-10-29T07:16:23Z
$ python tests/resilience.py --mode persistence --action-script scripts/restart.cmd
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
exit=0 (test took 41s)
## containers AFTER (new StartedAt = really restarted, volume CreatedAt unchanged)
  /mtusi-lab3-migrate-1 exited StartedAt=2026-10-29T07:54:25.913938428Z
  /mtusi-lab3-api-5 running StartedAt=2026-10-29T07:54:35.437454812Z
  /mtusi-lab3-api-6 running StartedAt=2026-10-29T07:54:35.935961297Z
  /mtusi-lab3-lb-1 running StartedAt=2026-10-29T07:54:42.453081277Z
  /mtusi-lab3-postgres-1 running StartedAt=2026-10-29T07:54:19.666540466Z
  volume mtusi-lab3_postgres_data CreatedAt=2026-10-29T07:16:23Z
