Is it safe to put my temporary manual backups of my website codebase and database into the /tmp folder? I'm running Debian 8. I want to leave them there for a couple days. I am not sure if this directory gets overwritten or emptied on it's own.
Thanks!
Best Answer
I would say it is not safe in general. On many systems,
/tmp
is cleaned on reboot by default. See/etc/default/rcS
(TMPTIME
defaults to0
),