Re: Changing the data directory Ubuntu

From: "Thomas F(dot) O'Connell" <tfo(at)sitening(dot)com>
To: shaun(dot)ricci(at)gmail(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Changing the data directory Ubuntu
Date: 2006-08-15 21:11:12
Message-ID: 9918085D-CFBB-4919-936B-BC9C26267C9C@sitening.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Aug 15, 2006, at 1:19 PM, shaun(dot)ricci(at)gmail(dot)com wrote:

> Hello,
>
> I have done a good deal of investigation and cannot seem to find a
> straight answer. Is there way to change the default data directory?
> I am using Ubuntu Dapper LTS. I have a seperate hard drive (and
> partition) that I want to keep my data on in case of a problem with
> the
> OS.
>
> Any help would be appreciated.
>
> Shaun

Unless Ubuntu is doing anything funny, you should be able to set
data_directory in postgresql.conf:

http://www.postgresql.org/docs/8.1/static/runtime-config-file-
locations.html

--
Thomas F. O'Connell
Sitening, LLC

http://www.sitening.com/
3004B Poston Avenue
Nashville, TN 37203-1314
615-469-5150 x802
615-469-5151 (fax)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John Purser 2006-08-15 21:16:58 Re: Changing the data directory Ubuntu
Previous Message Joseph Shraibman 2006-08-15 20:45:47 trigger speed