Backup database through web and php - Mailing list pgsql-hackers

From Lau NH
Subject Backup database through web and php
Date
Msg-id 003401c1a871$516922a0$0401230a@perridot.com
Whole thread Raw
Responses Re: [ADMIN] Backup database through web and php  (Naomi Walker <nwalker@eldocomp.com>)
List pgsql-hackers
Hi all,
   I am writing a php script to backup my postgres database through web interface, but my database is password required.  When I do a pg_dump at the linux shell prompt, it will prompt for password in order to backup the database, does anyone know how to pass this password with the pg_dump command together so that I can do it using php system call? 
 

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Rules for accessing tuple data in backend code
Next
From: Hiroshi Inoue
Date:
Subject: Re: Improving backend launch time by preloading relcache