Re: How to do hot backup using postgres - Mailing list pgsql-general

From Ray Stell
Subject Re: How to do hot backup using postgres
Date
Msg-id 20100817130257.GC31391@cns.vt.edu
Whole thread Raw
In response to Re: How to do hot backup using postgres  (tuanhoanganh <hatuan05@gmail.com>)
List pgsql-general
On Tue, Aug 17, 2010 at 11:02:20AM +0700, tuanhoanganh wrote:
> On Sat, Aug 14, 2010 at 10:00 AM, tuanhoanganh <hatuan05@gmail.com> wrote:
> > The process cannot access the file because it is being used by another
> > process.
> > C:\...\8.3\pg_xlog\00000001000000070000001B

Exclude pg_log from the backup or rm that file at the recovery:

"You can, however, omit from the backup dump the files within the pg_xlog/
subdirectory of the cluster directory. This slight complication is
worthwhile because it reduces the risk of mistakes when restoring."
http://www.postgresql.org/docs/8.3/interactive/continuous-archiving.html

pgsql-general by date:

Previous
From: Thom Brown
Date:
Subject: Re: Postgresql's table & index compared to that of MySQL
Next
From: Maurice Gittens
Date:
Subject: Why No WHERE clause for INSERT statements