pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: droland <david.roland@soapware.com>
To: pgsql-admin@postgresql.org
Subject: pg_start_backup - backups
Date: Thu, 7 Apr 2011 11:18:00 -0700 (PDT)
Message-ID: <1302200280041-4289135.post@n5.nabble.com> (raw)

Attempting to run a backup with the database online. I first issue
'PG_START_BACKUP', then copy the contents of the postgresql data folder,
then issue 'PG_STOP_BACKUP'. The database service remains running during the
copy. If queries continue to hit the database after the PG_START_BACKUP
command is issued changes to the data folder are possible, which can cause
copy errors (for instance, a file not found exception). The file copy method
first creates a string array of the data folder contents (all folders and
files) and then processes the array, copying one file at a time. What am I
doing wrong?

--
View this message in context: http://postgresql.1045698.n5.nabble.com/pg-start-backup-backups-tp4289135p4289135.html
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.



view thread (6+ messages)  latest in thread

Message-ID: <1302200280041-4289135.post@n5.nabble.com>
Permalink:  ../1302200280041-4289135.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1302200280041-4289135.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: david.roland@soapware.com
  Subject: Re: pg_start_backup - backups
  In-Reply-To: <1302200280041-4289135.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox