Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oyflp-0001Xj-R6 for pgsql-general@arkaria.postgresql.org; Fri, 25 Nov 2022 20:58:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oyfkp-0006Nt-8b for pgsql-general@arkaria.postgresql.org; Fri, 25 Nov 2022 20:56:59 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oyfko-0006NQ-Tg for pgsql-general@lists.postgresql.org; Fri, 25 Nov 2022 20:56:58 +0000 Received: from portal-smtp-out.hot.ee ([194.126.101.125]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oyfkh-0008VK-FQ for pgsql-general@postgresql.org; Fri, 25 Nov 2022 20:56:57 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 4E74B2631 for ; Fri, 25 Nov 2022 22:56:47 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at vm-hot-relay10.estpak.ee Received: from portal-smtp-out.hot.ee ([127.0.0.1]) by localhost (vm-hot-relay10.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3iPHFS5ol0ny for ; Fri, 25 Nov 2022 22:56:45 +0200 (EET) Received: from mail.hot.ee (hot-relayhost1.estpak.ee [213.180.2.79]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 11E512599 for ; Fri, 25 Nov 2022 22:56:45 +0200 (EET) Content-Type: multipart/alternative; boundary="------------Yv8Qi4LdNHHczURV8rbi8EHT" Message-ID: Date: Fri, 25 Nov 2022 22:56:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Content-Language: et To: pgsql-general From: Andrus Subject: How to create hot standby of Postgres 12/Debian 10.3 in Windows 11 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------Yv8Qi4LdNHHczURV8rbi8EHT Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi! Postgres 12 from Postgres repository is running in Debian 10.3 VPS server: PostgreSQL 12.2 (Debian 12.2-2.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit (its upgrade is currently not an option). Cluster should mirrored to Windows 11 workstation in real time over internet. I installed Debian in Windows 11  using Linux Subsystem for Windows with wsl --install Debian This installs Debian 11.5 I tried to install Postgres 12 for replication in this Debian using sudo apt install postgresql-12 but this fails with E: Unable to locate package postgresql-12 How to install Postgres 12 in Debian 11.5 ? Will this replication work since Debian versions are different but hopefully locale implementations are same ? Which is most reasonable way to replicate whole Postgres 12/Debian 10.3  cluster in Windows 11 ? Andrus. --------------Yv8Qi4LdNHHczURV8rbi8EHT Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hi!

Postgres 12 from Postgres repository is running in Debian 10.3  VPS server:

PostgreSQL 12.2 (Debian 12.2-2.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit

(its upgrade is currently not an option).

Cluster should mirrored to Windows 11 workstation in real time over internet.

I installed Debian in Windows 11  using Linux Subsystem for Windows with

wsl --install Debian

This installs Debian 11.5

I tried to install Postgres 12 for replication in this Debian using

sudo apt install postgresql-12

but this fails with

E: Unable to locate package postgresql-12

How to install Postgres 12 in Debian 11.5 ?

Will this replication work since Debian versions are different but hopefully locale implementations are same ?

Which is most reasonable way to replicate whole Postgres 12/Debian 10.3  cluster in Windows 11 ?

Andrus.

--------------Yv8Qi4LdNHHczURV8rbi8EHT--