Re: pg_dumpall with individual output files per database?

Поиск
Список
Период
Сортировка
От Luca Ferrari
Тема Re: pg_dumpall with individual output files per database?
Дата
Msg-id CAKoxK+5wGAyXMUEZ=kFrg8_s8FBqSn6uBXR_xstSSp-TE-EWqg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_dumpall with individual output files per database?  (Francisco Olarte <folarte@peoplecall.com>)
Ответы Re: pg_dumpall with individual output files per database?  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgsql-general
On Thu, Jul 15, 2021 at 7:27 PM Francisco Olarte <folarte@peoplecall.com> wrote:
> It would probably complicate it, and dumping a whole cluster using
> something like pg_dumpall -g for the globals plus a loop over the
> databases using something like pg_dump -Fc ( which I would always
> recommend over plain sql format ) is just a ( little complex ) one
> liner or a 10 line script, probably not worth the scarce developer /
> maintainer brain cycles.

I always find the 502.pgsql FreeBSD backup script illuminating in this
sense: <https://svnweb.freebsd.org/ports/head/databases/postgresql10-server/files/502.pgsql.in?view=markup#l44>.
I used it as a base for my "loop and backup" scripts.

Luca



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

Предыдущее
От: Luca Ferrari
Дата:
Сообщение: Re: PostgreSQL 9.2 high replication lag
Следующее
От: Luca Ferrari
Дата:
Сообщение: Re: dealing with dependencies