Re: Moving database cluster

From: "Fernando Hevia" <fhevia(at)ip-tel(dot)com(dot)ar>
To: "'Guillaume Lelarge'" <guillaume(at)lelarge(dot)info>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Moving database cluster
Date: 2010-01-14 21:21:14
Message-ID: 87B0B7A9F2E449F6A5D082D502F11447@iptel.com.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> -----Mensaje original-----
> De: Guillaume Lelarge [mailto:guillaume(at)lelarge(dot)info]
>
> Le 14/01/2010 21:40, Fernando Hevia a écrit :
> >
> > An Ubuntu install creates a postgres cluster automatically on
> > /var/lib/postgresql/8.4/main Whats the best procedure for
> moving this
> > cluster to an other location?
> > Should I just rerun initdb? What happens then with the
> default cluster
> > or how could I delete it?
> >
>
> If you don't have any data on it, the best way is to drop it
> with pg_dropcluster, and create a new one with pg_createcluster.
>
>

Sound advice. Thanks!!

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Fernando Hevia 2010-01-14 21:38:52 Re: Moving database cluster
Previous Message Guillaume Lelarge 2010-01-14 20:52:50 Re: Moving database cluster