Re: Problem with Online-Backup - Mailing list pgsql-general

From roopa perumalraja
Subject Re: Problem with Online-Backup
Date
Msg-id 744266.3360.qm@web50813.mail.yahoo.com
Whole thread Raw
In response to Re: Problem with Online-Backup  (Richard Huxton <dev@archonet.com>)
Responses Re: Problem with Online-Backup
List pgsql-general
Thanks a lot for your reply. To make it more clear will the be no loss of data or data corruption when taking a base backup while there is inserts & updates happening in the database?
--
Roopa

Richard Huxton <dev@archonet.com> wrote:
roopa perumalraja wrote:
> Hi all,
>
> While there are inserts & updates happening into the database, is it
> possible to make the base backup without losing any of the updates in
> the database?

Yes, that's the whole point of PITR. The filesystem backup + WAL files
gives you a working database when restored.

> What does select pg_start_backup('label'); & pg_stop_backup(); do
> actually?

Tell the server that you are taking a backup, start a new WAL segment
for you too.

http://www.postgresql.org/docs/8.2/static/continuous-archiving.html

> I am worried if the file system backup tool will not store the data
> files in the /pgsql/data/base which is still getting populated. Or
> does the segment file store that?

Not sure I understand you here.

--
Richard Huxton
Archonet Ltd


Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.

pgsql-general by date:

Previous
From: "Dave Page"
Date:
Subject: Re: I "might" have found a bug on 8.2.1 win32
Next
From: Paul Lambert
Date:
Subject: Re: How to allow users to log on only from my application not from pgadmin