pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: enzo venegas palacios <enzovenegas@mixmail.com>
To: pgsql-php@postgresql.org <pgsql-php@postgresql.org>
Subject: pg_dump
Date: Mon, 12 Sep 2005 11:56:37 -0500
Message-ID: <E1EErbh-00080u-00@relay.mixmail.com> (raw)


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



view thread (7+ messages)  latest in thread

Message-ID: <E1EErbh-00080u-00@relay.mixmail.com>
Permalink:  ../E1EErbh-00080u-00@relay.mixmail.com/
Also on:    postgresql.org/message-id/E1EErbh-00080u-00@relay.mixmail.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-php@postgresql.org
  Cc: enzovenegas@mixmail.com
  Subject: Re: pg_dump
  In-Reply-To: <E1EErbh-00080u-00@relay.mixmail.com>
  References: <E1EErbh-00080u-00@relay.mixmail.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