pg_dump mail problem

From: "zafar rizvi" <zafar_f3(at)my(dot)web(dot)pk>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: pg_dump mail problem
Date: 2003-06-10 10:43:30
Message-ID: 01bf01c32f3d$264eb9f0$6500a8c0@f3.f3.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Browse pgsql-admin by date

  From Date Subject
Next Message Julian 2003-06-10 13:53:50 users
Previous Message Bovard Yves (DIP) 2003-06-10 09:38:00 Metadata