Re: Wal Segment files Backup Strategy for archiving

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Wal Segment files Backup Strategy for archiving
Дата
Msg-id 4BC74FB30200002500030999@gw.wicourts.gov
обсуждение исходный текст
Ответ на Wal Segment files Backup Strategy for archiving  (Frederiko Costa <frederiko@gmail.com>)
Список pgsql-admin
Frederiko Costa <frederiko@gmail.com> wrote:

> Use pg_start_backup(), copy the data/ directory (or the cluster
> area), and pg_stop_backup(). It created the first checkpoint
> (correct?)

Yes.

> once the base backup has been made and I change any setting on
> this primary server, on postgresql.conf for example, would I have
> to redo the procedure and set Pgsql to backup mode if I want to
> apply these changes I made updated on standby server or it's just
> a matter of transferring the file to the standby server?

You can transfer the .conf files, but be careful about the archive
settings; you may not want those to be identical on the standby.
Also pay attention to memory settings, etc., if the hardware isn't
identical.  Of course, this is the same with setting it up after
you copy a base backup.

-Kevin

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

Предыдущее
От: Frederiko Costa
Дата:
Сообщение: Wal Segment files Backup Strategy for archiving
Следующее
От: Samuel Stearns
Дата:
Сообщение: FW: More than 1 pg_database Entry for Database - Thread #2