Re: pg_dump command inside shell scripts

From: Richard Huxton <dev(at)archonet(dot)com>
To: Elielson Fontanezi <ElielsonF(at)prodam(dot)sp(dot)gov(dot)br>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_dump command inside shell scripts
Date: 2002-10-08 14:04:29
Message-ID: 200210081504.29059.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Johnson, Shaunn 2002-10-08 16:21:05 phpPgAdmin + PostgreSQL + authentication
Previous Message Tom Lane 2002-10-08 13:50:22 Re: problems with pltcl.so

Browse pgsql-general by date

  From Date Subject
Next Message Justin Clift 2002-10-08 14:04:40 Re: Hot Backup
Previous Message Tom Lane 2002-10-08 14:00:13 Re: How to find out about index