zlacker

[parent] [thread] 3 comments
1. theand+(OP)[view] [source] 2026-01-04 16:51:46
> 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.

replies(1): >>IgorPa+Fk
2. IgorPa+Fk[view] [source] 2026-01-04 18:56:14
>>theand+(OP)
What is the difference from /var for databases, websites, etc. and /media for backups?
replies(1): >>theand+Vs
◧◩
3. theand+Vs[view] [source] [discussion] 2026-01-04 19:50:04
>>IgorPa+Fk
/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.)

replies(1): >>IgorPa+6z3
◧◩◪
4. IgorPa+6z3[view] [source] [discussion] 2026-01-05 19:22:53
>>theand+Vs
Fair enough but /var/backup I believe is relatively standard.
[go to top]