Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id EBD7C2E0054 for ; Fri, 11 Apr 2008 12:13:48 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 82764-06 for ; Fri, 11 Apr 2008 12:13:45 -0300 (ADT) X-Greylist: delayed 01:00:03.829892 by SQLgrey-1.7.5 Received: from mbox.unige.ch (mbox.unige.ch [129.194.9.209]) by developer.postgresql.org (Postfix) with ESMTP id 9C5042E0043 for ; Fri, 11 Apr 2008 12:13:45 -0300 (ADT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [129.194.44.34] by mbox.unige.ch (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0JZ500BWSZIV04L0@mbox.unige.ch> for pgsql-admin@postgresql.org; Fri, 11 Apr 2008 16:13:44 +0200 (CEST) Message-id: <47FF722D.20705@adm.unige.ch> Date: Fri, 11 Apr 2008 16:14:05 +0200 From: Baudrion Philippe Reply-to: Philippe.Baudrion@adm.unige.ch Organization: ETI - University of Geneva User-Agent: Thunderbird 1.5.0.14ubu (X11/20080306) To: pgsql-admin@postgresql.org Subject: Retore Postgres DB without dump X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200804/96 X-Sequence-Number: 28860 Hello all, I had a look at your last year archive without finding my solution, but I suppose it's a common problem. I am trying to restore an old database from their relations files, I don't have any dump, is it possible and how ? System information: Original - db: Postgres v.7.4, OS: Linux Mandriva 2006 Current - db: Postgres v.8.1.11, OS: Suse SLES10sp1 What I have tried is : - To copy the files directly in an empyty db, I got a message like this when trying to connect: "Error: wrong files version, these are 7.4 files version and you are running 8.1" - So, I have build and installed a 7.4 version of Postgres - Copy the files in an empty database - Connection was ok, but "\dt" told me "no relations found". What can I try next ? I also have the original "pg_clog" and "pg_xlog" directories, and I have also tried to replace them. What can I do with the WAL segments ? Thanks for your help, Philippe