Re: Backup & Restore

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Gavin M(dot) Roy" <gmr(at)justsportsusa(dot)com>
Cc: "'Marcelo Pereira'" <gandalf(at)sum(dot)desktop(dot)com(dot)br>, pgsql-general(at)postgresql(dot)org
Subject: Re: Backup & Restore
Date: 2002-02-25 20:17:41
Message-ID: 200202252017.g1PKHfh08926@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Gavin M. Roy wrote:
[ There is text before PGP section. ]
>
-- Start of PGP signed section.
> 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?

Yes, doesn't so much lock as use MVCC to return a constent snapshot.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Doug McNaught 2002-02-25 20:36:38 Re: Backup & Restore
Previous Message Gavin M. Roy 2002-02-25 20:16:21 Re: Backup & Restore