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 16962.1239459234@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 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?  (Kevin Bailey <kbailey@freewayprojects.com>)
Список pgsql-admin
Kevin Bailey <kbailey@freewayprojects.com> writes:
> Can a whole server be restored over to another server in a single command?

The output of pg_dumpall is really meant to be loaded into an empty
server.  Although it has a "--clean" switch, that's got serious
limitations and I wouldn't recommend bothering with it.

What exactly is the scenario you are trying to have here?  Is this
a poor man's substitute for replication?  Do you want the destination
server to include other stuff besides what is coming from the source?

            regards, tom lane

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

Предыдущее
От: Kevin Bailey
Дата:
Сообщение: How to completely clean out all databases from a PG server and reinitialise from scratch
Следующее
От: Péter Kovács
Дата:
Сообщение: Re: Finding out on exactly what I am stuck