Re: Is there a continuous backup for pg ?

From: Steve Atkins <steve(at)blighty(dot)com>
To: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Is there a continuous backup for pg ?
Date: 2018-03-02 19:22:10
Message-ID: 0249F760-38BC-4573-82B9-BCE3EF521134@blighty.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


> On Mar 2, 2018, at 11:05 AM, Gary M <garym(at)oedata(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gary M 2018-03-02 19:34:04 Re: Is there a continuous backup for pg ?
Previous Message Joshua D. Drake 2018-03-02 19:16:42 Re: Is there a continuous backup for pg ?