Re: pg_dump command inside shell scripts

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: pg_dump command inside shell scripts
Дата
Msg-id 200210081504.29059.dev@archonet.com
обсуждение исходный текст
Ответ на pg_dump command inside shell scripts  (Elielson Fontanezi <ElielsonF@prodam.sp.gov.br>)
Список pgsql-general
On Tuesday 08 Oct 2002 2:35 pm, Elielson Fontanezi wrote:
> Hi Folks!
>
>     Again I need a help from you!
>
>     I have develop a shell script (seen below) to do dump and vaccum
> automatically.

>     But now I need change the $PGDATA/*hba.conf file as it was originally
> and
> face the password prompt again.

Do a search on "expect" - probably included with your system and designed for
this sort of interactive chatting (traditionally with a modem). There's also
a perl module to do the same.

- Richard Huxton

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

Предыдущее
От: Justin Clift
Дата:
Сообщение: Re: Rép. : Re: Hot Backup
Следующее
От: Tom Lane
Дата:
Сообщение: Re: How to find out about index