Re: backup of postgres scheduled with cron - Mailing list pgsql-admin

From Marco Bizzarri
Subject Re: backup of postgres scheduled with cron
Date
Msg-id 3f0d61c40711220551t5df61129o81b40ad13365f224@mail.gmail.com
Whole thread Raw
In response to Re: backup of postgres scheduled with cron  ("Sorin N. Ciolofan" <ciolofan@ics.forth.gr>)
List pgsql-admin
On Nov 22, 2007 2:46 PM, Sorin N. Ciolofan <ciolofan@ics.forth.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/

pgsql-admin by date:

Previous
From: "Sorin N. Ciolofan"
Date:
Subject: Re: backup of postgres scheduled with cron
Next
From: Andrew Sullivan
Date:
Subject: Re: backup of postgres scheduled with cron