Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group