Re: PostgreSQL Point In Time Recovery

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL Point In Time Recovery
Date: 2013-10-24 18:31:38
Message-ID: 5269678A.5070100@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alan Hodgson 2013-10-24 19:14:17 Re: PostgreSQL Point In Time Recovery
Previous Message Rémi Cura 2013-10-24 16:49:48 Re: GIST index : order Hack : getting the order used by CLUSTER .. USING my_index