Skip navigation
💀 One wrong command deleted 300GB of production data. And EVERY backup had failed.
0:00 / 2:54

💀 One wrong command deleted 300GB of production data. And EVERY backup had failed.

algorithmswithpeter

@legitalgorithmswithpeter47K followers

Visit on TikTok
5,931 likesDownloadOriginal post

99,000 views #gitlab #database #devops

💀 One wrong command deleted 300GB of production data. And EVERY backup had failed. This actually happened to GitLab in 2017. 🤯 An engineer was trying to fix a broken database replica. After hours of troubleshooting, he ran a command to wipe the data directory. But he was on the WRONG server. The live production database was gone. And then things got even worse. 🚨 💾 Cloud backups? Broken because of incompatible PostgreSQL tools. 📧 Warning emails? Never delivered. 🖥️ Disk snapshots? Not enabled for the database servers. 🔄 Database replica? Already wiped. GitLab had multiple backup strategies, but none could reliably save them. Then, pure luck saved the day. An engineer had copied a recent database snapshot to a staging server just hours earlier. GitLab recovered, but around six hours of database activity was permanently lost. 🔥 The biggest lesson? A backup you have never tested restoring isn’t a backup. It’s just hope. 💬 When was the last time you tested your backups? #GitLab #Database #DevOps #SystemDesign #SoftwareEngineering

Comments

Comments from the original post on TikTok

No comments yet