[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Backup Postgressql



On Wed, 2007-09-26 at 12:33 -0300, Rodolfo Barbosa wrote:
> Hi,
> 
> How can I dunp the data bases from de postgressql without password 
> prompt? I`m using sarge.
> 
> Thanks
> -- 
> Rodolfo Barbosa
> Lunar Consultoria

PGPASSWORD=secret
export PGPASSWORD
pg_dump database > /tmp/database.dump
PGPASSWORD=
export PGPASSWORD


while the backup is running your password is out in the open, but in my
case that doesn't matter.


gr.
tinus



Reply to: