Re: Create Linux Script for PostgreSQL database backup - Mailing list pgsql-admin

From Naomi Walker
Subject Re: Create Linux Script for PostgreSQL database backup
Date
Msg-id 41375A29.5020806@eldocomp.com
Whole thread Raw
In response to Create Linux Script for PostgreSQL database backup  (Lawrence C <research_2004@yahoo.com>)
Responses Re: Create Linux Script for PostgreSQL database backup
List pgsql-admin
Tom Lane wrote:
Naomi Walker <nwalke@eldocomp.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 
Anything would plain text would be a problem.  Isnt .pgpass plain text?

-- 
-------------------------------------------------------------------------
Naomi Walker                          Chief Information Officer
Eldorado Computing, Inc.              nwalker@eldocomp.com 602-604-3100 
-------------------------------------------------------------------------
Freedom is not worth having if it does not include the freedom to make
mistakes.      -Mahatma Gandhi
------------------------------------------------------------------------- 

-- CONFIDENTIALITY NOTICE --

This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email, and delete the message. Thank you.

 

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Create Linux Script for PostgreSQL database backup
Next
From: Tom Lane
Date:
Subject: Re: Create Linux Script for PostgreSQL database backup