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

pg_dump

From: "enzo venegas palacios" <enzovenegas(at)mixmail(dot)com>
To: "pgsql-php(at)postgresql(dot)org" <pgsql-php(at)postgresql(dot)org>
Subject: pg_dump
Date: 2005-09-12 16:56:37
Message-ID: E1EErbh-00080u-00@relay.mixmail.com (view raw or flat)
Thread:
Lists: pgsql-php
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

Responses

pgsql-php by date

Next:From: Jason MinionDate: 2005-09-12 17:13:13
Subject: Re: [SPAM] - pg_dump - Bayesian Filter detected spam
Previous:From: JUAN ERNESTO FLORES BELTRANDate: 2005-09-12 15:27:40
Subject: Re: Connection Error[Scanned]

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