Re: Autogenerated backup of a password protected database - Mailing list pgsql-general

From Richard Huxton
Subject Re: Autogenerated backup of a password protected database
Date
Msg-id 435F33BC.8020005@archonet.com
Whole thread Raw
In response to Autogenerated backup of a password protected database  (Jamie Deppeler <jamie@doitonce.net.au>)
List pgsql-general
Jamie Deppeler wrote:
> Since pg_dump doesnt support password is there a way that password can
> be supplied -w option. Currently writting a application to do backups in
> java as i need a solution that is cross platform. Any help would be
> greatfully recieved.

You can use a .pgpass or pgpass.conf file - see the section of the
manuals on libpq

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Tino Wildenhain
Date:
Subject: Re: Dump only functions...
Next
From: Richard Huxton
Date:
Subject: Re: Getting Stated