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 1jd6G9-0003fI-5z for pgsql-general@arkaria.postgresql.org; Mon, 25 May 2020 06:06:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jd6G7-0002tS-VD for pgsql-general@arkaria.postgresql.org; Mon, 25 May 2020 06:06:47 +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 1jd6Cx-0005ow-Pg for pgsql-general@lists.postgresql.org; Mon, 25 May 2020 06:03:31 +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 1jd6Cu-0003Zb-Ti for pgsql-general@postgresql.org; Mon, 25 May 2020 06:03:30 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id C566C1D8F; Mon, 25 May 2020 09:03:25 +0300 (EEST) 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 HsWmIc2mLBbi; Mon, 25 May 2020 09:03:23 +0300 (EEST) Received: from mail.hot.ee (hot-relayhost3.estpak.ee [213.180.2.81]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 8DA2E1D8D; Mon, 25 May 2020 09:03:23 +0300 (EEST) Received: from dell2 (82.131.29.219.cable.starman.ee [82.131.29.219]) (Authenticated sender: kobruleht2) by HOT-Relayhost3.estpak.ee (Postfix) with ESMTPSA id 49Vmjh3LQGz1DS; Mon, 25 May 2020 09:03:19 +0300 (EEST) Message-ID: <672D501EF09642EB82A7226828644214@dell2> From: "Andrus" To: "Michael Paquier" Cc: "Tom Lane" , "Adrian Klaver" , "pgsql-general" References: <2B1267647FD14565B73801AF12CA1A88@dell2> <17696.1590101245@sss.pgh.pa.us> <69057EFCD3C7477B9C0C08D48E2ECD77@dell2> <20200524231007.GB387341@paquier.xyz> In-Reply-To: <20200524231007.GB387341@paquier.xyz> Subject: Re: Query returns no rows in pg_basebackup cluster Date: Mon, 25 May 2020 09:02:49 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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. How to set logical replication for all user databases in cluster so that when new database is added or new tables are added to database they will start replicate automatically ? Will it require more powerful backup server to replay main server sql stream from different databases. Andrus.