Re: backup of postgres scheduled with cron

From: "Marco Bizzarri" <marco(dot)bizzarri(at)gmail(dot)com>
To: "Sorin N(dot) Ciolofan" <ciolofan(at)ics(dot)forth(dot)gr>
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: backup of postgres scheduled with cron
Date: 2007-11-22 13:51:51
Message-ID: 3f0d61c40711220551t5df61129o81b40ad13365f224@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On Nov 22, 2007 2:46 PM, Sorin N. Ciolofan <ciolofan(at)ics(dot)forth(dot)gr> wrote:
> Hi Marco!
>
> Thank you for the advice.
>
> I got:
>
> /home/swkm/services/test/backup.sh: line 4: pg_dump: command not found
> updating: mydb_dump_22-11-07.out (stored 0%)
>
> which seems strange
>
>

Try putting the full path of the pg_dump command in the script.

Regards
Marco

--
Marco Bizzarri
http://iliveinpisa.blogspot.com/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Andrew Sullivan 2007-11-22 13:53:18 Re: backup of postgres scheduled with cron
Previous Message jef.peeraer 2007-11-22 13:50:07 Re: backup of postgres scheduled with cron

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2007-11-22 13:53:18 Re: backup of postgres scheduled with cron
Previous Message jef.peeraer 2007-11-22 13:50:07 Re: backup of postgres scheduled with cron