TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The Time I Accidentally Destroyed a Production Server

19 点作者 b14ck大约 14 年前

4 条评论

dpcan大约 14 年前
The way I read it, you didn't destroy anything. You had a moment of panic, and could have created real problems.<p>Regardless, same lessons learned right? :) Whether the server is gone or not, it could have been, and the way we work changes drastically after a real world scare like this.<p>Did you ever tell the boss, or did you just let it ride? There's nothing like going to the boss in a cold sweat and the old "I f<i></i>*ed up" look on your face.
评论 #2499427 未加载
评论 #2499731 未加载
bschlinker大约 14 年前
Never log into your production servers via shell? This seems a tad over the top.. especially if you are planning on writing a script to perform operations and need to discover dependencies / etc.
评论 #2499498 未加载
armored大约 14 年前
"If you join a project with no version control, don't convince yourself that everything will be ok. Refuse to do any work until you version control it." Embargo on.
trbecker大约 14 年前
cd /tmp. Unzip some file with some system image - usr, etc, lib, the usual - that should be unpacked in /. Do what needs to be done. rm -fr /usr. WAIT, NO! ^C. "Backup, could you be so kind as to restore the ABC server /usr tree? I think I made a huge mistake. Thank you."<p>Good times. Learned a lot about why I need a VM with an image of a given system.