Hacker News new | ask | show | jobs
by d2p 3712 days ago
Long story ;)

I was setting up a staging database for some testing. Our DBs are big so we truncate a bunch of data we don't need on the staging server so we can have more DBs without wasting tens of GB per database.

I ended up executing this against the wrong server.

Needless to say, we've learned from this. Luckily nothing critical was lost, but I felt like a complete spanner :(