pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Mattarollo <bruno@web1.greenpeace.org>
To: pgsql-admin@postgresql.org
Subject: Re: [URGENT] Problems recovering database
Date: Wed, 14 May 2003 22:42:00 +0200 (CEST)
Message-ID: <Pine.LNX.4.33.0305142240270.17455-100000@web1.greenpeace.org> (raw)
In-Reply-To: <000f01c31a5b$fa923da0$0564a8c0@shock>

Hello Bjoern,

Thanks for the tip. It worked to start the DB but when I issue:

psql -l

I can't see my databases :( Sorry for being such a pain but I am no
postgresql expert and I really need to recover these databases.

I know, "where's the backup" ... I wonder the same ... :((

/B

On Wed, 14 May 2003, Björn Metzdorf wrote:

> > It complains
> >
> > DEBUG:  open of /usr2/pgsql/data/pg_xlog/0000000000000000 (log file 0,
> > segment 0) failed: No such file or directory
> > DEBUG:  invalid primary checkpoint record
> > DEBUG:  open of /usr2/pgsql/data/pg_xlog/0000000000000000 (log file 0,
> > segment 0) failed: No such file or directory
> > DEBUG:  invalid secondary checkpoint record
> >
> > But these files were not present in the 'data' directory from this
> > server, only these:
> >
> > $ ls
> > 00000010000000B7  00000010000000B8  00000010000000B9  00000010000000BA
> > 00000010000000BB  00000010000000BC  00000010000000BD  00000010000000BE
> >
> > Any ideas on how should I proceed?
>
> try pg_resetxlog from contrib.
>
> Regards,
> Bjoern
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

-- 

--- Bruno Mattarollo <bruno@web1.greenpeace.org> ---
    SysAdmin & TechLead - Greenpeace International
    http://www.greenpeace.org/
----------------------------------------------------





view thread (7+ messages)  latest in thread

Message-ID: <Pine.LNX.4.33.0305142240270.17455-100000@web1.greenpeace.org>
Permalink:  ../Pine.LNX.4.33.0305142240270.17455-100000@web1.greenpeace.org/
Also on:    postgresql.org/message-id/Pine.LNX.4.33.0305142240270.17455-100000@web1.greenpeace.org

 · 

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: bruno@web1.greenpeace.org
  Subject: Re: [URGENT] Problems recovering database
  In-Reply-To: <Pine.LNX.4.33.0305142240270.17455-100000@web1.greenpeace.org>
  References: <000f01c31a5b$fa923da0$0564a8c0@shock> <Pine.LNX.4.33.0305142240270.17455-100000@web1.greenpeace.org>

* 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