Restore after pg_dumpall

Поиск
Список
Период
Сортировка
От Asmus Reinhard
Тема Restore after pg_dumpall
Дата
Msg-id 6E551FFA49836D4290CA09616AE1CB9BB15A03@EX01.SPDFRAK.BLN
обсуждение исходный текст
Список pgsql-admin

>pg_dumpall > alldb.sql (store)

>and

>psql -f alldb.sql postgres (restore)

>is it necessary to drop existing objects (for example roles, ...) ?

>Any help is appreciated.

 

Last days i’m looking tot he options of pg_dumpall and I think the answer of my question is using option –c.

 

Using this option pg_dumpall generates at first drop commands for existing objects …

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

Предыдущее
От: Samrat Revagade
Дата:
Сообщение: Re: Restore after using pg_dumpall
Следующее
От: Jürgen Fuchsberger
Дата:
Сообщение: Problem: pg_ctl does not not stop postgres properly even with immediate option