How to do hot backup using postgres

From: tuanhoanganh <hatuan05(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: How to do hot backup using postgres
Date: 2010-08-14 03:00:58
Message-ID: AANLkTiny_-TYpC6TWp0APatwT1YNO-Csip=8joLoGhWo@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I tried to do pitr backup using Postgres 8.3.9 on windows. So I issued
SELECT pg_start_backup('test');
After I put the db in backup mode I tried to zip the data directory files
with 7z. However I encountered the following errors:

The process cannot access the file because it is being used by another
process.
C:\...\8.3\data\global1214
The process cannot access the file because it is being used by another
process.
C:\...\8.3\pg_xlog\00000001000000070000001B
...
...
But zip file was created.
Is it error ? How can I zip the files and perform a hot backup on windows?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vikram Patil 2010-08-14 06:49:44 Windows 2003 server installation issue
Previous Message Bill Christensen 2010-08-13 21:12:57 Re: Problem with dumps