Re: Need help to restore database

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "Lori, Giancarlo" <giancarlo(dot)lori(at)eds(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Need help to restore database
Date: 2009-03-17 13:18:50
Message-ID: 20090317131850.GB4202@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Lori, Giancarlo wrote:

> A client system based on pgsql is down because the database raise an
> error message like " no left space on device". We have deleted some log
> files on this machine and after a system restart the db (and the system)
> was up&running. After two days the database has crashed again. Looking
> the postgres log there was an error on xlog file (I have inspected the
> directory pg_xlog and no files I found it). I'll try to re-build the
> xlog file with pg_resetxlog. The utilities has created a new xlog file,
> the postmaster process run, but any command pg_dump, etc I try to
> execute failed. The system respond that there are not database in the
> system.

Looks like somebody deleted critical files to get some space back.

> Can anyone help us ?

Find the most recent backup ...

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message c k 2009-03-17 13:27:35 Re: [GENERAL] different results for large objects
Previous Message Tom Lane 2009-03-17 12:43:05 Re: [GENERAL] different results for large objects