Re: replicating to a stopped server

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: replicating to a stopped server
Дата
Msg-id 470FC412.8050402@archonet.com
обсуждение исходный текст
Ответ на replicating to a stopped server  (Joao Miguel Ferreira <joao.mc.ferreira@criticalsoftware.com>)
Ответы Re: replicating to a stopped server  (Erik Jones <erik@myemma.com>)
Re: replicating to a stopped server  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-general
Joao Miguel Ferreira wrote:
> Hello,
>
>         I have a 'strange' situation:
>
>         I need to make a replica copy of my database to a reduntant
>         spare
>         computer.
>
>         The reduntant computer is not running postgres, but postgres is
>         installed. The redundant computer is running in a special
>         run-level (I'm
>         talking Linux here) in which Pg is _not_ running.
>
>         When the primary computer crashes the redundant one will be
>         rebooted in
>         'normal' mode and Postgres must be started with the databases
>         from the
>         replica.

You could use WAL archiving, but you'll want a fairly regular
full-backup of PG's files otherwise the recovery could take a long time.
See Ch 23 of the manuals for details.

--
   Richard Huxton
   Archonet Ltd

В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Need advice on keeping backup database up to date
Следующее
От: Erik Jones
Дата:
Сообщение: Re: replicating to a stopped server