Where is it customary/appropriate for me to persist my DB? Should it be:
(I'm assuming it doesn't matter which DB it is.)
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
Assuming your db holds variable data and not program configuration, and according to the fhs standard, the place should be either
Now, if it contains only configuration for the program on the computer, maybe its place is in
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.
Applications must never create or require special files or subdirectories in the root directory. Other locations in the FHS hierarchy provide more than enough flexibility for any package.
Related Fhs standard (fhs stands for file hierarchy standard)