Re: pg data backup from vps

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: pg data backup from vps
Date: 2017-12-02 00:02:24
Message-ID: 0913501f-3db8-b175-c368-12797b2e53aa@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/1/2017 12:44 PM, basti wrote:
> Replication is no backup.
> Its more like a RAID.
>
> That mean tubles that are delete on master by a mistake there are also
> delete on slave.
>
> correct me if i'am wrong.

a wal archive plus occasional basebackups lets you restore to any point
in time (PITR) covered since the oldest basebackup.

think of a base backup as a 'full' backup, and the wal logs in the
archive as incrementals.    one such approach might be a weekly
basebackup, where you keep the last 4 weeks, and keep all wal files
since the start of oldest basebackup.   yes, this will take quite a bit
of space

--
john r pierce, recycling bits in santa cruz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2017-12-02 11:14:43 Re: Problems with triggers and table lock
Previous Message Job 2017-12-01 21:39:58 Problems with triggers and table lock