X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 37C5F9DCAAE for ; Wed, 7 Dec 2005 16:28:50 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 51734-01 for ; Wed, 7 Dec 2005 16:28:50 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.nildram.co.uk (smtp.nildram.co.uk [195.112.4.54]) by postgresql.org (Postfix) with ESMTP id 0C3639DCAA6 for ; Wed, 7 Dec 2005 16:28:48 -0400 (AST) Received: from [192.168.0.4] (unknown [84.12.175.104]) by smtp.nildram.co.uk (Postfix) with ESMTP id 2989327809E; Wed, 7 Dec 2005 20:28:45 +0000 (GMT) Subject: Re: initdb fails From: Simon Riggs To: "Anne M. Hammond" Cc: pgsql-admin@postgresql.org, pandurangan.r.s@gmail.com, tgl@sss.pgh.pa.us In-Reply-To: <200512071804.jB7I4OUd000843@lcd.colorado.edu> References: <200512071804.jB7I4OUd000843@lcd.colorado.edu> Content-Type: text/plain Date: Wed, 07 Dec 2005 20:28:48 +0000 Message-Id: <1133987328.2906.954.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200512/56 X-Sequence-Number: 19776 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