From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-general@postgresql.org
Subject: Re: Move cluster to new host, upgraded version
Date: Sun, 11 Nov 2018 12:22:51 -0800
Message-ID: <38cdd93b-e0be-ca3b-decd-64072356e6ce@aklaver.com> (raw)
In-Reply-To: <alpine.LNX.2.20.1811111216260.28051@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>
On 11/11/18 12:18 PM, Rich Shepard wrote:
> On Sun, 11 Nov 2018, Andrew Gierth wrote:
>
>> The most reliable and preferred procedure is to use the _new_ version's
>> pg_dumpall, for example by allowing access to the old host from the new
>> one (possibly using an ssh port forward), or (on OSes that make it
>> easy to
>> do package installs of multiple versions) to install the new pg_dump and
>> pg_dumpall on the old system.
>
> Andrew,
>
> Using the SlackBuilds.org script with an updated version number
> worked for
> 11.1. So, I'll install it on the old desktop and upgrade in place. Then I
> can use the 11.1 pg_dumpall on the data directory and copy that over to the
> new desktop.
pg_dumpall is going to need to run against a Postgres server not just a
data directory. If both your old and new machines are on the same
network, why not just point the 11.1 pg_dumpall(on the new machine) at
the 9.5 server running on the old machine?
>
> Thanks,
>
> Rich
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
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: adrian.klaver@aklaver.com, rshepard@appl-ecosys.com
Subject: Re: Move cluster to new host, upgraded version
In-Reply-To: <38cdd93b-e0be-ca3b-decd-64072356e6ce@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>
* 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