pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: Carol Walter <walterc@indiana.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: Removing raw data files
Date: Mon, 7 Jul 2008 12:42:13 -0600
Message-ID: <dcc563d10807071142o3f6c9957jac453de4e642afab@mail.gmail.com> (raw)
In-Reply-To: <5F9D1432-42CD-4213-AF8A-138CB3B347F5@indiana.edu>
References: <5F9D1432-42CD-4213-AF8A-138CB3B347F5@indiana.edu>

On Mon, Jul 7, 2008 at 12:19 PM, Carol Walter <walterc@indiana.edu> wrote:
> Hello,
>
> I asked this question a while ago and I didn't get an answer.   Perhaps I
> asked the question in a manner that wasn't clear.  I upgraded from 8.1.3 to
> 8.2.3.  I left the 8.1.3 database intact in case I had to revert to it.  The
> 8.2.3 database is running just fine and I'd like to recover the space that
> the 8.1.3 raw data directories are consuming.  Can I just remove the raw
> data files with rm -rf on the data directory for the 8.1.3 version?  This
> may sound like a silly question but the database I worked with prior to
> postgres was MS SQL Server.  On that platform, you never know when something
> from the last version is imbedded in the new version.

The cautious sysadmin in me says to set the directory to owner root
and perms 000 so it's not accesible.  Then if something goes horribly
wrong, you've still got the original directory.  If not, after a week
or two you can delete it knowing nothing is accessing it.



view thread (4+ messages)  latest in thread

Message-ID: <dcc563d10807071142o3f6c9957jac453de4e642afab@mail.gmail.com>
Permalink:  ../dcc563d10807071142o3f6c9957jac453de4e642afab@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d10807071142o3f6c9957jac453de4e642afab@mail.gmail.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: scott.marlowe@gmail.com, walterc@indiana.edu
  Subject: Re: Removing raw data files
  In-Reply-To: <dcc563d10807071142o3f6c9957jac453de4e642afab@mail.gmail.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