We deleted the production database by accident
41–50 of 456 posts
Re: We deleted the production database by accident
#42You aren’t a real engineer until you do this. So congrats on the promotion! :)
Then the client wanted that functionality back. Oops.
Re: We deleted the production database by accident
#43You aren’t a real engineer until you do this. So congrats on the promotion! :)
Re: We deleted the production database by accident
#44> Computers are just too complex and there are days when the complexity gremlins win. Wow. But then again it's not like programmers handle dangerous infrastructure like trucks, military rockets or nuclear power plants. Those are reserved for adults
I'm not sure I follow your point - I think you'll find the same attitude towards complexity by operators of military rockets and nuclear power plants. If you look at postmortems/root-cause analyses/accident reports from those fields, you'll generally find that a dozen things are going wrong at any given time, they're just not going wrong enough to cause problems.
Re: We deleted the production database by accident
#45SSH tunnel from localhost to prod on database port?
Re: We deleted the production database by accident
#46And it bodes well for your firm that that doesn't get you fired either.
These things happen to the best of us but having dealt with it responsibly and honestly as a team is something you can be proud of IMO.
Re: We deleted the production database by accident
#47During this operation, the server ran out of memory—presumably because of all the files I'd created—and before I know it I'd managed to crash 3 services and corrupted the database—which was also on this host—on my first day. All while everyone else in the company was asleep :)
Over the next few hours, I brought the site back online by piecing commands together from the `.bash_history` file.
Re: We deleted the production database by accident
#48> However, we will figure out what went wrong and ensure that that particular error doesn’t happen again.
How can you say statement 2 just after statement 1 ? Isn't statement 1 just plain acceptance of defeat ?
And looking at all the replies here, is this a feel good thread for the mistakes you made ?
Re: We deleted the production database by accident
#49LOL, I forgot how few safety measure startups have in place.
Obviously there are plenty of large enterprise wide data breaches, which, I would say is actually worse than losing a day of data in a lot of cases. So also not so many satefy measures, again, worse than startups; at least they have an excuse of being understaffed and underfunded.
Re: We deleted the production database by accident
#50This is my greatest fear when it comes to terraform: > terraform destroy (And either a confirmation or a flag) and everything is deleted. I know you can add some locks but still :/