X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D98ABD7B26 for ; Mon, 12 Sep 2005 13:56:42 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 87285-09 for ; Mon, 12 Sep 2005 16:56:39 +0000 (GMT) Received: from relay.mixmail.com (relay02.mixmail.com [62.151.8.31]) by svr1.postgresql.org (Postfix) with ESMTP id 66D4ED7335 for ; Mon, 12 Sep 2005 13:56:38 -0300 (ADT) Received: from [172.30.8.15] (helo=web07) by relay.mixmail.com with smtp id 1EErbh-00080u-00 for pgsql-php@postgresql.org; Mon, 12 Sep 2005 18:56:37 +0200 Date: Mon, 12 Sep 2005 11:56:37 -0500 From: "enzo venegas palacios" Reply-To: enzovenegas@mixmail.com To: "pgsql-php@postgresql.org" Subject: pg_dump Xmailer: Mixmail Server 3.0 X-Priority: 3 MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: quoted-printable Message-Id: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=3.018 required=5 tests=[AWL=-0.843, DNS_FROM_RFC_ABUSE=0.374, PRIORITY_NO_NAME=1.185, RCVD_IN_BL_SPAMCOP_NET=1.832, TO_ADDRESS_EQ_REAL=0.47] X-Spam-Level: *** X-Archive-Number: 200509/5 X-Sequence-Number: 3245 Hello, I have postgresql, apache, win2K and php in a intranet I am trying to create a backup with pg_dump ex: pg_dump -i -U nombre_de_usuario -Fc -b -v -f "C:\Archivos de programa\PostgreSQL\8.0\backup.backup" nombre_db And I have to execute it from php with exec from the web page ex: exec ("C:\Archivos de programa\PostgreSQL\8.0.0-rc1\bin>pg_dump -i -U nombre_de_usuario -Fc -b -v -f "C:\Archivos de programa\PostgreSQL\8.0\backup.backup" nombre_db"); My problem is that this code asks for password me and on having executed the command exec it cannot be deposited ex: C:\Archivos de programa\PostgreSQL\8.0.0-rc1\bin>pg_dump -i -U nombre_de_usuario -Fc -b -v -f "C:\Archivos de programa\PostgreSQL\8.0\backup.backup" nombre_db C:\pass:_ There exists some form of which he(she) does not ask for the key me? Treat creating users without key, but it(he,she) gives the same result enzo --------------------------------------------------------- Vuelve el pleno al 15. Juega a la quiniela y hazte millonario en http://sorteos.ya.com Ya.com ADSL 2MB + Llamadas 24 horas: desde 26,95 €/mes + IVA. Navega y habla de forma ilimitada. Sin compromiso de permanencia. http://acceso.ya.com/ADSLllamadas/2mb