Comment by theandrewbailey
4 days ago
> Ditch /opt and /srv
If a system is intended to serve data on a network (file shares, databases, websites, remote backups, etc), /srv is where the requisite data for those things should live. I think that's a good idea.
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.)
Fair enough but /var/backup I believe is relatively standard.