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.