X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 8A947D1B9A4 for ; Thu, 6 Nov 2003 11:09:59 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 52485-05 for ; Thu, 6 Nov 2003 07:09:30 -0400 (AST) Received: from lighthouse.MplusB.de (lighthouse.MplusB.de [193.102.49.10]) by svr1.postgresql.org (Postfix) with ESMTP id 5EA47D1B54F for ; Thu, 6 Nov 2003 07:09:26 -0400 (AST) Received: from [193.102.49.130] (helo=compass.MplusB.de) by lighthouse.MplusB.de with esmtp (Exim 3.35 #1 (Debian)) id 1AHi11-0005BJ-00 for ; Thu, 06 Nov 2003 12:09:27 +0100 Received: from MplusB.de (gerd@sloop.MplusB.de [193.102.49.177]) by compass.MplusB.de (8.9.3p2/8.9.3/Debian 8.9.3-21) with ESMTP id MAA11690 for ; Thu, 6 Nov 2003 12:09:27 +0100 X-Authentication-Warning: compass.MplusB.de: Host gerd@sloop.MplusB.de [193.102.49.177] claimed to be MplusB.de Message-ID: <3FAA2BE6.6000500@MplusB.de> Date: Thu, 06 Nov 2003 12:09:26 +0100 From: Gerd Terlutter User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.2) Gecko/20030401 Debian/1.0.2-2 X-Accept-Language: de-de MIME-Version: 1.0 To: pgsql-php@postgresql.org Subject: pg_dump + cronjob Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/11 X-Sequence-Number: 2404 Hi list, i've written a script for dumping several databases (mysql + PG), and it runs fine. But now i have the problem to convert it into a cron script. how can i run pg_dump with password? i found nothing in the manpages about pg login and passwords, e.g. on mysql i can use --password=xxx. any ideas how todo this? Greetings, Gerd -- -------------------------------------------------------- # Gerd Terlutter | Mueller+Blanck Software GmbH # # Gutenbergring 38 | D-22848 Norderstedt # # office:+49 40 500 171-1| fax:+49 40 500 171-71 # --------------------------------------------------------