Re: PostgreSQL Point In Time Recovery - Mailing list pgsql-general

From John R Pierce
Subject Re: PostgreSQL Point In Time Recovery
Date
Msg-id 5269678A.5070100@hogranch.com
Whole thread Raw
In response to Re: PostgreSQL Point In Time Recovery  (Jeff Janes <jeff.janes@gmail.com>)
Responses Re: PostgreSQL Point In Time Recovery  (Alan Hodgson <ahodgson@simkin.ca>)
List pgsql-general
On 10/24/2013 9:47 AM, Jeff Janes wrote:
>
> I restore from my base backup plus WAL quite often.  It is how I get a
> fresh dev or test instance when I want one.  (It is also how I have
> confidence that everything is working well and that I know what I'm
> doing should the time come to do a real restore).  When that starts to
> take an annoyingly long time, I run a new base backup.  How often that
> is, can be anywhere from days to months, depending on what's going on
> in the database.

hey, silly idea formed on half a cup of coffee....  if that base backup
is in the form of a copy of the data directory (as opposed to tar.gz or
something), could you 'update' it by pointing an instance of postgres at
it, and then playing the WAL archive into it, then shutting that
instance down?   or would it be impossible to synchronize the ongoing
new WAL's from the master with the timeline of this?



--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



pgsql-general by date:

Previous
From: Rémi Cura
Date:
Subject: Re: GIST index : order Hack : getting the order used by CLUSTER .. USING my_index
Next
From: Alan Hodgson
Date:
Subject: Re: PostgreSQL Point In Time Recovery