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.