pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve Atkins <steve@blighty.com>
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Is there a continuous backup for pg ?
Date: Fri, 2 Mar 2018 11:22:10 -0800
Message-ID: <0249F760-38BC-4573-82B9-BCE3EF521134@blighty.com> (raw)
In-Reply-To: <CAGwOJny6RCY1YLuet8JSk7oYuL2th2TKkLJZ=pNurf90gWMkiA@mail.gmail.com>
References: <CAGwOJny6RCY1YLuet8JSk7oYuL2th2TKkLJZ=pNurf90gWMkiA@mail.gmail.com>


> On Mar 2, 2018, at 11:05 AM, Gary M <garym@oedata.com> wrote:
> 
> Hi,
> 
> 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.
> 
> The requirement is supporting an incremental backup of 10 minute windows.  Replication is not considered backup from malicious action.
> 
> Are there any best practices or solutions that can meet these requirements ? 

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



view thread (10+ messages)  latest in thread

Message-ID: <0249F760-38BC-4573-82B9-BCE3EF521134@blighty.com>
Permalink:  ../0249F760-38BC-4573-82B9-BCE3EF521134@blighty.com/
Also on:    postgresql.org/message-id/0249F760-38BC-4573-82B9-BCE3EF521134@blighty.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: steve@blighty.com
  Subject: Re: Is there a continuous backup for pg ?
  In-Reply-To: <0249F760-38BC-4573-82B9-BCE3EF521134@blighty.com>
  References: <CAGwOJny6RCY1YLuet8JSk7oYuL2th2TKkLJZ=pNurf90gWMkiA@mail.gmail.com> <0249F760-38BC-4573-82B9-BCE3EF521134@blighty.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox