pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David A. Leedom <daleedom@hightowergroup.com>
To: pgsql-admin@postgresql.org
Subject: Re: Automatic Backups
Date: Fri, 08 Apr 2005 16:00:58 -0400
Message-ID: <6.1.2.0.2.20050408154416.032b0e50@mail.hightowergroup.com> (raw)
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>

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  




view thread (6+ messages)  latest in thread

Message-ID: <6.1.2.0.2.20050408154416.032b0e50@mail.hightowergroup.com>
Permalink:  ../6.1.2.0.2.20050408154416.032b0e50@mail.hightowergroup.com/
Also on:    postgresql.org/message-id/6.1.2.0.2.20050408154416.032b0e50@mail.hightowergroup.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: daleedom@hightowergroup.com
  Subject: Re: Automatic Backups
  In-Reply-To: <6.1.2.0.2.20050408154416.032b0e50@mail.hightowergroup.com>
  References: <6.1.2.0.2.20050408141156.033ae7b8@mail.hightowergroup.com> <44CE610B-A862-11D9-9125-000A95B03262@pgedit.com> <6.1.2.0.2.20050408154416.032b0e50@mail.hightowergroup.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox