Re: initdb fails - Mailing list pgsql-admin

From Simon Riggs
Subject Re: initdb fails
Date
Msg-id 1133987328.2906.954.camel@localhost.localdomain
Whole thread Raw
In response to Re: initdb fails  ("Anne M. Hammond" <hammond@solarz.Colorado.EDU>)
List 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


pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: initdb fails
Next
From: "Tan Chen Yee"
Date:
Subject: Unable to restore compressed file.