Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id BE7C22E0053 for ; Thu, 22 Nov 2007 09:52:00 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 70637-01-9 for ; Thu, 22 Nov 2007 09:51:43 -0400 (AST) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by postgresql.org (Postfix) with ESMTP id 30C862E004B for ; Thu, 22 Nov 2007 09:51:53 -0400 (AST) Received: by wx-out-0506.google.com with SMTP id r21so960671wxc for ; Thu, 22 Nov 2007 05:51:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=s0db5I78yaIkabs71QLiSkXOannKpwtOcs2h3kz6+zU=; b=J5h50Lkrz4js1mSelCns7qvzNv0abqOgzzrHTF116d8wh5Ppc2eHuJxhBWVU0IxBntKHq0wC1Wr3m4c6GwT6qjbrUsMa698qhwq048k+BkpDZy9AvZQfnm35Z9vh2ka/v/6lH5iGP4cB85MkQ08W9DqsZsGfcqZfWstGAQp3ZAE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CtgGzrbm8vQ1ws53CFYotnqjXFqIIHYmwnXbMUYZWov6KsQvC5ebL+Y6Cpt46OHdFJfUI2IHN5BwbitzmrXfpu9rdX0N/E4nKBAnHYCr+BKiQOhmv8Ob6DwRf/w/NW+qsooqI//ho6HAe4vtPK/s8/ci+pdz6cUC6ba4TtOFcSM= Received: by 10.70.42.9 with SMTP id p9mr7084313wxp.1195739511837; Thu, 22 Nov 2007 05:51:51 -0800 (PST) Received: by 10.70.29.8 with HTTP; Thu, 22 Nov 2007 05:51:51 -0800 (PST) Message-ID: <3f0d61c40711220551t5df61129o81b40ad13365f224@mail.gmail.com> Date: Thu, 22 Nov 2007 14:51:51 +0100 From: "Marco Bizzarri" To: "Sorin N. Ciolofan" Subject: Re: backup of postgres scheduled with cron Cc: pgsql-admin@postgresql.org, pgsql-general@postgresql.org In-Reply-To: <20071122134618.80DF18E40FC@mailhost.ics.forth.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3f0d61c40711220528k32a69464j6d37c584b8e93484@mail.gmail.com> <20071122134618.80DF18E40FC@mailhost.ics.forth.gr> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/194 X-Sequence-Number: 27437 On Nov 22, 2007 2:46 PM, Sorin N. Ciolofan 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/