pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lau NH <launh@perridot.com>
To: pgsql-admin@postgresql.org
To: pgsql-hackers@postgresql.org
Subject: Backup database through web and php
Date: Tue, 29 Jan 2002 11:01:58 +0800
Message-ID: <003401c1a871$516922a0$0401230a@perridot.com> (raw)

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?  

view thread (3+ messages)  latest in thread

Message-ID: <003401c1a871$516922a0$0401230a@perridot.com>
Permalink:  ../003401c1a871$516922a0$0401230a@perridot.com/
Also on:    postgresql.org/message-id/003401c1a871$516922a0$0401230a@perridot.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: launh@perridot.com, pgsql-hackers@postgresql.org
  Subject: Re: Backup database through web and php
  In-Reply-To: <003401c1a871$516922a0$0401230a@perridot.com>
  References: <003401c1a871$516922a0$0401230a@perridot.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox