Re: Create Linux Script for PostgreSQL database backup

From: Christopher Browne <cbbrowne(at)acm(dot)org>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Create Linux Script for PostgreSQL database backup
Date: 2004-09-02 15:00:35
Message-ID: m31xhk90mk.fsf@wolfe.cbbrowne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

A long time ago, in a galaxy far, far away, sandro(dot)garoffolo(at)unito(dot)it (Sandro Garoffolo) 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...
--
(format nil "~S(at)~S" "cbbrowne" "cbbrowne.com")
http://cbbrowne.com/info/sap.html
What would the world be like with no hypothetical situations?

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Naomi Walker 2004-09-02 16:28:59 Re: Create Linux Script for PostgreSQL database backup
Previous Message Sandro Garoffolo 2004-09-02 13:40:04 Re: Create Linux Script for PostgreSQL database backup