Re: Autogenerated backup of a password protected database

From: Richard Huxton <dev(at)archonet(dot)com>
To: Jamie Deppeler <jamie(at)doitonce(dot)net(dot)au>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Autogenerated backup of a password protected database
Date: 2005-10-26 07:43:56
Message-ID: 435F33BC.8020005@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2005-10-26 07:57:36 Re: Getting Stated
Previous Message Tino Wildenhain 2005-10-26 07:19:59 Re: Dump only functions...