Re: Backup & Restore - Mailing list pgsql-general

From Doug McNaught
Subject Re: Backup & Restore
Date
Msg-id m37kp1z4bt.fsf@varsoon.denali.to
Whole thread Raw
In response to Re: Backup & Restore  ("Gavin M. Roy" <gmr@justsportsusa.com>)
Responses Permissions on file created by COPY TO  (Joel Shellman <joel@ikestrel.com>)
List pgsql-general
"Gavin M. Roy" <gmr@justsportsusa.com> writes:

>
> This is true to a point.  Since my DB is dormant from 11 PM PST time
> until 5 AM PST time, I'm not concerned about the table relationships
> getting out of sync.  I guess this isn't the most eloquent way of
> doing this, but it works for me...
>
> So based upon your comment, pg_dump locks the database while running,
> preventing any data inconsistencies?

No, but it does the whole backup within a transaction, which
guarantees a consistent view.

-Doug
--
Let us cross over the river, and rest under the shade of the trees.
   --T. J. Jackson, 1863

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Backup & Restore
Next
From: Joel Shellman
Date:
Subject: Permissions on file created by COPY TO