Re: Create Linux Script for PostgreSQL database backup

Поиск
Список
Период
Сортировка
От Geoffrey
Тема Re: Create Linux Script for PostgreSQL database backup
Дата
Msg-id 4136EE84.8040001@3times25.net
обсуждение исходный текст
Ответ на Re: Create Linux Script for PostgreSQL database backup  (Kaolin Fire <cognosco@tentacle.net>)
Ответы Re: Create Linux Script for PostgreSQL database backup  (Sandro Garoffolo <sandro.garoffolo@unito.it>)
Список pgsql-admin
Kaolin Fire wrote:
> For that matter:
>
> echo "1   3   *   *   *   postgres   /usr/local/bin/pg_dumpall >
> ~/backup.sql" >> /etc/crontab
>
> note to remember the two >>'s so you don't obliterate your crontab like
> I just did.

Unless things have changed, and they might have, you have to tell cron
to reread the crontab file for it to process your addition.  Your better
solution is to use the tools designed for editing crontab, such as
'crontab -e.'  If you use this tool, crontab will automagically reread
the file.

--
Until later, Geoffrey       Registered Linux User #108567
                             AT&T Certified UNIX System Programmer - 1995

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Help understanding locale
Следующее
От: Sandro Garoffolo
Дата:
Сообщение: Re: Create Linux Script for PostgreSQL database backup