Catalogue / matrix-2025-homeserver-database-outage

A drive dropping out during a disk expansion, then a deletion on the wrong server, takes the matrix.org homeserver down for about 24 hours

The Matrix.org Foundation, 2025. Matrix.org homeserver (Synapse and its Postgres cluster).

Organisation
The Matrix.org Foundation
Evidence
Incident report
Source
Post-mortem of the September 2 outage

Matrix.org blog, published 2025-10-29

Records

Failure#f1

With one database server already emptied for rebuild, a cleanup command ran on the other and deleted the only live copy

Decision#d1

Restore from offsite backup instead of trying to undelete the wiped data directory

Decision#d2

Patch the restore tool to continue from a partial restore instead of downloading the base backup again

Decision#d3

Back up weekly in full, daily incrementally and continuously by log archive, and test restores on a throwaway server

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.