Re: Backup options? - Mailing list pgsql-novice

From John DeSoi
Subject Re: Backup options?
Date
Msg-id 62DDFFBB-88F1-4EB1-96C5-501E15767257@pgedit.com
Whole thread Raw
In response to Backup options?  (Magnus Persson <magnus.e.persson@gmail.com>)
List pgsql-novice
On Sep 15, 2014, at 2:06 PM, Magnus Persson <magnus.e.persson@gmail.com> wrote:

> If we consider that I for some reason or the other can't use pg_dumpall against the production clusters, what are my
options?One idea is that of using asynchronous replication and pull the dumps off of them. Are there any pitfalls
relatedto the replication? During normal operations, will postgres ensure that the state on the slaves always reflect
thestate of the masters? In effect it would work similar to if I did the dump on the production servers? I recall
readingsomething about asynchronous replication, but I'm unsure of what it was exactly or if it affects backups. 

Yes, this approach works, but it is not without possible problems. You may have to repeat a failed backup because of
queryconflicts. See 

http://www.postgresql.org/docs/current/static/hot-standby.html#HOT-STANDBY-CONFLICT

John DeSoi, Ph.D.




pgsql-novice by date:

Previous
From: Magnus Persson
Date:
Subject: Backup options?
Next
From: Albe Laurenz
Date:
Subject: Re: Backup options?