pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Dragos Valentin Moinescu <dragos.moinescu@gmail.com>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-admin@postgresql.org
Subject: Re: 8.2 "real-time" recovery
Date: Wed, 25 Aug 2010 12:47:57 -0700
Message-ID: <1282765677.11634.325.camel@jd-desktop.unknown.charter.com> (raw)
In-Reply-To: <AANLkTimR=QjOgd2g3d6ahTepcbf=y6rzF+FR7Pg-cOwP@mail.gmail.com>
References: <AANLkTikat4MFkL7tidT-c4Sd0=FAYpNRX260MGt7fJs6@mail.gmail.com>
	<4C74DB180200002500034B6F@gw.wicourts.gov>
	<AANLkTikrtDP+nHwzqfPNB0VOuGSnGg_3kN9QxTTpGrD5@mail.gmail.com>
	<4C74DEE90200002500034B7A@gw.wicourts.gov>
	<AANLkTikmM__F+ewjEza33iRdLuiCp3z9Ru6OsXQF0TvC@mail.gmail.com>
	<4C74EC500200002500034B81@gw.wicourts.gov>
	<AANLkTimR=QjOgd2g3d6ahTepcbf=y6rzF+FR7Pg-cOwP@mail.gmail.com>

On Wed, 2010-08-25 at 22:39 +0300, Dragos Valentin Moinescu wrote:

> What I did in terms of warm standby:
> 1. base backup using rsync
> 2. rsync all wal files
> 3. edited recoverfy.conf with a recovery_command="cp /wal-archive/%f %p"
> 
> So I need to write a new recovery_command that actually process any
> files from there, but waits for other files to arrive.
> "recovery-command.sh %f %p"

Just use PITRTools. Your life will be easier.

http://github.com/commandprompt/PITRTools

JD

-- 
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering
http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt




view thread (11+ messages)  latest in thread

Message-ID: <1282765677.11634.325.camel@jd-desktop.unknown.charter.com>
Permalink:  ../1282765677.11634.325.camel@jd-desktop.unknown.charter.com/
Also on:    postgresql.org/message-id/1282765677.11634.325.camel@jd-desktop.unknown.charter.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: jd@commandprompt.com, dragos.moinescu@gmail.com, Kevin.Grittner@wicourts.gov
  Subject: Re: 8.2 "real-time" recovery
  In-Reply-To: <1282765677.11634.325.camel@jd-desktop.unknown.charter.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