pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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 11:57:23 -0800
Message-ID: <eaf42f2e-2b5a-799c-2e45-7da2ab82c3cb@aklaver.com> (raw)
In-Reply-To: <alpine.LNX.2.20.1811111118250.28051@salmo.appl-ecosys.com>
References: <alpine.LNX.2.20.1811111118250.28051@salmo.appl-ecosys.com>

On 11/11/18 11:21 AM, Rich Shepard wrote:
>    My current desktop server/workstation is running version 10.5. I'm
> configuring a replacement desktop and have installed version 11.1 on it. To
> copy all databases from the 10.5 version to the 11.1 version I assume 
> that I
> should do a pg_dumpall on the current host and read in that file on the
> replacement host. Is this the proper procedure?

See Andrew's reply for pg_dumpall advice.

Not sure if you have any extensions or not, but the part I often skip is 
installing extensions in the new cluster before running the dump restore.

> 
> TIA,
> 
> Rich
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (25+ messages)  latest in thread

Message-ID: <eaf42f2e-2b5a-799c-2e45-7da2ab82c3cb@aklaver.com>
Permalink:  ../eaf42f2e-2b5a-799c-2e45-7da2ab82c3cb@aklaver.com/
Also on:    postgresql.org/message-id/eaf42f2e-2b5a-799c-2e45-7da2ab82c3cb@aklaver.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: adrian.klaver@aklaver.com, rshepard@appl-ecosys.com
  Subject: Re: Move cluster to new host, upgraded version
  In-Reply-To: <eaf42f2e-2b5a-799c-2e45-7da2ab82c3cb@aklaver.com>
  References: <alpine.LNX.2.20.1811111118250.28051@salmo.appl-ecosys.com> <eaf42f2e-2b5a-799c-2e45-7da2ab82c3cb@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