Re: running pg_dumpall as a cron job

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: running pg_dumpall as a cron job
Дата
Msg-id 20060429201918.GB25517@KanotixBox
обсуждение исходный текст
Ответ на running pg_dumpall as a cron job  (richard <richard@sheugh.com>)
Список pgsql-novice
richard <richard@sheugh.com> schrieb:

> Hi all
>
> I am trying to run pg_dumpall as a cron job. I find that while
> pg_dump has an option -f to name a file for output this is
> not available for pg_dumpall. After reading the manual, my
> guess is that best practice is to run pg_dump for each database.

No, you can use redirection:

pg_dumpall > dumpfile.sql


HTH, Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."    (unknow)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°

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

Предыдущее
От: Andreas Kretschmer
Дата:
Сообщение: Re: Trigger to force fields to lowercase at insert/update
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Trigger to force fields to lowercase at insert/update