pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-general@postgresql.org
Subject: Re: Move cluster to new host, upgraded version
Date: Wed, 14 Nov 2018 06:58:33 -0800 (PST)
Message-ID: <alpine.LNX.2.20.1811140652550.26515@salmo.appl-ecosys.com> (raw)
In-Reply-To: <6048bbde-04a4-3b90-00de-65adf78c8196@aklaver.com>
References: <alpine.LNX.2.20.1811111118250.28051@salmo.appl-ecosys.com>
	<87wopjv2gu.fsf@news-spur.riddles.org.uk>
	<alpine.LNX.2.20.1811111216260.28051@salmo.appl-ecosys.com>
	<38cdd93b-e0be-ca3b-decd-64072356e6ce@aklaver.com>
	<alpine.LNX.2.20.1811111248390.28051@salmo.appl-ecosys.com>
	<alpine.LNX.2.20.1811111252520.28051@salmo.appl-ecosys.com>
	<alpine.LNX.2.20.1811131546150.19445@salmo.appl-ecosys.com>
	<6048bbde-04a4-3b90-00de-65adf78c8196@aklaver.com>

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




view thread (25+ messages)  latest in thread

Message-ID: <alpine.LNX.2.20.1811140652550.26515@salmo.appl-ecosys.com>
Permalink:  ../alpine.LNX.2.20.1811140652550.26515@salmo.appl-ecosys.com/
Also on:    postgresql.org/message-id/alpine.LNX.2.20.1811140652550.26515@salmo.appl-ecosys.com

 · 

reply

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-general@postgresql.org
  Cc: rshepard@appl-ecosys.com
  Subject: Re: Move cluster to new host, upgraded version
  In-Reply-To: <alpine.LNX.2.20.1811140652550.26515@salmo.appl-ecosys.com>
  References: <alpine.LNX.2.20.1811111118250.28051@salmo.appl-ecosys.com> <87wopjv2gu.fsf@news-spur.riddles.org.uk> <alpine.LNX.2.20.1811111216260.28051@salmo.appl-ecosys.com> <38cdd93b-e0be-ca3b-decd-64072356e6ce@aklaver.com> <alpine.LNX.2.20.1811111248390.28051@salmo.appl-ecosys.com> <alpine.LNX.2.20.1811111252520.28051@salmo.appl-ecosys.com> <alpine.LNX.2.20.1811131546150.19445@salmo.appl-ecosys.com> <6048bbde-04a4-3b90-00de-65adf78c8196@aklaver.com> <alpine.LNX.2.20.1811140652550.26515@salmo.appl-ecosys.com>

* 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