Re: trouble with pg_dumpall - Mailing list pgsql-admin

From Steve Holdoway
Subject Re: trouble with pg_dumpall
Date
Msg-id 20080228163341.e7fc28b8.steve.holdoway@firetrust.com
Whole thread Raw
In response to trouble with pg_dumpall  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
List pgsql-admin
On Wed, 27 Feb 2008 17:12:40 -0800
"Tena Sakai" <tsakai@gallo.ucsf.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
directoryof 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.holdoway@firetrust.com>

pgsql-admin by date:

Previous
From: "Tena Sakai"
Date:
Subject: Re: trouble with pg_dumpall
Next
From: Jeff Frost
Date:
Subject: Re: trouble with pg_dumpall