X-Original-To: pgsql-admin@postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id 683859256DF for ; Mon, 26 May 2003 05:29:29 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 38440-01 for ; Mon, 26 May 2003 05:29:28 -0400 (EDT) Received: from hotmail.com (bay8-f45.bay8.hotmail.com [64.4.27.45]) by developer.postgresql.org (Postfix) with ESMTP id 71D639255A1 for ; Mon, 26 May 2003 05:29:28 -0400 (EDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 26 May 2003 02:29:28 -0700 Received: from 193.227.168.171 by by8fd.bay8.hotmail.msn.com with HTTP; Mon, 26 May 2003 09:29:27 GMT X-Originating-IP: [193.227.168.171] X-Originating-Email: [nathalieboulos@hotmail.com] From: "Nathalie Boulos" To: pgsql-admin@postgresql.org Subject: Backup passwd protected DB Date: Mon, 26 May 2003 12:29:27 +0300 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 26 May 2003 09:29:28.0203 (UTC) FILETIME=[4DE705B0:01C32369] X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/358 X-Sequence-Number: 8920 Hello, I need to backup a postgresql-7.3.2 DB with a user having a password using cron. every time i call pg_dump I get prompted for a password. It's OK if i'm running it from command line. But when i use cron, the backup couldn't be executed because no password is given. I don't want to put the password in clear text in any file for security reasons, and i don't want to grant read access to a "backup" user with no password. is there any solution to dump that database? Thanks for your help Regards Nathalie _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail