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


Groups > comp.databases.postgresql > #712

Re: backup using pg_dump

From "Peter H. Coffin" <hellsop@ninehells.com>
Newsgroups comp.databases.postgresql
Subject Re: backup using pg_dump
Date 2016-04-15 13:24 -0500
Message-ID <slrnnh2cev.us5.hellsop@nibelheim.ninehells.com> (permalink)
References <nekgtc$1hv$1@news.m-online.net>

Show all headers | View raw


On Wed, 13 Apr 2016 06:12:05 +0200, Magnus Warker wrote:
> Hello,
>
> 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).

-- 
29. I will dress in bright and cheery colors, and so throw my enemies 
   into confusion.
        --Peter Anspach's list of things to do as an Evil Overlord

Back to comp.databases.postgresql | Previous | NextPrevious in thread | Next 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