Re: Help automate pg_dump - Mailing list pgsql-general

From Don Isgitt
Subject Re: Help automate pg_dump
Date
Msg-id 3D0F4387.FA997C34@soundenergy.com
Whole thread Raw
In response to Re: Help automate pg_dump  (terry@greatgulfhomes.com)
List pgsql-general

terry@greatgulfhomes.com wrote:

> Hmmm.
>
> Please let the list know if you get a solution, I am about to go to 7.2 on
> my production machines but that could be a show stopper if the cron job
> cannot automatically back it up anymore.
>
> Terry Fielder
> Network Engineer
> Great Gulf Homes / Ashton Woods Homes
> terry@greatgulfhomes.com
>
> > -----Original Message-----
> > From: pgsql-general-owner@postgresql.org
> > [mailto:pgsql-general-owner@postgresql.org]On Behalf Of
> > nothanks@nowhere.com
> > Sent: Monday, June 17, 2002 10:01 PM
> > To: pgsql-general@postgresql.org
> > Subject: [GENERAL] Help automate pg_dump
> >
> >
> > We just upgraded from 7.1.3 to 7.2.1 and are at a loss on how to
> > script the pg_dump routine. We use this tool for backup, but can not
> > get around the requirement for username/password to be interactive.
> >
> > We require login from the localhost, and can not revert to trusted
> > connections.
> >
> > If the username/password must be interactive, how can I script backup
> > of the server?
> >
> > Evan,
> >
> >

Could you not use expect--it is designed for that sort of problem.

Don


p.s. Any help on my point-polygon problem (yesterday's postings) would be
appreciated.



pgsql-general by date:

Previous
From: Devrim GUNDUZ
Date:
Subject: Re: Help automate pg_dump
Next
From: Andrew Sullivan
Date:
Subject: Re: Help automate pg_dump