Re: System dump, but not in the default format

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: System dump, but not in the default format
Дата
Msg-id Pine.LNX.4.44.0303281502560.2204-100000@peter.localdomain
обсуждение исходный текст
Ответ на System dump, but not in the default format  (David Goodenough <david.goodenough@btconnect.com>)
Список pgsql-general
David Goodenough writes:

> I would like to do a dump of all the DBs in a postgres system in the manner
> of pg_dumpall, but dumping the DBs out to individual files rather than one
> big one, and using a binary dump to make individual table restores easier.

for d in $(psql -At -c 'select datname from pg_database'); do pg_dump $d >$d.sql; done

--
Peter Eisentraut   peter_e@gmx.net


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

Предыдущее
От: Georg Steffers
Дата:
Сообщение: Re: Ideas, suggestions to rules (based on a real problem)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: DROP LANGUAGE error in pg_dump?