Skip site navigation (1) Skip section navigation (2)

Re: PITR problem

From: wstrzalka <wstrzalka(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: PITR problem
Date: 2008-04-29 08:20:13
Message-ID: d0838efb-024f-41a5-9c50-88da8ed22045@d1g2000hsg.googlegroups.com (view raw or flat)
Thread:
Lists: pgsql-general
> What is the full pg_standby command string (restore_command=....) in
> your recovery.conf.  It sound's like you have pg_standby set to delete
> archived WALs and possibly have that a little too aggressive.  Do you
> have the -k flag set in your pg_standby call in your restore_command?

My restore command is:
-----------------------------------------------------------------------------------------
restore_command = 'pg_standby -l -d -s 5 -w 0 -t /tmp/
pgsql.promote_trigger.5432 ~postgres/incoming_wal %f %p %r 2>&1 |
logger -p local1.info -t pitr-standby'
-----------------------------------------------------------------------------------------

As you can see I didn't set -k to keep fixed number of WALs, but %r
parameter and the PostgreSQL controls number of keeped files
automatically (or at least it should)


In response to

Responses

pgsql-general by date

Next:From: valgogDate: 2008-04-29 08:30:07
Subject: Re: passing a temporary table with more than one column to a stored procedure
Previous:From: Pascal CohenDate: 2008-04-29 07:36:31
Subject: Re: varchar or text

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group