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 [DONE]
Date: Wed, 14 Nov 2018 08:10:02 -0800 (PST)
Message-ID: <alpine.LNX.2.20.1811140801300.26515@salmo.appl-ecosys.com> (raw)
In-Reply-To: <alpine.LNX.2.20.1811140747150.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>
	<7982.1542209462@sss.pgh.pa.us>
	<alpine.LNX.2.20.1811140747150.26515@salmo.appl-ecosys.com>

On Wed, 14 Nov 2018, Rich Shepard wrote:

> I think that I FUBARed the upgrade from 10.3 to 11.1. I've removed both
> packages and am rebuilding 11.1. I'll install it, run initdb on it, then
> re-run pg_dumpall on the 10.5 data directory on the old desktop. Starting
> from scratch on this new desktop will save time for all of us.

   All fixed now. To complete the thread this is what I did:

   1) Removed Slackware packages for postgresql-10.3 and -11.1.
   2) Removed /var/lib/pgsql/10.3 and 11.1.
   3) Re-built postgresql-11.1 and re-installed it.
   4) As user 'postgres' ran initdb and pg_ctl start pointing to
 	/var/lib/pgsql/11/data.
   5) Edited postgresql.conf and pg_hba.conf to accept connections from all
 	hosts on the LAN.
   6) Re-started postgres.
   7) As 'postgre' ran
 	pg_dumpall -h salmo -c -f pg-all-2018-11-14.sql
   8) Then postgres ran
 	psql -f pg-all-2018-11-14.sql

   Now I, as a user, can access my databases without a password.

   Thank you, Adrian, for your patient help. And you, Tom, for your helpful
comment.

Best regards,

Rich




view thread (25+ messages)

Message-ID: <alpine.LNX.2.20.1811140801300.26515@salmo.appl-ecosys.com>
Permalink:  ../alpine.LNX.2.20.1811140801300.26515@salmo.appl-ecosys.com/
Also on:    postgresql.org/message-id/alpine.LNX.2.20.1811140801300.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 [DONE]
  In-Reply-To: <alpine.LNX.2.20.1811140801300.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> <7982.1542209462@sss.pgh.pa.us> <alpine.LNX.2.20.1811140747150.26515@salmo.appl-ecosys.com> <alpine.LNX.2.20.1811140801300.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