Skip site navigation (1) Skip section navigation (2)

Re: restore database from bare files

From: jehan-free <jehan(dot)procaccia(at)free(dot)fr>
To: Martin Fandel <martin(dot)fandel(at)alphyra-evs(dot)de>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: restore database from bare files
Date: 2005-06-30 10:57:18
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
OK, I'am not yet at restarting postgres .. but if at get pb then I check 
that , thanks !
For now , How can I tell from the bare file the mapping between a 
database name and the number appearing in /var/lib/pgsql/base directory
I have :
so I made the assumption that 1 is a database (probably the test initial 
database ?), 16975 is an other one and 16980 a tird one ! How can I find 
the map from  these numbers to database name ?
Martin Fandel wrote:

>Maybe you must reset the WAL's
>( )
>after restoring from tarball if postgres doesn't start.
>Am Donnerstag, den 30.06.2005, 07:34 +0200 schrieb jehan:
>>So I must one way or another run a 7.3, restore the file from the 
>>tarball as is (just put them back to /var/lib/pgsql), the databases 
>>should be running correctly then (?), then pg_dump it , upgrade to 7.4 
>>and restore from the pg_dump .
>>before running in all this (and I still don't know how I will be able to 
>>get a 7.3 on RHEL4 ... ?) is that the correct procedure ?
>yes, this is the correct way :).
>---------------------------(end of broadcast)---------------------------
>TIP 9: In versions below 8.0, the planner will ignore your desire to
>       choose an index scan if your joining column's datatypes do not
>       match

In response to


pgsql-admin by date

Next:From: Hannes DorbathDate: 2005-06-30 11:26:11
Subject: Re: unicode
Previous:From: Peter EisentrautDate: 2005-06-30 10:54:06
Subject: Re: unicode

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group