Quantcast
Viewing all articles
Browse latest Browse all 36162

Postgresql Questions

I'm currently running Fedora 17 and am considering running Postgresql as a database server. In looking over the install of postgres I notice that it is installed in /var/lib and the database data is kept there also. Why is the postgres user and the database data not kept somewhere that is not so intergrated into the OS.

I would much prefer the user to be in /home and the database data to be in a separate mounted file system.

I noticed that mysql is set up exactly the same. It would seem to be to cause many problems when upgrading from one release to another.

Even my backup schemes will have to change since I back up / less frequently than I do /home and user generated data. Maybe my backup scheme is not as solid as I believe but it is designed this way to minimize storage space for backups.

What are the reasons behind having the user home directory and user data stored in /var?

Viewing all articles
Browse latest Browse all 36162

Trending Articles