Re: Extract (Recover) data from a cluster built on a different architecture (ARM). - Mailing list pgsql-general

From Cédric Villemain
Subject Re: Extract (Recover) data from a cluster built on a different architecture (ARM).
Date
Msg-id BANLkTing8smDTjovZ6Nkg4OD03y0bC_HJg@mail.gmail.com
Whole thread Raw
In response to Extract (Recover) data from a cluster built on a different architecture (ARM).  (Phil Couling <couling@gmail.com>)
List pgsql-general
2011/4/24 Phil Couling <couling@gmail.com>:
> Hi
>
> I'm looking for a way to extract the data from a PostgreSQL 8.3.14
> database (cluster) that was built using an an ARM/Linux server.  The
> problem is that the hardware itself is a brick and the replacement
> hardware will be X86/AMD64.
>
> Sadly my backups are all copies of the DB files and don't include a
> recent text based dump (fail!).  All attempts so far to start up a
> server using the original files have failed with a couple of different
> errors (Failed to parse...).  I'm rapidly coming to the conclusion
> that this is to do with endianness.  X86 is little endian whereas ARM
> is primarily big endian.

I would test with qemu to get a virtualized ARM then install
postgresql and dump the data.

>
> Are there any tools for recovering data from a database built with a
> different architecture or is my data toast unless I can lay my hands
> on an ARM box?

I don't think it exists one

>
> Thanks so much for your time.
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>



--
Cédric Villemain               2ndQuadrant
http://2ndQuadrant.fr/     PostgreSQL : Expertise, Formation et Support

pgsql-general by date:

Previous
From: Phil Couling
Date:
Subject: Extract (Recover) data from a cluster built on a different architecture (ARM).
Next
From: Tom Lane
Date:
Subject: Re: Extract (Recover) data from a cluster built on a different architecture (ARM).