Re: Transferring databases to another Server

From: Richard Huxton <dev(at)archonet(dot)com>
To: Harry Knitter <harry(at)knitter-edv-beratung(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Transferring databases to another Server
Date: 2006-03-17 13:47:26
Message-ID: 441ABDEE.8090509@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Harry Knitter wrote:
> Hello,
>
> after a crash of my 64-bit server I have set up a new server (32 bit).
> The harddsisk of the former server is now in my new server and I have access
> to the partion where the data were stored.
> I have tried the following:
> I copied the contents of /var/lib/pgsql from the old installation into the
> same directory of the new one.
> Restarting postgresql fails with the following entry in the log file:
>
> FATAL: wrong checksum in control file
>
> (the log entry I translated from German, so I don?t know if it is exact the
> same message having an English installation.)
>
> How can I fix this?

You can't just copy files between different platforms. You'll need to
use pg_restore to restore your last backup (or find another 64-bit
machine to run on).

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Randy Yates 2006-03-17 13:49:50 Table Rows Not Properly Added
Previous Message Randy Yates 2006-03-17 13:43:13 Encountering NULLS in plpgsql