dbTalk Databases Forums  

Have AMD64 with pg8.2. Have backup of 8.0/i32 db dir. Any ideas?

comp.databases.postgresql comp.databases.postgresql


Discuss Have AMD64 with pg8.2. Have backup of 8.0/i32 db dir. Any ideas? in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Marcin Kasperski
 
Posts: n/a

Default Have AMD64 with pg8.2. Have backup of 8.0/i32 db dir. Any ideas? - 02-16-2008 , 04:19 AM







Hello,

The problem as in the title: I am currently using some ubuntu/AMD64
with postgresql 8.2 on the board. And it just turned out that I need
to recover some data from the old database instance, which was 8.0
on intel32 (and which I have backed up as the raw dir).

Attempt to read this dir with 8.2 failed. OK, I could expect it

I downloaded pg80 sourced, compiled them and tried to serve this
database dir via newly compiled binary - but got checksum error and
after some googling found that 64-bit binary wont read 32-bit
database.

Any ideas? If I could get statically linked postgres-8.0/32-bit binary
somehow (truly statically, including statically linked libc and co),
it would work on my system and it would probably read the
database. But I am not sure how to get one...

Or maybe it is possible to convert 32-bit database to 64-bit one
somehow? Or to extract data from such database without actually
serving it?

--
----------------------------------------------------------------------
Quote:
Marcin Kasperski | The cost of a few uncorrected non-critical
http://mekk.waw.pl | human errors is less then the cost imposed
| by a process that tries to prevent them.
| (Booch,Martin,Newkirk)
----------------------------------------------------------------------


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.