zlacker

[parent] [thread] 2 comments
1. IgorPa+(OP)[view] [source] 2026-01-04 18:56:14
What is the difference from /var for databases, websites, etc. and /media for backups?
replies(1): >>theand+g8
2. theand+g8[view] [source] 2026-01-04 19:50:04
>>IgorPa+(OP)
/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+re3
◧◩
3. IgorPa+re3[view] [source] [discussion] 2026-01-05 19:22:53
>>theand+g8
Fair enough but /var/backup I believe is relatively standard.
[go to top]