X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D771E535CA for ; Fri, 8 Apr 2005 20:55:49 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 25382-10 for ; Fri, 8 Apr 2005 19:55:43 +0000 (GMT) Received: from hightowergroup.com (mail005.readyhosting.com [63.99.209.11]) by svr1.postgresql.org (Postfix) with ESMTP id 51EB353CCD for ; Fri, 8 Apr 2005 20:55:42 +0100 (BST) Received: from hightower10.mail.hightowergroup.com [66.109.231.196] by hightowergroup.com with ESMTP (SMTPD32-8.05) id A1BB6FC00F0; Fri, 08 Apr 2005 14:55:39 -0500 Message-Id: <6.1.2.0.2.20050408154416.032b0e50@mail.hightowergroup.com> X-Sender: dleedom@hightowergroup.com@mail.hightowergroup.com X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0 Date: Fri, 08 Apr 2005 16:00:58 -0400 To: pgsql-admin@postgresql.org From: "David A. Leedom" Subject: Re: Automatic Backups In-Reply-To: <44CE610B-A862-11D9-9125-000A95B03262@pgedit.com> References: <6.1.2.0.2.20050408141156.033ae7b8@mail.hightowergroup.com> <44CE610B-A862-11D9-9125-000A95B03262@pgedit.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.933 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, RCVD_IN_XBL X-Spam-Level: * X-Archive-Number: 200504/105 X-Sequence-Number: 17118 John, Thanks for getting back to me. I found that the registry entries use a GUID product code on the final node of the registry. Is there any way to link this back to the running database? I could hard code the product codes into my backup app. If for some reason there are more than one Postgres installs on one system would there be a way to determine the product code of the database I am backing up via the connect string? (System tables/variables?) Another possibility is that I could include the pg_dump/restore utilities with the backup app and set it up to only backup databases of the correct version. Anyone have any further thoughts. Dave Leedom At 03:13 PM 4/8/2005, John DeSoi wrote: >On Apr 8, 2005, at 2:14 PM, David A. Leedom wrote: > >>Is there an easy way to find out where a the PostgreSQL bin files are >>located so I can get the pg_dump and pg_restore utilities? > >I think the installer puts this information in the registry. If you don't >get a more authoritative response, you might want to take a look at the >installer source file (a Wix xml document) for the exact registry setup. > >http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pginstaller/ > > >John DeSoi, Ph.D. >http://pgedit.com/ >Power Tools for PostgreSQL > The Hightower Group, Inc. Custom Software Solutions Designed To Fit Your Business Like A Glove. 165 West Airport Road, Suite B/Lititz, PA 17543 V:717-560-4002, 877-560-4002 x: 114 F:717-560-2825 www.hightowergroup.com