GitLab

Postmortem of database outage of January 31

Answers What happens when every backup fails at once?

Data was accidentally removed from GitLab.com’s primary database, and the daily pg_dump backups turned out to be missing because of a version mismatch. GitLab explains its single-primary setup, the recovery from an LVM…

The problem
Data was removed from GitLab.com’s only primary database, and the daily pg_dump backups were missing.
What they did
The team restored from an LVM snapshot that had been taken hours earlier for staging.
The result
About six hours of database changes were lost, and GitLab committed to fixing its backup and recovery procedures.

Why read it The canonical lesson that an untested backup is not a backup.

Summarised from the original source by Informa AI. The full story, and every claim in it, belongs to the publisher.

Explore all Curiosity Cards →