pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marco Bizzarri <marco.bizzarri@gmail.com>
To: Sorin N. Ciolofan <ciolofan@ics.forth.gr>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: backup of postgres scheduled with cron
Date: Thu, 22 Nov 2007 14:51:51 +0100
Message-ID: <3f0d61c40711220551t5df61129o81b40ad13365f224@mail.gmail.com> (raw)
In-Reply-To: <20071122134618.80DF18E40FC@mailhost.ics.forth.gr>
References: <3f0d61c40711220528k32a69464j6d37c584b8e93484@mail.gmail.com>
	<20071122134618.80DF18E40FC@mailhost.ics.forth.gr>

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/



view thread (12+ messages)  latest in thread

Message-ID: <3f0d61c40711220551t5df61129o81b40ad13365f224@mail.gmail.com>
Permalink:  ../3f0d61c40711220551t5df61129o81b40ad13365f224@mail.gmail.com/
Also on:    postgresql.org/message-id/3f0d61c40711220551t5df61129o81b40ad13365f224@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: marco.bizzarri@gmail.com, ciolofan@ics.forth.gr, pgsql-general@postgresql.org
  Subject: Re: backup of postgres scheduled with cron
  In-Reply-To: <3f0d61c40711220551t5df61129o81b40ad13365f224@mail.gmail.com>
  References: <3f0d61c40711220528k32a69464j6d37c584b8e93484@mail.gmail.com> <20071122134618.80DF18E40FC@mailhost.ics.forth.gr> <3f0d61c40711220551t5df61129o81b40ad13365f224@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox