From: Nick Fankhauser <nickf@ontko.com>
To: Daniel Ostroff <dano@livingincomfort.com>
To: pgsql-admin@postgresql.org
Subject: Re: Unable to run pg_dump from crontab
Date: Tue, 18 Feb 2003 12:29:22 -0500
Message-ID: <NEBBLAAHGLEEPCGOBHDGGEAPGMAA.nickf@ontko.com> (raw)
In-Reply-To: <001201c2d6d2$6b712a90$d378c7d4@oats>
Dan-
Either create user "adam" in the database, or create the crontab entry under
a unix user that already has access to the database. I routinely run my
backups as the "postgres" user to ensure that I don't miss anything.
-Nick
-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Daniel Ostroff
Sent: Monday, February 17, 2003 5:18 PM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] Unable to run pg_dump from crontab
I'm trying to run a pg_dump under Crontab (FreeBSD is the OS).
The command line is:
/usr/home/jwilbur/usr/local/bin/pg_dump ShopCart >
~/usr/local/shopcart/backup/ShopCart.pgdump
I am getting the following message:
pg_dump: [archiver (db)] connection to database "ShopCart" failed: FATAL 1:
user "adam" does not exist
What can I do to correct this?
Thanks,
/Dan
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: nickf@ontko.com, dano@livingincomfort.com
Subject: Re: Unable to run pg_dump from crontab
In-Reply-To: <NEBBLAAHGLEEPCGOBHDGGEAPGMAA.nickf@ontko.com>
References: <001201c2d6d2$6b712a90$d378c7d4@oats> <NEBBLAAHGLEEPCGOBHDGGEAPGMAA.nickf@ontko.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