Re: Database migration across different operating systems

From: Stéphane KANSCHINE <stephane(at)hexack(dot)fr>
To: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Database migration across different operating systems
Date: 2019-01-08 14:38:34
Message-ID: 20190108143833.fdabkpi6tfqv6tm4@office.hexack.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)hexack(dot)fr
 +33 6 64 31 72 52

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Pepe TD Vo 2019-01-08 18:07:25 Re: install Postgres on RHED 7
Previous Message Natalie Wenz 2019-01-08 14:32:12 Re: Database migration across different operating systems