Skip site navigation (1) Skip section navigation (2)

Re: Moving data directory

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Cc: "Linux Geeks" <indolinux(dot)geeks(at)gmail(dot)com>
Subject: Re: Moving data directory
Date: 2007-05-13 17:17:55
Message-ID: 200705131917.56134.peter_e@gmx.net (view raw or flat)
Thread:
Lists: pgsql-admin
Linux Geeks wrote:
> I'm very new to postgresql and would like to move my data directory
> to another partition in Ubuntu. The standard installation is in
> /usr/lib/postgresql. How do I move it into /var/lib/postgresql.

The standard data directory on Ubuntu *is* /var/lib/postgresql.  You 
must be confusing something.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

pgsql-admin by date

Next:From: Ray StellDate: 2007-05-14 00:02:59
Subject: Re: Moving data directory
Previous:From: Aaron BonoDate: 2007-05-13 16:30:53
Subject: ERROR: could not write block

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group