pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gourish Singbal <gourish@gmail.com>
To: Daniel Drotos <drdani@mazsola.iit.uni-miskolc.hu>
Cc: pgsql-admin@postgresql.org
Subject: Re: recover of data directory
Date: Mon, 29 May 2006 04:19:20 -0700
Message-ID: <674d1f8a0605290419s36d85000q1cf73e0db2a0b568@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0605291203100.26742@mazsola.iit.uni-miskolc.hu>
References: <20060510080835.C087C9F931D@postgresql.org>
	<Pine.LNX.4.61.0605291203100.26742@mazsola.iit.uni-miskolc.hu>

tough luck .. could u query the unix groups and see if u could retrive the
original filenames and directory structure ?.


On 5/29/06, Daniel Drotos <drdani@mazsola.iit.uni-miskolc.hu> wrote:
>
> Hi,
>
> During machine maintenance I've made 'rm -rf *' on postgres data
> directory by a (very stupid) mistake. Postmaster was not running that
> time.
>
> Using e2undel I dumped out contents of deleted files (3728 files have
> been deleted by that command). Because of "rm -r", sizes of recovered
> directory files are 0, so I have no filenames and directory structure.
>
> Is there any chance of recover data directory if only dumped file
> contents are available?
>
> Daniel
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
>



-- 
Best,
Gourish Singbal

view thread (5+ messages)  latest in thread

Message-ID: <674d1f8a0605290419s36d85000q1cf73e0db2a0b568@mail.gmail.com>
Permalink:  ../674d1f8a0605290419s36d85000q1cf73e0db2a0b568@mail.gmail.com/
Also on:    postgresql.org/message-id/674d1f8a0605290419s36d85000q1cf73e0db2a0b568@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 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: gourish@gmail.com, drdani@mazsola.iit.uni-miskolc.hu
  Subject: Re: recover of data directory
  In-Reply-To: <674d1f8a0605290419s36d85000q1cf73e0db2a0b568@mail.gmail.com>
  References: <20060510080835.C087C9F931D@postgresql.org> <Pine.LNX.4.61.0605291203100.26742@mazsola.iit.uni-miskolc.hu> <674d1f8a0605290419s36d85000q1cf73e0db2a0b568@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