pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Marco Lechner <mlechner@bfs.de>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: how to merge two postgresql server instances into one
Date: Wed, 6 Oct 2021 08:32:55 -0700
Message-ID: <d6bbe307-4c6d-b53b-5b41-8a4e6d2d12cf@aklaver.com> (raw)
In-Reply-To: <5c0755626e364831849d20919f394a3a@bfs.de>
References: <5c0755626e364831849d20919f394a3a@bfs.de>

On 10/6/21 2:58 AM, Marco Lechner wrote:
> Hi,
> 
> how to merge two postgresql server instances into one? I have a 
> postgresql-11 and -12 instance on my server and want to upgrade both 
> (pg_upgrade?) into one postgresql-14 instance.

The bigger issue will be the merge. Define what that means in this context?

> 
> The postgresql-14 instance does not exist yet (fresh install of 
> postgresql-14 server packages). Using pg_upgrade to upgrade the larger 
> one and pg_dumpall/pg_restore for the smaller one? Or are there any 
> other nice recommended workflows?
> 
> i.A. Dr. Marco Lechner
> 
> Leiter Fachgebiet RN 1 │ Head RN 1
> 
> --
> 
> Bundesamt für Strahlenschutz │ Federal Office for Radiation Protection
> 
> Koordination Notfallschutzsysteme │ Coordination Emergency Systems │ RN 1
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (2+ messages)

Message-ID: <d6bbe307-4c6d-b53b-5b41-8a4e6d2d12cf@aklaver.com>
Permalink:  ../d6bbe307-4c6d-b53b-5b41-8a4e6d2d12cf@aklaver.com/
Also on:    postgresql.org/message-id/d6bbe307-4c6d-b53b-5b41-8a4e6d2d12cf@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, mlechner@bfs.de
  Subject: Re: how to merge two postgresql server instances into one
  In-Reply-To: <d6bbe307-4c6d-b53b-5b41-8a4e6d2d12cf@aklaver.com>
  References: <5c0755626e364831849d20919f394a3a@bfs.de> <d6bbe307-4c6d-b53b-5b41-8a4e6d2d12cf@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