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 1ps1EB-0007jD-Ca for pgsql-general@arkaria.postgresql.org; Thu, 27 Apr 2023 13:00:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ps1EA-0001zY-7v for pgsql-general@arkaria.postgresql.org; Thu, 27 Apr 2023 13:00:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ps1E9-0001z9-Sp for pgsql-general@lists.postgresql.org; Thu, 27 Apr 2023 13:00:01 +0000 Received: from mout-u-107.mailbox.org ([80.241.59.207]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ps1E6-005Nn1-U1 for pgsql-general@lists.postgresql.org; Thu, 27 Apr 2023 13:00:01 +0000 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4Q6bRv458jz9sSV; Thu, 27 Apr 2023 14:59:55 +0200 (CEST) Date: Thu, 27 Apr 2023 14:59:55 +0200 (CEST) From: Erik Wienhold To: Rajmohan Masa , pgsql-general@lists.postgresql.org Message-ID: <1095977784.1286473.1682600395090@office.mailbox.org> In-Reply-To: References: Subject: Re: Differential Backups in Windows server MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Rspamd-Queue-Id: 4Q6bRv458jz9sSV List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 27/04/2023 13:24 CEST Rajmohan Masa wrote: > > Is it possible to take differential Backup inWindows Server ?If possible > please explain clearly? Not to my knowledge. Postgres itself only allows full backups via pg_basebackup or pg_dumpall. Barman[0] allows differential backup via rsync+ssh which is, however, not supported on Windows. Barman supports Windows with pg_basebackup. pgBackRest[1] and pg_rman[2] also provide differential backup but neither one supports Windows. I found SQLBackupAndFTP when searching for a Windows solution. It advertises with support for differential backups, but that's possible with SQL Server only. [3] I went with Barman to have PITR on that one Windows server I have to manage and accept that it only allows full backups. My Linux Postgres clusters are covered by rsync+ssh though. > I tried with different scenarios but I'm unable to take Diff Backup of the > postgresql database in Windows server. What have you tried? [0] https://pgbarman.org [1] https://pgbackrest.org/ [2] https://github.com/ossc-db/pg_rman [3] https://sqlbackupandftp.com/features -- Erik