pg_dump mail problem

Поиск
Список
Период
Сортировка
От zafar rizvi
Тема pg_dump mail problem
Дата
Msg-id 01bf01c32f3d$264eb9f0$6500a8c0@f3.f3.net
обсуждение исходный текст
Список 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


В списке pgsql-admin по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: link servers
Следующее
От: Karien
Дата:
Сообщение: Postgres Size-limit