RSS Feed for This PostCurrent Article

Don’t Store Things You Care About In /tmp

“Hey guys,” he says, stepping into our office. “I have a problem.”

“What is it?” we reply.

“Now that I’m back from vacation I find all the data for a project I was doing is missing.”

“Restore it from backup.”

“It doesn’t seem to have been backed up, either.”

“Where was the data?”

“/tmp.”

“Ever heard of tmpwatch?” It’s now obvious why it’s missing and why it didn’t get backed up.

“No…”

Moral of the story: /tmp is for temporary stuff, not your big project’s data.

Related Posts

  1. Don’t Freaking Use /tmp To Store Your Data
  2. “Unable To Store Job At Printer”
  3. Your Customers Don’t Care This Much
  4. Systems Shouldn’t Force People To Make Things Up
  5. Traveling with an iPhone? Keep the firmware on your laptop.

Trackback URL

  1. 1 Comment(s)

  2. By Jason Young on Feb 27, 2008 | Reply

    I’m not sure this was a developer or not, but I’m guessing “yes” based on the last post.

    I have *zero* pull in our Computer Science department, but I’ve always wanted to teach one freaking lecture in every project course I could about “system administration for developers” or “don’t be a moron and *actually* understand the system you are on and the recurring processes on said system”

    One can dream, can’t he?

Post a Comment

 

Please note that while in principle I don't mind promotion of a non-personal web site or blog in the fields below, any comments that are off-topic, derogatory, or spam-like will likely be removed at my discretion.