Re: pg data backup from vps - Mailing list pgsql-general

From John R Pierce
Subject Re: pg data backup from vps
Date
Msg-id 0913501f-3db8-b175-c368-12797b2e53aa@hogranch.com
Whole thread Raw
In response to Re: pg data backup from vps  (basti <mailinglist@unix-solution.de>)
Responses Re: pg data backup from vps
List 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



pgsql-general by date:

Previous
From: Job
Date:
Subject: Problems with triggers and table lock
Next
From: Alban Hertroys
Date:
Subject: Re: Problems with triggers and table lock