News for hackers. Stuff that matters.
Re:I Accidentally Deleted All Our Data by jrockway on Friday November 18, 2011 @03:49PM (#3253344)
I disagree with this. Making a script and testing it against a copy of the database is a good idea in 100% of cases. The only reason you don't do that is because you're lazy and stupid. (I've done this because I'm lazy and stupid.)

When you defeat a safety interlock system, expect to be injured.

Re:I Accidentally Deleted All Our Data by matc on Friday November 18, 2011 @06:20PM (#3253963)
There is no efficient safety interlock system when modifying data.

Even if confident your test passed, what happens when you later realize it hadn't, and at what cost?

Re:I Accidentally Deleted All Our Data by kelnos on Monday November 21, 2011 @07:21PM (#3263438)
No one said it'll work 100% of the time. But it most likely would have saved the OP a lot of pain. Just because something isn't a perfect solution, it doesn't mean it's not worth doing.