TL;DR — A security breach took down a site running on a 10-year-old Debian server with an obsolete LAMP stack. No access to the original infrastructure, no time to understand it. This is what I did, in what order, and why.

The system is still in production. The migration is still ongoing. The site went down because of a security breach. Not a gradual degradation, not a performance problem we'd b