From: Simon Riggs <simon@2ndquadrant.com>
To: Anne M. Hammond <hammond@solarz.Colorado.EDU>
Cc: pgsql-admin@postgresql.org
Cc: pandurangan.r.s@gmail.com
Cc: tgl@sss.pgh.pa.us
Subject: Re: initdb fails
Date: Wed, 07 Dec 2005 20:28:48 +0000
Message-ID: <1133987328.2906.954.camel@localhost.localdomain> (raw)
In-Reply-To: <200512071804.jB7I4OUd000843@lcd.colorado.edu>
References: <200512071804.jB7I4OUd000843@lcd.colorado.edu>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: simon@2ndquadrant.com, hammond@solarz.Colorado.EDU, pandurangan.r.s@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: initdb fails
In-Reply-To: <1133987328.2906.954.camel@localhost.localdomain>
References: <200512071804.jB7I4OUd000843@lcd.colorado.edu> <1133987328.2906.954.camel@localhost.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox