Re: Extract (Recover) data from a cluster built on a different architecture (ARM).

Поиск
Список
Период
Сортировка
От Cédric Villemain
Тема Re: Extract (Recover) data from a cluster built on a different architecture (ARM).
Дата
Msg-id BANLkTing8smDTjovZ6Nkg4OD03y0bC_HJg@mail.gmail.com
обсуждение исходный текст
Ответ на Extract (Recover) data from a cluster built on a different architecture (ARM).  (Phil Couling <couling@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Phil Couling
Дата:
Сообщение: Extract (Recover) data from a cluster built on a different architecture (ARM).
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Extract (Recover) data from a cluster built on a different architecture (ARM).