Re: initdb fails

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: "Anne M(dot) Hammond" <hammond(at)solarz(dot)Colorado(dot)EDU>
Cc: pgsql-admin(at)postgresql(dot)org, pandurangan(dot)r(dot)s(at)gmail(dot)com, tgl(at)sss(dot)pgh(dot)pa(dot)us
Subject: Re: initdb fails
Date: 2005-12-07 20:28:48
Message-ID: 1133987328.2906.954.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, 2005-12-07 at 11:04 -0700, Anne M. Hammond wrote:

> If there is another way to do this, such as command line options
> or environmental values for initdb, I haven't found it.

There's no need to run initdb on the smaller machine.

Run the initdb on the larger machine, then *while postmaster is
shutdown* copy the entire data directory across to the smaller machine.
>From there you can edit the postgresql.conf and startup.

Best Regards, Simon Riggs

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tan Chen Yee 2005-12-08 03:17:21 Unable to restore compressed file.
Previous Message Tom Lane 2005-12-07 19:27:07 Re: initdb fails