pg_start_backup - backups

From: droland <david(dot)roland(at)soapware(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: pg_start_backup - backups
Date: 2011-04-07 18:18:00
Message-ID: 1302200280041-4289135.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Lukasz Brodziak 2011-04-08 06:43:09 Reindexing pg_catalog
Previous Message H S 2011-04-07 17:31:18 Fw: Re: [ADMIN] Re: [ADMIN] ▌►connecting to OS user in the same db