Re: WAL based backup/recovery clarifications

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: WAL based backup/recovery clarifications
Дата
Msg-id 200703210001.l2L01XD12793@momjian.us
обсуждение исходный текст
Ответ на WAL based backup/recovery clarifications  ("Sabin Coanda" <sabin.coanda@deuromedia.ro>)
Список pgsql-admin
Sabin Coanda wrote:
> Hi there,
>
> I'd like to use WAL, but I need some clarifications about the
> backup/recovery procedure.
>
> In Postgresql v8.2.3 documentation, I found I have to make backup between
> pg_start_backup/pg_stop_backup executions, using tar/cpio tools.
>
> May I use pg_dumpall instead ? Is it enough to restore the database later
> with WAL ?

No, you need a binary backup, not a logical backup.

> If I cannot use pg_dumpall, please tell me exactly what are the directories
> that have to be archived. I note that I use a standard configuration on
> Windows.

All under "data".  Isn't the documentation clear?

--
  Bruce Momjian  <bruce@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

Предыдущее
От: Ivo Rossacher
Дата:
Сообщение: Re: ERROR: invalid byte sequence for encoding "UTF8": 0x92
Следующее
От: David Bear
Дата:
Сообщение: which distro, or to build