Re: safelly erasing dirs/files - Mailing list pgsql-general

From Bill Moran
Subject Re: safelly erasing dirs/files
Date
Msg-id 20091114143521.77becfe9.wmoran@potentialtech.com
Whole thread Raw
In response to safelly erasing dirs/files  (Joao Ferreira gmail <joao.miguel.c.ferreira@gmail.com>)
Responses Re: safelly erasing dirs/files
Re: safelly erasing dirs/files
List pgsql-general
Joao Ferreira gmail <joao.miguel.c.ferreira@gmail.com> wrote:
>
> Hello all,
>
> How can I safelly erase (with rm command in Linux) files or dirs
> concerning a specific database ?

What do you mean by this?  The typical way would be to log into the
DB server and issue DROP DATABASE x.

However, if you're looking for secure data destruction (akin to rm's -P
flag) I don't know if there is a canned method for doing so.

--
Bill Moran
http://www.potentialtech.com

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: safelly erasing dirs/files
Next
From: Greg Smith
Date:
Subject: Re: safelly erasing dirs/files