Re: Recovery after server crash

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Recovery after server crash
Дата
Msg-id 20051023175131.GB11267@svana.org
обсуждение исходный текст
Ответ на Recovery after server crash  (Chris <postgresql@cmulcahy.com>)
Список pgsql-general
On Sun, Oct 23, 2005 at 12:31:33PM -0500, Chris wrote:
> Good afternoon, all:
>
> I recently experienced a server crash.  I have a backup of my Postgesql
> data directory.
>
> On rebuilding my machine, I decided to go with i386 instead of my
> original AMD64.  That means I now have a newer version of Postgresql
> available to me.  My original was 7.4 and my new is 8.0.3.
>
> How can I get my data from this 7.4 data directory into my 8.0.3 fresh
> install?

You can't. In general the raw data structures are not portable between
versions and *definitly* not portable between architechtures.

You need to install the original version, pg_dump the data and then
load that into your new version...

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: out of memory for query result
Следующее
От: Steve V
Дата:
Сообщение: Re: Transaction IDs not the same in same transaction?