pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stefan Fercot <stefan.fercot@dalibo.com>
To: Edmundo Robles <edmundo@sw-argos.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Doubts about replication..
Date: Fri, 20 Apr 2018 10:40:14 +0200
Message-ID: <f4a38417-dd3d-e621-79ff-bb6fe5e77d46@dalibo.com> (raw)
In-Reply-To: <CAOXzpYDejJPcivatfQZhx2sSyRGzj-WBCFGJi3xSdUi=1yqBsg@mail.gmail.com>
References: <CAOXzpYA3BGgJcD_KczunJKjUMNeM23K5tqbd9vqxSF5Qmfhwgw@mail.gmail.com>
	<31d48ed7-2c92-3776-625a-cb153885ac6d@a-kretschmer.de>
	<CAOXzpYDejJPcivatfQZhx2sSyRGzj-WBCFGJi3xSdUi=1yqBsg@mail.gmail.com>

Hi,

If you want to reduce the amount of data lost, you might want to
consider another type of backup :
https://www.postgresql.org/docs/current/static/continuous-archiving.html

That awsome tool can also help you with it : https://pgbackrest.org/


On 04/19/2018 08:48 PM, Edmundo Robles wrote:
> Yes, you are right, the replication is not  a backup ;)  , actually 
>  i backup  database  daily at  3:00 am but if database crash,  the
> amount  of data is  big!  that is the reason i want to  replicate to
> reduce  the data loss. By the way  a few days ago a job partner did a
> delete with no where.
>
> On Thu, Apr 19, 2018 at 1:33 PM, Andreas Kretschmer
> <andreas@a-kretschmer.de <mailto:andreas@a-kretschmer.de>> wrote:
>
>
>
>     Am 19.04.2018 um 19:57 schrieb Edmundo Robles:
>
>         I will use replication as simple backup.
>
>
>     please keep in mind, replication is not a backup. All logical
>     errors on the master (delete from table and forgot the
>     where-condition) will replicated to the standby.
>
>
>     Andreas
>
>     -- 
>     2ndQuadrant - The PostgreSQL Support Company.
>     www.2ndQuadrant.com <http://www.2ndQuadrant.com;
>
>
>
>
>
> -- 
>

Kind regards,

-- 
Stefan FERCOT
http://dalibo.com - http://dalibo.org

Attachments:

  signature.asc (application/pgp-signature, 487B) download

view thread (8+ messages)  latest in thread

Message-ID: <f4a38417-dd3d-e621-79ff-bb6fe5e77d46@dalibo.com>
Permalink:  ../f4a38417-dd3d-e621-79ff-bb6fe5e77d46@dalibo.com/
Also on:    postgresql.org/message-id/f4a38417-dd3d-e621-79ff-bb6fe5e77d46@dalibo.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: stefan.fercot@dalibo.com, edmundo@sw-argos.com
  Subject: Re: Doubts about replication..
  In-Reply-To: <f4a38417-dd3d-e621-79ff-bb6fe5e77d46@dalibo.com>
  References: <CAOXzpYA3BGgJcD_KczunJKjUMNeM23K5tqbd9vqxSF5Qmfhwgw@mail.gmail.com> <31d48ed7-2c92-3776-625a-cb153885ac6d@a-kretschmer.de> <CAOXzpYDejJPcivatfQZhx2sSyRGzj-WBCFGJi3xSdUi=1yqBsg@mail.gmail.com> <f4a38417-dd3d-e621-79ff-bb6fe5e77d46@dalibo.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