Re: WAL segment NOT FOUND - Postgres 9.2 - Mailing list pgsql-admin

From Patrick Baker
Subject Re: WAL segment NOT FOUND - Postgres 9.2
Date
Msg-id CAJNY3itE11OWxBknSThF2+_N2wpZj1AGGDpz5a27efGMR9v0NA@mail.gmail.com
Whole thread Raw
In response to Re: WAL segment NOT FOUND - Postgres 9.2  (Ian Barwick <ian@2ndquadrant.com>)
Responses Re: WAL segment NOT FOUND - Postgres 9.2
List pgsql-admin
Hi guys,


So... My servers are:

1 master
2 slaves (streaming replication)
1 backup server (replication using WAL FILES)

The backup server is not updated... it seems the WAL ARCHIVES have failed and the server is not updated.

The error that I see on the pg_log:
WAL segment `../wal_archive/00000002000011E800000012` not found


Question:
Can I make the server be replicated by using streaming replication, so the server would be updated.. and then I go back to the WAL ARCHIVE?

We use WAL ARCHIVE because we keep it 4 days old:
restore_command = 'exec nice -n 19 ionice -c 2 -n 7 ../../bin/segment.sh
> "../wal_archive/%f" "%p" 345600'


Thanks

pgsql-admin by date:

Previous
From: Bear Giles
Date:
Subject: Re: GSSAPI / Kerberos Authentication
Next
From: Patrick Baker
Date:
Subject: Re: WAL segment NOT FOUND - Postgres 9.2