Received: from yoyo.poznan.mtl.pl ([213.77.113.3]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eADGN6s78442 for ; Mon, 13 Nov 2000 11:23:12 -0500 (EST) (envelope-from mazek@yoyo.poznan.mtl.pl) Received: by yoyo.poznan.mtl.pl (Postfix, from userid 1000) id 655DF16843; Mon, 13 Nov 2000 17:21:50 +0100 (CET) Date: Mon, 13 Nov 2000 17:21:50 +0100 From: Marcin Mazurek To: pgsql-admin@postgresql.org Subject: dump and authentication Message-ID: <20001113172150.C28065@poznan.mtl.pl> Mail-Followup-To: pgsql-admin@postgresql.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i Organization: Multinet S.A. X-Archive-Number: 200011/80 X-Sequence-Number: 89 Hi, I'm wondering how are You doing backups with password protected database? I've setup such lines in ph_hba.conf ocal all password host all 127.0.0.1 255.255.255.255 password not to allow get to any db without authorization. But now I have a problem how to dump a db with cron. pg_dump requires me to type a username and login. How to do a dump even as pg_superuser without authorization? tia mazek Marcin Mazurek -- Kierownik Działu Systemowego MULTINET SA o/Poznan http://www.multinet.pl/