Crontab problem with backup

Поиск
Список
Период
Сортировка
От Kirti
Тема Crontab problem with backup
Дата
Msg-id 4440532B.6090602@UNSWalumni.com
обсуждение исходный текст
Ответы Re: Crontab problem with backup
Re: Crontab problem with backup
Список pgsql-novice
I was trying to backup a database called "old_db".The following lines
inserted into either root crontab file or postgres crontab file failed
either to produce any output or created an empty file caled
"old_db_hr9.tgz" in the /backups/hour/ directory..

0 9 * * 1-5 postgres pg_dump --format=t old_db >
/backups/hour/old_db_hr9.tgz

0 18 * * 5 postgres pg_dump --format=t old_db >
/backups/week/old_db_friday.tgz


What logs do I need to check to find the problem? What might be a way to
test the script?



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

Предыдущее
От: Martin Foster
Дата:
Сообщение: Re: On the subject of inheritance
Следующее
От: Alan Hodgson
Дата:
Сообщение: Re: Crontab problem with backup