Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1erqG5-0001aE-Gh for pgsql-general@arkaria.postgresql.org; Fri, 02 Mar 2018 19:22:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1erqG4-0005qH-4k for pgsql-general@arkaria.postgresql.org; Fri, 02 Mar 2018 19:22:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1erqG3-0005q8-T2 for pgsql-general@lists.postgresql.org; Fri, 02 Mar 2018 19:22:19 +0000 Received: from mail.wordtothewise.com ([2001:470:1:6d::9a]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1erqFx-0001jz-Ik for pgsql-general@lists.postgresql.org; Fri, 02 Mar 2018 19:22:19 +0000 Received: from satsuke.wordtothewise.com (204.11.227.194.static.etheric.net [204.11.227.194]) by mail.wordtothewise.com (Postfix) with ESMTPSA id 34B6F23379 for ; Fri, 2 Mar 2018 11:23:02 -0800 (PST) From: Steve Atkins Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Is there a continuous backup for pg ? Date: Fri, 2 Mar 2018 11:22:10 -0800 References: To: "pgsql-generallists.postgresql.org" In-Reply-To: Message-Id: <0249F760-38BC-4573-82B9-BCE3EF521134@blighty.com> X-Mailer: Apple Mail (2.3273) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Mar 2, 2018, at 11:05 AM, Gary M wrote: >=20 > Hi, >=20 > I have an unusual requirement for schema based, live backup of a 24/7 = database processing 100K inserts/updates per hour. The data store is = around 100TB. >=20 > The requirement is supporting an incremental backup of 10 minute = windows. Replication is not considered backup from malicious action. >=20 > Are there any best practices or solutions that can meet these = requirements ?=20 Sounds almost like you're looking for point-in-time recovery, which will = let you restore an entire cluster to any time in the past (if you can = afford the storage), using physical replication. https://www.postgresql.org/docs/current/static/continuous-archiving.html There are several sets of third-party tools that'll help with the setup, = monitoring and other tooling. Look for omnipitr or pitrtools. (I'd guess you could build something similar that would let you do = logical recovery by recording changesets from a logical replication = connection, but I don't know if anyone has put that together.) Cheers, Steve=