Re: Automatic Backups

From: "David A(dot) Leedom" <daleedom(at)hightowergroup(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Automatic Backups
Date: 2005-04-08 20:00:58
Message-ID: 6.1.2.0.2.20050408154416.032b0e50@mail.hightowergroup.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message goa 2005-04-09 09:46:01 postgres help
Previous Message John DeSoi 2005-04-08 19:13:19 Re: Automatic Backups