X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 281864759AF for ; Tue, 18 Feb 2003 12:31:50 -0500 (EST) Received: from shire.ontko.com (shire.ontko.com [199.164.165.1]) by postgresql.org (Postfix) with ESMTP id 94E1D475957 for ; Tue, 18 Feb 2003 12:31:49 -0500 (EST) Received: from nick (bilbo.ontko.com [199.164.165.101]) by shire.ontko.com (8.12.6/8.12.6/Debian-6Woody) with SMTP id h1IHVmpq016023; Tue, 18 Feb 2003 12:31:49 -0500 Reply-To: From: "Nick Fankhauser" To: "Daniel Ostroff" , Subject: Re: Unable to run pg_dump from crontab Date: Tue, 18 Feb 2003 12:29:22 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <001201c2d6d2$6b712a90$d378c7d4@oats> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/291 X-Sequence-Number: 7489 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