Re: Can a whole server be restored over to another server in a single command?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Can a whole server be restored over to another server in a single command?
Дата
Msg-id 7390.1239483646@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Can a whole server be restored over to another server in a single command?  (Kevin Bailey <kbailey@freewayprojects.com>)
Ответы Re: Can a whole server be restored over to another server in a single command?
Список pgsql-admin
Kevin Bailey <kbailey@freewayprojects.com> writes:
> Tom Lane wrote:
>> What exactly is the scenario you are trying to have here?  Is this
>> a poor man's substitute for replication?

> Yes.  Poor man's replication is what we're after!    :o)

>> Do you want the destination
>> server to include other stuff besides what is coming from the source?

> The destination server (we call the Secondary server) only needs to be a
> copy of the Primary (live) server.

Well, the easiest solution is just to re-initdb the secondary and load
pg_dumpall output into it.  Is there anything you expect to gain by
re-inventing portions of pg_dumpall?

            regards, tom lane

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

Предыдущее
От: Kevin Bailey
Дата:
Сообщение: Re: Can a whole server be restored over to another server in a single command?
Следующее
От: Kevin Bailey
Дата:
Сообщение: Re: Can a whole server be restored over to another server in a single command?