Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.postgresql > #713

Re: backup using pg_dump

From Magnus Warker <warker@mailinator.com>
Newsgroups comp.databases.postgresql
Subject Re: backup using pg_dump
Date 2016-04-16 04:42 +0200
Organization (posted via) M-net Telekommunikations GmbH
Message-ID <nes8pe$f47$1@news.m-online.net> (permalink)
References <nekgtc$1hv$1@news.m-online.net> <slrnnh2cev.us5.hellsop@nibelheim.ninehells.com>

Show all headers | View raw


On 04/15/2016 08:24 PM, Peter H. Coffin wrote:
> On Wed, 13 Apr 2016 06:12:05 +0200, Magnus Warker wrote:

>> when backing up a database with pg_dump:
>> How can I pass the password for the database on the commandline?
>
> Can't. Set up a strictly permisssioned password file or use an
> environmental variable (which is probably safest read from a strictly
> permissioned file).

Thanks,

I use the .pgpass solution (what you said) now...

Magnus

Back to comp.databases.postgresql | Previous | NextPrevious in thread | Find similar


Thread

backup using pg_dump Magnus Warker <warker@mailinator.com> - 2016-04-13 06:12 +0200
  Re: backup using pg_dump "Peter H. Coffin" <hellsop@ninehells.com> - 2016-04-15 13:24 -0500
    Re: backup using pg_dump Magnus Warker <warker@mailinator.com> - 2016-04-16 04:42 +0200

csiph-web