Re: Uninstalled working db by mistake

From: David Wilson <dw+pg(at)hmmz(dot)org>
To: Howard News <howardnews(at)selestial(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Uninstalled working db by mistake
Date: 2016-03-24 17:34:21
Message-ID: 20160324173421.GB1844@k3
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Howard,

So long as you haven't touched anything else, simply reinstalling the
package should restore your cluster. Debian packages only do
initialization if the data directories are missing.

David

On Thu, Mar 24, 2016 at 05:29:23PM +0000, Howard News wrote:
> Hi,
>
> I uninstalled the wrong version of postgres on Ubuntu using apt-get remove
> postgresql-9.0, convinced that this was an old unused version. You guess the
> rest...
>
> The data files still appear to be there, all 485GB of them. Can these be
> restored?
>
> Thanks.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Karsten Hilbert 2016-03-24 17:41:04 Re: Uninstalled working db by mistake
Previous Message Howard News 2016-03-24 17:29:23 Uninstalled working db by mistake