pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vishal Kashyap @ [SaiHertz] <vishalonlist@gmail.com>
To: pgsql-php@postgresql.org
Subject: PostgreSQL Backup Script
Date: Fri, 1 Apr 2005 10:24:00 +0530
Message-ID: <77b69d2105033120543ca670a7@mail.gmail.com> (raw)

Dear all,

I am stuck with database backup.
While using pg_dump the utility asks for password but since I require
this process to be automated the password prompt is giving me
headaches
is their any way by which can pass the password automatically.
Like setting up a variable in php  which passes the password to the
pg_dump utility on prompt this way the whole process of pg_dump would
get automated.
One obvious solution was to use .pgpass but it does not appeal me
because it is again a security threat.
any pointers or help may lead to unlocked secret.

-- 
With Best Regards,
Vishal Kashyap.
Lead Software Developer,
http://saihertz.com,
http://vishalkashyap.tk



view thread (5+ messages)  latest in thread

Message-ID: <77b69d2105033120543ca670a7@mail.gmail.com>
Permalink:  ../77b69d2105033120543ca670a7@mail.gmail.com/
Also on:    postgresql.org/message-id/77b69d2105033120543ca670a7@mail.gmail.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: vishalonlist@gmail.com
  Subject: Re: PostgreSQL Backup Script
  In-Reply-To: <77b69d2105033120543ca670a7@mail.gmail.com>
  References: <77b69d2105033120543ca670a7@mail.gmail.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