pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: pg data backup from vps
Date: Fri, 1 Dec 2017 16:02:24 -0800
Message-ID: <0913501f-3db8-b175-c368-12797b2e53aa@hogranch.com> (raw)
In-Reply-To: <a20ae6e3-3b19-3f4c-2543-6795dc43d604@unix-solution.de>
References: <395df0f5-f135-37bd-ec87-4d7f3902548f@tigernassau.com>
<dd1288b7-6a10-da62-3c13-68fa52758839@gmail.com>
<CANu8FizZp2qOjUv06E=+MFhg3wTr8XNaR6LH=CaR2dZzrX8jQQ@mail.gmail.com>
<a20ae6e3-3b19-3f4c-2543-6795dc43d604@unix-solution.de>
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
view thread (8+ messages) latest in thread
Message-ID: <0913501f-3db8-b175-c368-12797b2e53aa@hogranch.com> Permalink: ../0913501f-3db8-b175-c368-12797b2e53aa@hogranch.com/ Also on: postgresql.org/message-id/0913501f-3db8-b175-c368-12797b2e53aa@hogranch.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: pierce@hogranch.com Subject: Re: pg data backup from vps In-Reply-To: <0913501f-3db8-b175-c368-12797b2e53aa@hogranch.com> References: <395df0f5-f135-37bd-ec87-4d7f3902548f@tigernassau.com> <dd1288b7-6a10-da62-3c13-68fa52758839@gmail.com> <CANu8FizZp2qOjUv06E=+MFhg3wTr8XNaR6LH=CaR2dZzrX8jQQ@mail.gmail.com> <a20ae6e3-3b19-3f4c-2543-6795dc43d604@unix-solution.de> <0913501f-3db8-b175-c368-12797b2e53aa@hogranch.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