Re: Create Linux Script for PostgreSQL database backup

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "nwalker(at)eldocomp(dot)com" <nwalker(at)eldocomp(dot)com>
Cc: Christopher Browne <cbbrowne(at)acm(dot)org>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Create Linux Script for PostgreSQL database backup
Date: 2004-09-02 17:33:25
Message-ID: 10808.1094146405@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Naomi Walker <nwalke(at)eldocomp(dot)com> writes:
> Christopher Browne wrote:
>>> One question , if you set access to server with password in
>>> pg_hba.conf how can you pass the apssword in the script?
>>
>> You don't have to if you put it in $HOME/.pgpass; see the
>> documentation for the format of that file...
>>
> True, but I see that as a *big* security hole.

As opposed to putting it in the script file? Surely you jest.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Naomi Walker 2004-09-02 17:36:41 Re: Create Linux Script for PostgreSQL database backup
Previous Message Naomi Walker 2004-09-02 16:28:59 Re: Create Linux Script for PostgreSQL database backup