Re: Cronjob to autobackup database

Поиск
Список
Период
Сортировка
От Spike Grobstein
Тема Re: Cronjob to autobackup database
Дата
Msg-id 8288C925-35CA-463F-98D5-C6051ADAF55D@ticketevolution.com
обсуждение исходный текст
Ответ на Re: Cronjob to autobackup database  (teyking2003 <tchongking@hotmail.com>)
Список pgsql-admin
Ahh. When you said "root" I thought you meant "/".  Yes, if in /root, then /root/autopgdump.sh

You must specify absolute path in cron.



...spike
(Sent via handheld, please pardon spelling errors)

On Dec 4, 2012, at 7:48 PM, teyking2003 <tchongking@hotmail.com> wrote:

> so if i putting the .SH files under root directory
> the cronjob will look similar like
> 30 09 * * * /root/autopgdump.sh
>
> please advice?
>
>
>
> --
> View this message in context:
http://postgresql.1045698.n5.nabble.com/Cronjob-to-autobackup-database-tp5734873p5735088.html
> Sent from the PostgreSQL - admin mailing list archive at Nabble.com.
>
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin


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

Предыдущее
От: "arunpadule@gmail.com"
Дата:
Сообщение: Re: Cronjob to autobackup database
Следующее
От: teyking2003
Дата:
Сообщение: Re: Cronjob to autobackup database