Skip site navigation (1) Skip section navigation (2)

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$ (view raw, whole thread or download thread mbox)
Lists: pgsql-adminpgsql-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

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

pgsql-admin by date

Next:From: Ferdinand SmitDate: 2002-01-29 09:11:46
Subject: Re: INSERT performace.
Previous:From: Bruce MomjianDate: 2002-01-29 01:17:32
Subject: Re: pg_hba.conf reload

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group