Re: Basic Question on Point In Time Recovery

From: Robert Inder <robert(at)interactive(dot)co(dot)uk>
To: Francisco Olarte <folarte(at)peoplecall(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Basic Question on Point In Time Recovery
Date: 2015-03-12 11:52:16
Message-ID: CAKqjJm_nbdK1WTV8ydOKX8F998FJz2O5SnUu7B6mP5sa+y=QFw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi, Francisco,

On 11 March 2015 at 17:32, Francisco Olarte <folarte(at)peoplecall(dot)com> wrote:

> This is, build an streaming replication slave, pg_dump from the slave. If
> needed, restore in the master.

I really like the idea of running pg_dump on the slave, but I don't understand
how I could do it.

Postgres on our live machine is regularly pushing WAL files to the standby.

Postgres on the standby machine is continually reading those files.
But that is all it will do. "pg_dump" just says "The database is starting up".

Could/should I have something configured differently?

Or Is this something that has changed with Postgres 9?
We're currently running Postgres 8.4.
Is this my specific reason to embark on an upgrade?

Robert.

--
Robert Inder,
Interactive Information Ltd, 3, Lauriston Gardens, Edinburgh EH3 9HH
Registered in Scotland, Company no. SC 150689
Interactions speak louder than words

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2015-03-12 12:31:41 Re: Basic Question on Point In Time Recovery
Previous Message Robert Inder 2015-03-12 11:15:51 Re: Basic Question on Point In Time Recovery