Where is it customary/appropriate for me to persist my DB? Should it be:
- Under
/var/lib/
? - Under
/var/db/
? - Elsewhere?
(I'm assuming it doesn't matter which DB it is.)
Where is it customary/appropriate for me to persist my DB? Should it be:
/var/lib/
?/var/db/
?(I'm assuming it doesn't matter which DB it is.)
Assuming your db holds variable data and not program configuration, and according to the fhs standard, the place should be either
/var/lib/yourapp
or/var/lib/misc
.Now, if it contains only configuration for the program on the computer, maybe its place is in
/etc/yourapp
.If it is both, dont really know.
I didnt see
/var/db
in the standart, so i assume it is a custom folder, which isnt advised.Related Fhs standard (fhs stands for file hierarchy standard)