Re: Doubts about replication.. - Mailing list pgsql-general

From Francisco Olarte
Subject Re: Doubts about replication..
Date
Msg-id CA+bJJbwcfkn3w_Nt50oijOOpAXUFqgna6VfvMkRkr4UBMktFtg@mail.gmail.com
Whole thread Raw
In response to Re: Doubts about replication..  (Edmundo Robles <edmundo@sw-argos.com>)
List pgsql-general
On Thu, Apr 19, 2018 at 8:48 PM, Edmundo Robles <edmundo@sw-argos.com> wrote:
> Yes, you are right, the replication is not  a backup ;)  , actually   i backup  database  daily at  3:00 am but if
databasecrash,  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. 

Replication will happily replicate a delete with no where. Backup will
at least have the day starting point.

For this kind of things you need to do log-archiving + base backups.
With this you can use PITR to roll forward from the last full backup
to just before the delete.

Francisco Olarte.


pgsql-general by date:

Previous
From: James Keener
Date:
Subject: Re: Postgresql database encryption
Next
From: "W. Trevor King"
Date:
Subject: Re: Dynamically filtering a CTE?