pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: zafar rizvi <zafar_f3@my.web.pk>
To: pgsql-admin@postgresql.org
Subject: pg_dump mail problem
Date: Tue, 10 Jun 2003 15:43:30 +0500
Message-ID: <01bf01c32f3d$264eb9f0$6500a8c0@f3.f3.net> (raw)

hi sir
 i am using postgres on linux 7.2.
i am trying to get backup of databases from postgtres throuhg shell script.

i installed the postgres as default installation. and login as
> su postgres
<bash>psql mails
so now problem is that when i am writing a shell script, that script must
postgres user to run bcz postgres can get the backup of database.
when i start shell script it comes out from shell scipt to <bash> prompt
where i specify
pg_dump  ??? >  <filename>
then got error.....
so plz give me little idea how can i do it with shell script, as i have test
it manually but it works fine in manual checking.


waiting for ur reply;
thanks
zfar




Message-ID: <01bf01c32f3d$264eb9f0$6500a8c0@f3.f3.net>
Permalink:  ../01bf01c32f3d$264eb9f0$6500a8c0@f3.f3.net/
Also on:    postgresql.org/message-id/01bf01c32f3d$264eb9f0$6500a8c0@f3.f3.net

 · 

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-admin@postgresql.org
  Cc: zafar_f3@my.web.pk
  Subject: Re: pg_dump mail problem
  In-Reply-To: <01bf01c32f3d$264eb9f0$6500a8c0@f3.f3.net>
  References: <01bf01c32f3d$264eb9f0$6500a8c0@f3.f3.net>

* 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