Re: trouble with pg_dumpall

From: Steve Holdoway <steve(dot)holdoway(at)firetrust(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: trouble with pg_dumpall
Date: 2008-02-28 03:33:41
Message-ID: 20080228163341.e7fc28b8.steve.holdoway@firetrust.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, 27 Feb 2008 17:12:40 -0800
"Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu> wrote:

Here's your problem.
> . .bashrc

You have an extremely minimal environment when running from cron, and you certainly *aren't* running from the home directory of the relevant user. You need to set up your PATH and HOME manually, and cd to your home directory before sourcing .bashrc for this to work.

. ~/.bashrc *might* work, but it's better to be specific (:

hth,

Steve

--
Steve Holdoway <steve(dot)holdoway(at)firetrust(dot)com>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jeff Frost 2008-02-28 03:41:09 Re: trouble with pg_dumpall
Previous Message Tena Sakai 2008-02-28 03:12:34 Re: trouble with pg_dumpall