pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dario <dario_d_s@unitech.com.ar>
To: FM <dist-list@lexum.umontreal.ca>
To: Mailing List Postgres-Admin <pgsql-admin@postgresql.org>
Subject: Re: install new version of Redhat without deleting /var/lib/pgsql ? Is it enough ?
Date: Wed, 19 Oct 2005 13:22:31 -0300
Message-ID: <MHEDJHCKDNOEHJKHIOCJMEMKCIAA.dario_d_s@unitech.com.ar> (raw)
In-Reply-To: <43566A7D.9010001@lexum.umontreal.ca>

The new version will update your postgresql packages. It shouldn't wipe your data files, since /etc/init.d/postgresql script checks if there are data in the specified directory. Then you must erase those postgresql (rpm -qa|grep postgres will list packages installed), and install yours.

But, if new subversion is the same (example 7._4_.8 and 7._4_.9 but it's and unchecked and probably not real example), the script could run and the engine will run (it won't delete your files).

I would perform a backup anyway.

-----Mensaje original-----
De: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org]En nombre de FM
Enviado el: miƩrcoles, 19 de octubre de 2005 12:47
Para: Mailing List Postgres-Admin
Asunto: [ADMIN] install new version of Redhat without deleting
/var/lib/pgsql ? Is it enough ?


Hello erverybody,
I need to install a new version of Redhat on my server.
On the distro, pgsql data are in : /var/lib/pgsql (which is mounted on 
its own partition).
Can I "just" install the new version of Redhat, reinstall the same 
version of Postgresql (7.4.8) ?
I'll do a pgdump all just in case

Thanks !

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq




view thread (4+ messages)  latest in thread

Message-ID: <MHEDJHCKDNOEHJKHIOCJMEMKCIAA.dario_d_s@unitech.com.ar>
Permalink:  ../MHEDJHCKDNOEHJKHIOCJMEMKCIAA.dario_d_s@unitech.com.ar/
Also on:    postgresql.org/message-id/MHEDJHCKDNOEHJKHIOCJMEMKCIAA.dario_d_s@unitech.com.ar

 · 

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: dario_d_s@unitech.com.ar, dist-list@lexum.umontreal.ca
  Subject: Re: install new version of Redhat without deleting /var/lib/pgsql ? Is it enough ?
  In-Reply-To: <MHEDJHCKDNOEHJKHIOCJMEMKCIAA.dario_d_s@unitech.com.ar>
  References: <43566A7D.9010001@lexum.umontreal.ca> <MHEDJHCKDNOEHJKHIOCJMEMKCIAA.dario_d_s@unitech.com.ar>

* 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