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

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

pgsql-admin by date

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

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