pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Julio Leyva <jcleyva@hotmail.com>
To: Charles Duffy <charles.duffy@gmail.com>
To: kevin kempter <kevin@kevinkempterllc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: warm standby issues
Date: Mon, 28 Apr 2008 14:36:47 +0000
Message-ID: <BLU102-W27D4BF281F7BA9A72BC42DA1DE0@phx.gbl> (raw)
In-Reply-To: <dfdaea8f0804271658s5366836qb0248d5c63d45562@mail.gmail.com>
References: <932B6BCD-0917-49BD-96B7-91395A4EC397@kevinkempterllc.com>
	<dfdaea8f0804271658s5366836qb0248d5c63d45562@mail.gmail.com>

I have setup this feature using postgresql  8.3.1 on a suse linux version    and pg_standby as a recovery script, works very good and I use rsync as a script to ship logs

This is my configuration in the primary D.B


archive_mode = on 
archive_command = 'rsync -atz %p backup:/data01/wal_files/%f'
archive_timeout = 60  

This is the recovery.conf in the backup server
restore_command = 'pg_standby -l /data01/wal_files %f %p %r -t /tmp/pgsql.trigger.5432 2>>/tmp/standby.log'


Hope this help you 

view thread (3+ messages)

Message-ID: <BLU102-W27D4BF281F7BA9A72BC42DA1DE0@phx.gbl>
Permalink:  ../BLU102-W27D4BF281F7BA9A72BC42DA1DE0@phx.gbl/
Also on:    postgresql.org/message-id/BLU102-W27D4BF281F7BA9A72BC42DA1DE0@phx.gbl

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jcleyva@hotmail.com, charles.duffy@gmail.com, kevin@kevinkempterllc.com
  Subject: Re: warm standby issues
  In-Reply-To: <BLU102-W27D4BF281F7BA9A72BC42DA1DE0@phx.gbl>
  References: <932B6BCD-0917-49BD-96B7-91395A4EC397@kevinkempterllc.com> <dfdaea8f0804271658s5366836qb0248d5c63d45562@mail.gmail.com> <BLU102-W27D4BF281F7BA9A72BC42DA1DE0@phx.gbl>

* 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