pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Artur Pietruk <arturp@plukwa.net>
To: gborges@radiumsystems.com.br
Cc: pgsql-admin@postgresql.org
Subject: Re: Miss of global directory
Date: Mon, 10 Mar 2003 21:05:31 +0100
Message-ID: <20030310200531.GK1941@plukwa.net> (raw)
In-Reply-To: <20030306020225.3A2136C31F@smtp.radiumsystems.com.br>
References: <20030306020225.3A2136C31F@smtp.radiumsystems.com.br>

On Wed, Mar 05, 2003 at 11:02:25PM -0300, gborges@radiumsystems.com.br wrote:
> Hi!
> 
> I lost the global directory wich contains some archives which are needed to use postgres correctly.

	I'm not sure what you mean by "global directory". You mean
you've lost binaries, etc. related to pgsql?

> Is there some way to rebuild this directory? The data directory which contains all my database information is safe.

	But, as long as you have $PGDATA, you should be safe. (But
remember to backup everything, and make sure you know what you are
doing, to not loose your DB by simple mistake/rm - be careful).

	Here is short overview of what you could try: Backup your
current $PGDATA directory. Then, reinstall postgresql (remember -
exactly the same version of PGSQL as before!). When done, new
$PGDATA dir will be created. Take postgresql down, and remove new
$PGDATA. Then, copy to that place your old, backuped $PGDATA. 

	Hope it works,
-- 
--- Artur Pietruk, arturp@plukwa.net



view thread (5+ messages)  latest in thread

Message-ID: <20030310200531.GK1941@plukwa.net>
Permalink:  ../20030310200531.GK1941@plukwa.net/
Also on:    postgresql.org/message-id/20030310200531.GK1941@plukwa.net

 · 

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: arturp@plukwa.net, gborges@radiumsystems.com.br
  Subject: Re: Miss of global directory
  In-Reply-To: <20030310200531.GK1941@plukwa.net>
  References: <20030306020225.3A2136C31F@smtp.radiumsystems.com.br> <20030310200531.GK1941@plukwa.net>

* 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