← Back to context

Comment by IgorPartola

4 days ago

What is the difference from /var for databases, websites, etc. and /media for backups?

/media has nothing to do with backups (though one could backup stuff there):

> This directory contains subdirectories which are used as mount points for removable media such as floppy disks, cdroms and zip disks. https://specifications.freedesktop.org/fhs/latest/media.html

/var is used for websites and databases, but defaults for most packages don't use /srv by default. (I have the feeling that /srv is relatively new.)