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

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: (view raw, whole thread or download thread mbox)
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 (:



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

In response to


pgsql-admin by date

Next:From: Jeff FrostDate: 2008-02-28 03:41:09
Subject: Re: trouble with pg_dumpall
Previous:From: Tena SakaiDate: 2008-02-28 03:12:34
Subject: Re: trouble with pg_dumpall

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