pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stéphane KANSCHINE <stephane@hexack.fr>
To: Achilleas Mantzios <achill@matrix.gatewaynet.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Database migration across different operating systems
Date: Tue, 8 Jan 2019 15:38:34 +0100
Message-ID: <20190108143833.fdabkpi6tfqv6tm4@office.hexack.fr> (raw)
In-Reply-To: <3eef1017-ce4a-5c4a-0217-ff69d705e38f@matrix.gatewaynet.com>
References: <A740E5D2-34BE-46AA-A9FE-50F510E771EC@gmail.com>
	<20190108090144.rdrtfh6wznoolsww@office.hexack.fr>
	<3eef1017-ce4a-5c4a-0217-ff69d705e38f@matrix.gatewaynet.com>

Le mar.  8 janv., vers 11:26, Achilleas Mantzios exprimait :

> On 8/1/19 11:01 π.μ., Stéphane KANSCHINE wrote:
> > 
> > Le lun.  7 janv., vers 22:51, Natalie Wenz exprimait :
> > > 
> > > I understand that the recommended, safest, approach would be to
> > > dump/restore. We intend to do that wherever possible.
> >
> > It's not anymore since PostgreSQL have logical replication. You can
> > initialize you FreeBSD cluster with a pg_basebackup and you follow
> > updates with logical streaming.
> 
> Hmm, maybe you mean pg_dump --schema-only? I cannot see how taking physical
> copy with pg_basebackup will help with logical replication.

You're right, it's useless and counterproductive. I'm still on
holydays. But still, take a look at logical replication, it's way more
efficient than pg_dump.

-- 
Stéphane KANSCHINE - https://www.hexack.fr./ - https://www.nuajik.io./
@ stephane@hexack.fr
  +33 6 64 31 72 52




view thread (10+ messages)  latest in thread

Message-ID: <20190108143833.fdabkpi6tfqv6tm4@office.hexack.fr>
Permalink:  ../20190108143833.fdabkpi6tfqv6tm4@office.hexack.fr/
Also on:    postgresql.org/message-id/20190108143833.fdabkpi6tfqv6tm4@office.hexack.fr

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: stephane@hexack.fr, achill@matrix.gatewaynet.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Database migration across different operating systems
  In-Reply-To: <20190108143833.fdabkpi6tfqv6tm4@office.hexack.fr>

* 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