| От | Alan Hodgson |
|---|---|
| Тема | Re: Postgresql Backup |
| Дата | |
| Msg-id | 200701261211.29403@hal.simkin.ca обсуждение исходный текст |
| Ответ на | Postgresql Backup ("bala" <kbalavignesh@gmail.com>) |
| Список | pgsql-general |
On Wednesday 24 January 2007 20:57, "bala" <kbalavignesh@gmail.com> wrote: > 'script.sh' contains > > PGUSER=postgres pg_dumpall > /path/to/backup_date.sql > > Running the script using crond creates the 0 byte files. > > But , If i run the script in console , it creates the file with > content. > > Any suggestion pls? Include the full path to pg_dumpall in the script. Make sure the postgres user can connect without a password or has an appropriate .pgpass file in it's home directory. -- No matter how disastrously some government policy has turned out, anyone who criticizes it can expect to hear: 'But what would you replace it with?' When you put out a fire, what do you replace it with?
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера