Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-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

pgsql-admin by date

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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group