Skip to content

← Week 12 - Break it on purpose

Week 12 - Break it on purpose: notes

Status: Not started

Exercise 1

Cause and fix: wrong file permissions, a port already in use, a full disk, a bad nginx config, an OOM kill.

Commands, results, what surprised me.

Exercise 2

Install PostgreSQL (or SQL Server on Linux), connect the app, schedule a pg_dump backup with a timer.

Commands, results, what surprised me.

Exercise 3

Restore the backup on a second machine to prove it works.

Commands, results, what surprised me.

Exercise 4

Write a short post-mortem for each failure: symptom, evidence, cause, fix.

Commands, results, what surprised me.

Deliverable

Five post-mortems. Phase 3 checkpoint: rebuild the whole server from your notes in under 2 hours.

Write-up.