Re: How to do hot backup using postgres

From: Ray Stell <stellr(at)cns(dot)vt(dot)edu>
To: tuanhoanganh <hatuan05(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to do hot backup using postgres
Date: 2010-08-17 13:02:57
Message-ID: 20100817130257.GC31391@cns.vt.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Glaesemann 2010-08-17 14:12:41 Re: Why No WHERE clause for INSERT statements
Previous Message Thom Brown 2010-08-17 12:45:21 Re: Postgresql's table & index compared to that of MySQL