Backup database through web and php

From: "Lau NH" <launh(at)perridot(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Backup database through web and php
Date: 2002-01-29 03:01:58
Message-ID: 003401c1a871$516922a0$0401230a@perridot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin 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?

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ferdinand Smit 2002-01-29 09:11:46 Re: INSERT performace.
Previous Message Bruce Momjian 2002-01-29 01:17:32 Re: pg_hba.conf reload

Browse pgsql-hackers by date

  From Date Subject
Next Message Lamar Owen 2002-01-29 03:49:16 Re: 7.2 RPMs (Re: [HACKERS] PostgreSQL v7.2rc2 Released)
Previous Message Tom Lane 2002-01-29 01:24:20 Re: Rules for accessing tuple data in backend code