Re: Alternative cluster location

From: <btober(at)seaworthysys(dot)com>
To: <peter_e(at)gmx(dot)net>
Cc: <btober(at)seaworthysys(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Alternative cluster location
Date: 2003-11-17 16:03:18
Message-ID: 65374.216.238.112.88.1069084998.squirrel@$HOSTNAME
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


> btober(at)seaworthysys(dot)com writes:
>
>> So I've been thinking that the /var/lib/pgsql/data default cluster
>> data directory was an odd choice, since a database, which while
>
> Sure you can do that, but it doesn't seem particularly cleaner to me.
> You might argue that "home" is for personal files, so you would be at
> the wrong place again.
>
> In the end, it's purely a matter of personal (or organizational) taste,
> not a technical tradeoff.

I think the original driving thought technically has something to do with
system backup, and restore or system re-install in the case of
catastrophic failure, as well as what I've alluded to in regards to
original server setup planning and how intended usage impacts decisions
with respect to hard drive partitioning (and vice versa?). I don't think
there is much under /var that I usually consider necessary to back up.
The postgresql.conf and pg_hba.conf files are valuable, and while the
data base obviously is THE principle value, tar on the cluster data
directory is not useful.

Maybe at least piping the output of pg_dump for backup purposes to
/home/postgres would make sense, so as to catch the database backup snap
shot along with the user data in a nightly run of tar on the /home
partition.

~Berend Tober

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lee Kindness 2003-11-17 16:05:04 Move a table to another schema
Previous Message Marc G. Fournier 2003-11-17 15:51:12 Take a minute to make yourself heard ... (PostgreSQL vs ...)