Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMwcr-0003xD-OG for pgsql-general@arkaria.postgresql.org; Wed, 14 Nov 2018 14:58:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gMwcp-0006Nt-Um for pgsql-general@arkaria.postgresql.org; Wed, 14 Nov 2018 14:58:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMwcp-0006Nm-M2 for pgsql-general@lists.postgresql.org; Wed, 14 Nov 2018 14:58:39 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMwcn-0002rx-G0 for pgsql-general@postgresql.org; Wed, 14 Nov 2018 14:58:39 +0000 Received: from salmo.appl-ecosys.com (salmo.appl-ecosys.com [192.168.55.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 0BBCE992C8 for ; Wed, 14 Nov 2018 06:58:34 -0800 (PST) Date: Wed, 14 Nov 2018 06:58:33 -0800 (PST) From: Rich Shepard To: pgsql-general@postgresql.org Subject: Re: Move cluster to new host, upgraded version In-Reply-To: <6048bbde-04a4-3b90-00de-65adf78c8196@aklaver.com> Message-ID: References: <87wopjv2gu.fsf@news-spur.riddles.org.uk> <38cdd93b-e0be-ca3b-decd-64072356e6ce@aklaver.com> <6048bbde-04a4-3b90-00de-65adf78c8196@aklaver.com> User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Tue, 13 Nov 2018, Adrian Klaver wrote: > Just realized the question I should have asked is: > How did you get the pg_dumpall file processed by Postgres? > In other words how did you do it without a password? As user postgres I entered the command $ psql -f dump-all.sql In any case, I need to back up because I missed something when initializing the cluster. ps ax | grep postgres shows a number of processes, but psql tells me there's no server running, and there is no postmaster.opts or postmaster.pid in the data directory. I can delete contents of the data directory and re-initdb, or re-install the application and start from scratch. Advice appreciated, Rich