M19: harden performance and recovery
MobilityOps acceptance / backend (push) Canceled after 0s
MobilityOps acceptance / frontend (push) Canceled after 0s

This commit is contained in:
NuklearRabbit
2026-08-10 12:51:41 +02:00
parent fe06ff75a1
commit 5d7a5e7359
10 changed files with 164 additions and 42 deletions
+21
View File
@@ -52,3 +52,24 @@ docker compose -p mobilityops -f compose.yaml -f compose.unraid.yaml logs --tail
docker compose -p mobilityops -f compose.yaml -f compose.unraid.yaml exec api alembic current
docker logs --tail=200 n8n
```
## Backup and restore
Create and structurally verify a timestamped PostgreSQL custom-format backup:
```bash
./deploy/unraid/backup-postgres.sh
```
Copy backups off the server according to the host backup policy. A restore is deliberately
guarded and creates an additional safety backup before replacing the database:
```bash
./deploy/unraid/restore-postgres.sh \
backups/postgres/mobilityops-YYYYMMDDTHHMMSSZ.dump \
RESTORE-MOBILITYOPS
```
The restore stops the API, recreates only the configured MobilityOps database, restarts
API/web and verifies the active Alembic revision. Test restores in a disposable environment
before using a production backup for incident recovery.