Re: pg_dumpall - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: pg_dumpall
Date
Msg-id 20080117183610.GK17828@alvh.no-ip.org
Whole thread Raw
In response to Re: pg_dumpall  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_dumpall
List pgsql-general
Tom Lane wrote:
> Steve Clark <sclark@netwolves.com> writes:
> > does pg_dumpall make consistent backups if the database is being used
> > concurrently?
> > Even though the man page doesn't say it does.
>
> That's intentional, because it doesn't.  What you get is a pg_dump
> snapshot of each database in sequence; those snapshots don't all
> correspond to the same time instant.  There isn't any good way to
> guarantee time coherence of dumps across two databases.

The fine point possibly being missed is that each database's dump
produced by pg_dumpall is, of course, self-consistent.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: testing the news gateway
Next
From: Glyn Astill
Date:
Subject: Re: pg_dumpall