Re: Query returns no rows in pg_basebackup cluster - Mailing list pgsql-general

From David G. Johnston
Subject Re: Query returns no rows in pg_basebackup cluster
Date
Msg-id CAKFQuwb4ZCAtVFB2BhHyOfi+tOtsynmAs63t-tEoSjk4HWLAjA@mail.gmail.com
Whole thread Raw
In response to Re: Query returns no rows in pg_basebackup cluster  ("Andrus" <kobruleht2@hot.ee>)
List pgsql-general
On Sunday, May 24, 2020, Andrus <kobruleht2@hot.ee> wrote:
Hi!

Backup in created in Windows from Linux server using pg_receivewal and pg_basebackup .
Can this backup used for PITR in Linux ?
No.  Physical copies need to be based on the same platform.  If you
wish to replicate a cluster without any platform, architecture or even
not-too-many major version constraints, there is also logical
replication available since v10.

Will logical replication also allow two modes:
 1. PITR recovery can used if needed
 2. Hot standby: User databases in both clusters contain same data.


Why are you spending so much effort on this Window/Linux hybrid setup?  Get yourself another Linux server and setup physical replication.  It sounds like it will exactly meet your requirements and you will waste more time and money working out alternatives than the server would cost.

David J.

pgsql-general by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Query returns no rows in pg_basebackup cluster
Next
From: "Andrus"
Date:
Subject: Re: Query returns no rows in pg_basebackup cluster