Hacker News new | ask | show | jobs
by jtokoph 4172 days ago
The biggest lesson here is that backing up your files is extremely important. Both local backups and remote backups.

I like the 3-2-1 rule:

  At least three copies,
  In two different formats,
  with one of those copies off-site.
Software is written by humans who will undoubtably miss a corner case and not think of every possible environment.
3 comments

You're too kind :)

Granted, part of the blame lies in the archaic Unix security model which doesn't sandbox applications. But ANY line containing "rm -rf" should be reviewed by the most senior dev in the company, or at least one who actually understands shell scripting. It has such a terrible failure mode, there's no excuse not to. (Especially when the dev to blame knew that it's "Scary!".)

Are you trying to make me have an aneurism? :)
Always live by the saying:

"If it doesn't exist in at least three places, it doesn't actually exist"

- Allan Jude - TechSnap

>In two different formats

What does this mean?

Probably different media, e.g. an external hard drive and DVDs.
Probably means an onsite and an offsite backup for example.