Re: base backup requirements for PITR

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Gabriele Bartolini *EXTERN*" <gabriele(dot)bartolini(at)2ndQuadrant(dot)it>, "Andrew W(dot) Gibbs" <awgibbs(at)awgibbs(dot)com>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: base backup requirements for PITR
Date: 2012-12-01 11:18:06
Message-ID: D960CB61B694CF459DCFB4B0128514C208C99DF4@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Gabriele Bartolini wrote:
> Il 29/11/12 02:52, Andrew W. Gibbs ha scritto:
>> That said, I'm wondering whether I created the base backup with
>> reliably correct procedures or merely was lucky.

> In order to simplify the management of disaster recovery solutions for
> PostgreSQL, we have recently developed and distributed an open source
> project called Barman.
[...]

Gabriele, I understand that you want to spread the word,
but the OP's problem was a different one:

He wants to create a base backup by just copying the
data directory of an 8.4 warm standby server.
There is no possibility to run pg_(start|stop)_backup,
but the documentation seems to suggest that it could work
anyway:
http://www.postgresql.org/docs/8.4/static/warm-standby.html#BACKUP-INCREMENTAL-UPDATED

I wonder if that's true, and I'd assume that you'd
have to backup pg_control first (to assure an old enough
checkpoint), but I don't know enough to answer the
question. I'd like to know myself.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Terry Khatri 2012-12-01 20:45:36 Setting up High Availability Group of PostgreSQL instances using RedHat Cluster Suite
Previous Message Gabriele Bartolini 2012-11-30 22:44:57 Re: base backup requirements for PITR