pg_dump automatic

Поиск
Список
Период
Сортировка
От Enrico Comini
Тема pg_dump automatic
Дата
Msg-id PPEOLEBLEGFKDAOCDMLHEEOOHMAA.algobit@ALGOBIT.COM
обсуждение исходный текст
Ответы Re: pg_dump automatic  (Andrew Sullivan <andrew@libertyrms.info>)
Список pgsql-general
Dear friends,
my problem is to make automatic dump of a database.
I have a .backup.sh file for dump containing:

#! bin/sh
pg_dump -U user database > dump.txt

I have a password on the database, so when the file is executed it prompt
for the password.
I try :
pg_dump < passfile -U user database > dump.txt
pg_dump -U user database < -passfile > dump.txt

but is the same.
How I have to do ? THANKS

Enrico



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

Предыдущее
От: Joseph Shraibman
Дата:
Сообщение: Re: I was spoiled by the MySQL timestamp field
Следующее
От: Dennis Gearon
Дата:
Сообщение: Re: ORDER BY 'criteria'