Re: Replication: slave is in permanent startup 'recovery'

From: "Henry C(dot)" <henka(at)cityweb(dot)co(dot)za>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Replication: slave is in permanent startup 'recovery'
Date: 2011-04-13 18:42:13
Message-ID: 1e25cf2d3557dd744212c679d1ab6a70.squirrel@zenmail.co.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Forgot to mention recovery.conf on slave:

standby_mode = 'on'
primary_conninfo = 'host..."
restore_command = 'cp /home/psql-wal-archive/%f "%p"'
archive_cleanup_command = 'pg_archivecleanup /home/psql-wal-archive %r'

The wiki states "If wal_keep_segments is a high enough number to retain the
WAL segments required for the standby server, this [restore_command] may not
be necessary."

Presumably this is referring to wal_keep_segments config on the master, right?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2011-04-13 18:42:57 Re: Streaming Replication limitations
Previous Message Simon Riggs 2011-04-13 18:34:47 Re: Streaming Replication limitations