Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 22D8E1337B8C for ; Wed, 9 Mar 2011 10:08:58 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 30283-01; Wed, 9 Mar 2011 14:08:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pw0-f46.google.com (mail-pw0-f46.google.com [209.85.160.46]) by mail.postgresql.org (Postfix) with ESMTP id 27E2F1337B82; Wed, 9 Mar 2011 10:08:46 -0400 (AST) Received: by pwi15 with SMTP id 15so139426pwi.19 for ; Wed, 09 Mar 2011 06:08:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=UOkDC8/C7lcZ6lVmHwJfehUye8JZxs6mFv5E6ugUbP8=; b=QUb+6RDnEA3js4EUIlHBosEN75NtMkxlO9PutK/2//NOHAvyHej8+trNdGNcABpEGD aGCaox4hvzjPfSeHloyZ0B84I/AmUBFs4IgWfdagqoAkNcl+z2sF1gOodj6x3Kk2lhs3 s19KyCu59IJemavYNbC25V7Mi4HPq9uB3sOFs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=kiZQnxEASgTKZTksSiy7hJr+hpOGq7kxBb99WH/wJZgpN56n8A++/AcxNegm3vpHla 4ViIL8nDpIT1AltuD3fucDVQlijAmkaK/XT3YBmZIOpWzol+UYzJnnE7lc2OewYGowee EPQnxEMHHySbN+XuyJ0UD/PbLaLRGZGJGiSkI= Received: by 10.142.165.21 with SMTP id n21mr5474648wfe.310.1299679726985; Wed, 09 Mar 2011 06:08:46 -0800 (PST) Received: from [172.24.35.132] ([121.241.184.140]) by mx.google.com with ESMTPS id d35sm2478127wfj.9.2011.03.09.06.08.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Mar 2011 06:08:45 -0800 (PST) Subject: Re: FW: backup using pg_dump postgreSQL 8.3.8 Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=windows-1252 From: Vibhor Kumar In-Reply-To: <10E646CF2170984794256AC2DD2C065C6BA882@Mcw-BS-Mail.mpdc.mcw.co.il> Date: Wed, 9 Mar 2011 19:40:06 +0530 Cc: , Content-Transfer-Encoding: quoted-printable Message-Id: <1F229316-6442-4E01-8254-CDBF7B84485F@gmail.com> References: <10E646CF2170984794256AC2DD2C065C6BA882@Mcw-BS-Mail.mpdc.mcw.co.il> To: Sandy Test X-Mailer: Apple Mail (2.1082) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001 X-Spam-Level: X-Archive-Number: 201103/97 X-Sequence-Number: 36969 On Mar 9, 2011, at 7:28 PM, Sandy Test wrote: >=20 > We have postgreSQL 8.3.8 installed on a windows 8 server (64 bit). >=20 > We want to be able to run a nightly backup using the pg_dump command. > Unfortunately, even with the pg_hba.conf fix of adding host postgres =85= trust, > It still asks for a password. >=20 > 1. Is this a 64bit issue? If the server was 32bit, would it not ask = for a password?=20 I haven;t seen issue with PG 8.3.8 Please share pg_hba.conf file entry. > 2. Is there a way of running a dos script that would run the pg_dump = providing a password when prompted?=20 Include following in dos script. set PGPASSWORD=3D Or you can use pgpass.conf file option. > 3. Is there a way of running the pg_dump with a user that doesn't have = a password?=20 For that user, you have to mention trust with hostname in pg_hba.conf Thanks & Regards, Vibhor Kumar vibhor.aim@gmail.com Blog:http://vibhork.blogspot.com