Re: Cronjob to autobackup database

From: Spike Grobstein <spike(at)ticketevolution(dot)com>
To: teyking2003 <tchongking(at)hotmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Cronjob to autobackup database
Date: 2012-12-05 13:35:39
Message-ID: 8288C925-35CA-463F-98D5-C6051ADAF55D@ticketevolution.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)hotmail(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message teyking2003 2012-12-06 00:39:15 Re: Cronjob to autobackup database
Previous Message arunpadule@gmail.com 2012-12-05 06:32:14 Re: Cronjob to autobackup database